diff options
Diffstat (limited to 'lang/STk/patches/patch-ae')
-rw-r--r-- | lang/STk/patches/patch-ae | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lang/STk/patches/patch-ae b/lang/STk/patches/patch-ae index d51faa407c5..67d7507165e 100644 --- a/lang/STk/patches/patch-ae +++ b/lang/STk/patches/patch-ae @@ -1,8 +1,8 @@ -$NetBSD: patch-ae,v 1.1 2003/05/10 00:26:34 jtb Exp $ +$NetBSD: patch-ae,v 1.2 2006/01/12 15:04:18 joerg Exp $ ---- Src/dynload.c.orig +--- Src/dynload.c.orig 1999-09-26 15:02:14.000000000 +0000 +++ Src/dynload.c -@@ -46,11 +46,15 @@ +@@ -46,16 +46,19 @@ # include <dld.h> #endif @@ -19,16 +19,22 @@ $NetBSD: patch-ae,v 1.1 2003/05/10 00:26:34 jtb Exp $ # define DLOPEN_COMPATIBLE #endif -@@ -172,7 +176,7 @@ +-#if defined(FREEBSD) +-# define dlerror() "error unknown" /* dlerror() isn't implemented in FreeBSD too */ ++#if defined(FREEBSD) || defined(DRAGONFLY) + # define DLOPEN_COMPATIBLE + #endif + +@@ -172,7 +175,7 @@ static void load_and_call(char *path, ch #endif /* MSC_VER WIN32 */ -#if defined(SUNOS4) || defined(SUNOS5) || defined(NETBSD1) || defined(FREEBSD) || defined(IRIX5) || defined(OSF1) ||defined(LINUX_ELF) -+#if defined(SUNOS4) || defined(SUNOS5) || defined(NETBSD) || defined(FREEBSD) || defined(IRIX5) || defined(OSF1) ||defined(LINUX_ELF) ++#if defined(SUNOS4) || defined(SUNOS5) || defined(NETBSD) || defined(FREEBSD) || defined(IRIX5) || defined(OSF1) ||defined(LINUX_ELF) || defined(DRAGONFLY) #define MAKE_STAT_PTR(p) (STk_make_Cpointer(ANONYMOUS_STAT_PTR_ID, (p), TRUE)) #define MAKE_DYN_PTR(p) (STk_make_Cpointer(ANONYMOUS_DYN_PTR_ID, (p), FALSE)) -@@ -360,7 +364,7 @@ +@@ -360,7 +363,7 @@ void STk_load_object_file(char *path) for (p = path, slash = p-1; *p; p++) /* Find position of last '/' */ if (*p == '/') slash = p; |