diff options
author | wiz <wiz> | 2000-08-25 13:37:50 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-08-25 13:37:50 +0000 |
commit | 73a5b2d113a11c0dc0a4981266f304fd850c39b5 (patch) | |
tree | 7e53fcfa9728c7d7a05463f3c294bfad816f3adf /lang | |
parent | f6b43f495456989401eae1201b936fd43bb57f4b (diff) | |
download | pkgsrc-73a5b2d113a11c0dc0a4981266f304fd850c39b5.tar.gz |
Fix compilation on ELF. Patches provided by Alistair Crooks. (Thanks, Al!)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gprolog/files/patch-sum | 5 | ||||
-rw-r--r-- | lang/gprolog/patches/patch-aa | 4 | ||||
-rw-r--r-- | lang/gprolog/patches/patch-an | 16 |
3 files changed, 21 insertions, 4 deletions
diff --git a/lang/gprolog/files/patch-sum b/lang/gprolog/files/patch-sum index 5d692972977..d367e1bb8d5 100644 --- a/lang/gprolog/files/patch-sum +++ b/lang/gprolog/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/07/03 10:27:50 agc Exp $ +$NetBSD: patch-sum,v 1.2 2000/08/25 13:37:50 wiz Exp $ -MD5 (patch-aa) = 4ade30dc5c4e9e74c6eb82e2d400466d +MD5 (patch-aa) = 8b85f68f9b132ae7ad82f5c00573c860 MD5 (patch-ab) = 612c9c0c225a431ba74f92542ea7c92b MD5 (patch-ac) = 32454cf56fcc24222c52c00a024c84e0 MD5 (patch-ad) = 8f01d8d6ef69ce20ab34574ffad43522 @@ -13,3 +13,4 @@ MD5 (patch-aj) = d9953df6ae0fdbd9ce9e1c862afd9daf MD5 (patch-ak) = 5bde2b8832f98c29f1f9df78c5514cc4 MD5 (patch-al) = 7d4315caf80a7354ac46d22ad7295853 MD5 (patch-am) = 21ae98586ef394723e081076f594cae8 +MD5 (patch-an) = 5569be46a26c0761a9958398af40cba1 diff --git a/lang/gprolog/patches/patch-aa b/lang/gprolog/patches/patch-aa index b74a36c4cba..320e0a29cca 100644 --- a/lang/gprolog/patches/patch-aa +++ b/lang/gprolog/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/07/03 10:27:50 agc Exp $ +$NetBSD: patch-aa,v 1.2 2000/08/25 13:37:51 wiz Exp $ --- Ma2Asm/ix86_any.c.orig Thu Apr 6 04:47:50 2000 +++ Ma2Asm/ix86_any.c Fri Jun 30 12:48:40 2000 @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/07/03 10:27:50 agc Exp $ #define MAX_C_ARGS_IN_C_CODE 32 -#ifdef M_ix86_cygwin -+#if defined(M_ix86_cygwin) || defined(M_ix86_bsd) ++#if defined(M_ix86_cygwin) || !defined(__ELF__) #define UN "_" diff --git a/lang/gprolog/patches/patch-an b/lang/gprolog/patches/patch-an new file mode 100644 index 00000000000..fb9d45c1243 --- /dev/null +++ b/lang/gprolog/patches/patch-an @@ -0,0 +1,16 @@ +$NetBSD: patch-an,v 1.1 2000/08/25 13:37:51 wiz Exp $ + +On ELF machines, don't try to add a '_' prefix to external funcs + +--- Ma2Asm/FromC/mach.h 2000/08/25 10:17:32 1.1 ++++ Ma2Asm/FromC/mach.h 2000/08/25 10:18:26 +@@ -12,7 +12,8 @@ + /*---------------------------------*/ + + #if defined(M_sony_news) || defined(M_ultrix_dec) || defined(M_alpha_osf) ||\ +- defined(M_ix86_linux) || defined(M_ix86_sco) || defined(M_ix86_bsd) ++ defined(M_ix86_linux) || defined(M_ix86_sco) || defined(M_ix86_bsd) ||\ ++ defined(__ELF__) + + # define M_Asm_Symbol1(name) #name + # define M_Asm_Symbol(name) M_Asm_Symbol1(name) |