summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/gmp.recipe5
-rw-r--r--recipes/gmp/0001-Use-results-from-configure-script-for-read-only-data.patch25
2 files changed, 29 insertions, 1 deletions
diff --git a/recipes/gmp.recipe b/recipes/gmp.recipe
index 2bbab712..c73e43c4 100644
--- a/recipes/gmp.recipe
+++ b/recipes/gmp.recipe
@@ -4,8 +4,11 @@ import shutil
class Recipe(recipe.Recipe):
name = 'gmp'
- version = '5.0.5'
+ version = '5.1.3'
+ url = 'http://gmplib.org/download/gmp/gmp-5.1.3.tar.xz'
+ stype = SourceType.TARBALL
licenses = [License.LGPLv3Plus]
+ patches = ['gmp/0001-Use-results-from-configure-script-for-read-only-data.patch']
files_libs = ['libgmp']
files_devel = ['include/gmp.h']
diff --git a/recipes/gmp/0001-Use-results-from-configure-script-for-read-only-data.patch b/recipes/gmp/0001-Use-results-from-configure-script-for-read-only-data.patch
new file mode 100644
index 00000000..8414a520
--- /dev/null
+++ b/recipes/gmp/0001-Use-results-from-configure-script-for-read-only-data.patch
@@ -0,0 +1,25 @@
+From 7be527b3a38124ef4bc14dc01f49a7297d9c8063 Mon Sep 17 00:00:00 2001
+From: Andoni Morales Alastruey <ylatuya@gmail.com>
+Date: Fri, 22 Feb 2013 11:54:57 +0100
+Subject: [PATCH] Use results from configure script for read-only data sections
+
+---
+ mpn/arm/invert_limb.asm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mpn/arm/invert_limb.asm b/mpn/arm/invert_limb.asm
+index d717404..4a0e8aa 100644
+--- a/mpn/arm/invert_limb.asm
++++ b/mpn/arm/invert_limb.asm
+@@ -44,7 +44,7 @@ PROLOGUE(mpn_invert_limb)
+ bx lr
+ EPILOGUE()
+
+- .section .rodata
++ RODATA
+ ALIGN(2)
+ approx_tab:
+ .short 0xffc0,0xfec0,0xfdc0,0xfcc0,0xfbc0,0xfac0,0xfa00,0xf900
+--
+1.9.0
+