pkgsrc/net/DarwinStreamingServer/patches/patch-am
2007-03-07 18:22:43 +00:00

12 lines
623 B
Text

$NetBSD: patch-am,v 1.2 2007/03/07 18:22:44 joerg Exp $
--- CommonUtilitiesLib/OSCodeFragment.cpp.orig 2003-08-16 01:52:52.000000000 +0200
+++ CommonUtilitiesLib/OSCodeFragment.cpp 2005-02-25 17:03:31.000000000 +0100
@@ -62,6 +62,8 @@
fFragmentP = dlopen((char *)inPath, RTLD_NOW | RTLD_GLOBAL);
#elif defined(__FreeBSD__)
fFragmentP = dlopen(inPath, RTLD_NOW);
+#elif defined(__NetBSD__) || defined(__DragonFly__)
+ fFragmentP = dlopen(inPath, RTLD_LAZY);
#elif defined(__sgi__)
fFragmentP = dlopen(inPath, RTLD_NOW); // not sure this should be either RTLD_NOW or RTLD_LAZY
#elif defined(__Win32__)