aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python15/files
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-05-05 20:30:24 +0800
committertg <tg@FreeBSD.org>1997-05-05 20:30:24 +0800
commit6c4bda00bd29ce9fb26c5147de45035e1a2d49ba (patch)
treeaef582dd1187b2b43ad94f2e45b1e256366bff5f /lang/python15/files
parent6ee8d7ea79fdb274fb65811070c5bcb76c6d4463 (diff)
downloadfreebsd-ports-gnome-6c4bda00bd29ce9fb26c5147de45035e1a2d49ba.tar.gz
freebsd-ports-gnome-6c4bda00bd29ce9fb26c5147de45035e1a2d49ba.tar.zst
freebsd-ports-gnome-6c4bda00bd29ce9fb26c5147de45035e1a2d49ba.zip
Clean up some left-over from FreeBSD-2.0 days.
Diffstat (limited to 'lang/python15/files')
-rw-r--r--lang/python15/files/patch-ab31
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/python15/files/patch-ab b/lang/python15/files/patch-ab
new file mode 100644
index 000000000000..3a666b777077
--- /dev/null
+++ b/lang/python15/files/patch-ab
@@ -0,0 +1,31 @@
+--- Python/importdl.c.orig Fri Oct 25 16:43:24 1996
++++ Python/importdl.c Sat May 3 11:55:20 1997
+@@ -76,13 +76,18 @@
+ #define LONG_EXT "module.sl"
+ #endif
+
+-#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__)
+ #define DYNAMIC_LINK
+ #define USE_SHLIB
+
+ #define dlerror() "error in dynamic linking"
+ #endif
+
++#if defined(__FreeBSD__)
++#define DYNAMIC_LINK
++#define USE_SHLIB
++#endif
++
+ #ifdef MS_WINDOWS /* i.e. MS_WIN32 or MS_WIN16 */
+ #define DYNAMIC_LINK
+ #include <windows.h>
+@@ -150,7 +155,7 @@
+ #ifdef USE_SHLIB
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__)
+ #include <nlist.h>
+ #include <link.h>
+ #else