aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python15/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python15/files/patch-ab')
-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"
+