summaryrefslogtreecommitdiff
path: root/lang/kaffe/patches
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2000-09-13 16:53:56 +0000
committerwennmach <wennmach@pkgsrc.org>2000-09-13 16:53:56 +0000
commitc2c3247b8e5e7835ff0bb57b274609ecc9c4b60d (patch)
tree26a0395bc943492c6a36092e708238cb1002d964 /lang/kaffe/patches
parent7d3c1e207b65a5890e104560f28b11579480cdb9 (diff)
downloadpkgsrc-c2c3247b8e5e7835ff0bb57b274609ecc9c4b60d.tar.gz
Kaffe now builds even if gmp>=3.0.0 is installed; it now depends on gmp.
Fixes PR 11003 by ... who the hell was that nerd ... ahh: Lex Wennmacher.
Diffstat (limited to 'lang/kaffe/patches')
-rw-r--r--lang/kaffe/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/kaffe/patches/patch-aa b/lang/kaffe/patches/patch-aa
new file mode 100644
index 00000000000..3023567c866
--- /dev/null
+++ b/lang/kaffe/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.7 2000/09/13 16:53:57 wennmach Exp $
+
+We need to add a #define since mpz_add is really only a macro expanding
+to __gmpz_add.
+
+--- configure.orig Mon Oct 18 07:23:53 1999
++++ configure Wed Sep 13 18:17:53 2000
+@@ -3434,6 +3434,7 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 3436 "configure"
+ #include "confdefs.h"
++#define mpz_add __gmpz_add
+ /* Override any gcc2 internal prototype to avoid an error. */
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */