diff options
author | tg <tg@FreeBSD.org> | 1997-05-05 21:48:19 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1997-05-05 21:48:19 +0800 |
commit | e1805fec568d49d2053ed2a0b83a9fd0d8a46414 (patch) | |
tree | fd8926fa105f0a4e20370f5c7039023861f53eb1 | |
parent | 1f941f2fa3adeddd6e5f832758e50a5f411f1e9d (diff) | |
download | freebsd-ports-gnome-e1805fec568d49d2053ed2a0b83a9fd0d8a46414.tar.gz freebsd-ports-gnome-e1805fec568d49d2053ed2a0b83a9fd0d8a46414.tar.zst freebsd-ports-gnome-e1805fec568d49d2053ed2a0b83a9fd0d8a46414.zip |
Simplify patch.
-rw-r--r-- | lang/python+ipv6/files/patch-ab | 17 | ||||
-rw-r--r-- | lang/python15/files/patch-ab | 17 |
2 files changed, 6 insertions, 28 deletions
diff --git a/lang/python+ipv6/files/patch-ab b/lang/python+ipv6/files/patch-ab index 3a666b777077..ab7b5177ec5f 100644 --- a/lang/python+ipv6/files/patch-ab +++ b/lang/python+ipv6/files/patch-ab @@ -1,6 +1,6 @@ --- 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 @@ ++++ Python/importdl.c Mon May 5 15:43:38 1997 +@@ -76,7 +76,7 @@ #define LONG_EXT "module.sl" #endif @@ -9,18 +9,7 @@ #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 @@ +@@ -150,7 +150,7 @@ #ifdef USE_SHLIB #include <sys/types.h> #include <sys/stat.h> diff --git a/lang/python15/files/patch-ab b/lang/python15/files/patch-ab index 3a666b777077..ab7b5177ec5f 100644 --- a/lang/python15/files/patch-ab +++ b/lang/python15/files/patch-ab @@ -1,6 +1,6 @@ --- 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 @@ ++++ Python/importdl.c Mon May 5 15:43:38 1997 +@@ -76,7 +76,7 @@ #define LONG_EXT "module.sl" #endif @@ -9,18 +9,7 @@ #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 @@ +@@ -150,7 +150,7 @@ #ifdef USE_SHLIB #include <sys/types.h> #include <sys/stat.h> |