1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/python+ipv6/files/patch-ab
Thomas Gellekum 7e62a3c426 Support dynamic loading of modules in an ELF world.
Submitted by:	Vladimir Kushnir <kushn@mail.kar.net>
1998-10-06 06:49:13 +00:00

21 lines
731 B
Plaintext

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