aboutsummaryrefslogtreecommitdiff
path: root/lang/python15
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>1999-02-22 22:53:01 +0000
committerJacques Vidrine <nectar@FreeBSD.org>1999-02-22 22:53:01 +0000
commitcf8062d47d34d13eadf8b8600fcda4e08c1244f9 (patch)
treefc41ff473ce68f96ec40a9f90c282d52fcad57f1 /lang/python15
parent4895a4e5eb6bc7d157dd9fb0c6a89b1617535465 (diff)
downloadports-cf8062d47d34d13eadf8b8600fcda4e08c1244f9.tar.gz
ports-cf8062d47d34d13eadf8b8600fcda4e08c1244f9.zip
Notes
Diffstat (limited to 'lang/python15')
-rw-r--r--lang/python15/files/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/python15/files/patch-ab b/lang/python15/files/patch-ab
new file mode 100644
index 000000000000..9ed08036511d
--- /dev/null
+++ b/lang/python15/files/patch-ab
@@ -0,0 +1,20 @@
+*** Python/importdl.c.orig Tue Sep 29 12:17:52 1998
+--- Python/importdl.c Tue Sep 29 12:18:40 1998
+***************
+*** 211,217 ****
+ extern char *Py_GetProgramName();
+
+ #ifndef FUNCNAME_PATTERN
+! #if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__BORLANDC__)
+ #define FUNCNAME_PATTERN "_init%.200s"
+ #else
+ #define FUNCNAME_PATTERN "init%.200s"
+--- 211,217 ----
+ extern char *Py_GetProgramName();
+
+ #ifndef FUNCNAME_PATTERN
+! #if defined(__hp9000s300) || defined(__NetBSD__) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(__OpenBSD__) || defined(__BORLANDC__)
+ #define FUNCNAME_PATTERN "_init%.200s"
+ #else
+ #define FUNCNAME_PATTERN "init%.200s"
+