pkgsrc/net/DarwinStreamingServer/patches/patch-am

13 lines
623 B
Text
Raw Normal View History

2007-03-07 19:22:43 +01:00
$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);
2007-03-07 19:22:43 +01:00
+#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__)