1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/python15/files/patch-ab

21 lines
731 B
Plaintext
Raw Normal View History

*** 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"