summaryrefslogtreecommitdiffstats
path: root/recipes-core/classpath/classpath-0.98/fix-gmp.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2011-11-12 20:58:34 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2011-11-26 23:41:44 +0100
commit57e069cde6617f00ca8834a82c6f360af43d5067 (patch)
tree48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/classpath/classpath-0.98/fix-gmp.patch
downloadmeta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz
meta-java: initial commit
* taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native
Diffstat (limited to 'recipes-core/classpath/classpath-0.98/fix-gmp.patch')
-rw-r--r--recipes-core/classpath/classpath-0.98/fix-gmp.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath-0.98/fix-gmp.patch b/recipes-core/classpath/classpath-0.98/fix-gmp.patch
new file mode 100644
index 0000000..3f0dfbe
--- /dev/null
+++ b/recipes-core/classpath/classpath-0.98/fix-gmp.patch
@@ -0,0 +1,19 @@
1---
2 configure.ac | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5--- classpath-0.98.orig/configure.ac
6+++ classpath-0.98/configure.ac
7@@ -766,11 +766,11 @@ if test "x${COMPILE_JNI}" = xyes; then
8 dnl __gmpz_mul_si for earlier versions (>= 3.1).
9 dnl IMPORTANT: if you decide to look for __gmpz_combit, don't forget to
10 dnl change the name of the corresponding ac_ variable on lines 860...
11 if test "x${COMPILE_GMP}" = xyes; then
12 AC_CHECK_LIB(gmp, __gmpz_mul_si,
13- [GMP_CFLAGS=-I/usr/include
14+ [GMP_CFLAGS=
15 GMP_LIBS=-lgmp ],
16 [GMP_CFLAGS=
17 GMP_LIBS= ])
18 AC_SUBST(GMP_CFLAGS)
19 AC_SUBST(GMP_LIBS)