diff options
Diffstat (limited to 'devel/styx/files/patch-libbase__sysbase1.c')
-rw-r--r-- | devel/styx/files/patch-libbase__sysbase1.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/styx/files/patch-libbase__sysbase1.c b/devel/styx/files/patch-libbase__sysbase1.c deleted file mode 100644 index a793c8327401..000000000000 --- a/devel/styx/files/patch-libbase__sysbase1.c +++ /dev/null @@ -1,29 +0,0 @@ ---- libbase/sysbase1.c.orig 2003-12-09 15:37:07 UTC -+++ libbase/sysbase1.c -@@ -521,7 +521,7 @@ StdCPtr apply_fun(PCFUN f, int cnt, StdC - } - - #else --#if !defined( MSDOS ) && defined ( __GNUC__ ) && #cpu (i386) -+#if !defined( MSDOS ) && defined ( __GNUC__ ) && defined(__i386__) - #define PUSH_FUN_ARG(arg) __asm__ volatile ( "pushl %0" : : "r" (arg) ) - #define CALL_FUN(f) __asm__ volatile ( "call *%0" : : "r" (f) ) - -@@ -550,7 +550,7 @@ AbstractType( DL_Hdl ); /* Abstract hand - #define DL_LOAD_LAZY 0 - - /*DOC_INTERFACE*/ --#if !defined(STYX_CONFIG_OSMS) && (!defined(HAVE_CONFIG_H) || (defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H))) -+#if defined(__FreeBSD__) || (!defined(STYX_CONFIG_OSMS) && (!defined(HAVE_CONFIG_H) || (defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H)))) - #define DL_LAZY RTLD_LAZY - #define DL_NOW RTLD_NOW - #define DL_BINDING_MASK RTLD_BINDING_MASK -@@ -594,7 +594,7 @@ AbstractType( DL_Hdl ); /* Abstract hand - } - - #else --#if !defined(MSDOS) && ( !defined(HAVE_CONFIG_H) || ( defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H) ) ) -+#if defined(__FreeBSD__) || (!defined(MSDOS) && ( !defined(HAVE_CONFIG_H) || ( defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H) ) ) ) - - DL_Hdl DL_open(string dlname, int flag) - /* loads dll 'dlname' in mode 'flag' ( ERROR: NULL ) |