pkgsrc/lang/japhar/patches/patch-ab
joerg e5c4fb9a3c Remove ONLY_FOR_PLATFORM to give this wider exposure.
Add DragonFly support. Use readline from pkgsrc.
Bump revision.
2006-06-04 13:52:57 +00:00

13 lines
484 B
Text

$NetBSD: patch-ab,v 1.3 2006/06/04 13:52:57 joerg Exp $
--- include/dynamic_loading.h.orig 2006-05-21 16:00:36.000000000 +0000
+++ include/dynamic_loading.h
@@ -29,7 +29,7 @@ extern "C" {
#endif
#if defined USE_DLL && ( defined HAVE_DLFCN_H || defined HAVE_DL_H )
-# if (__FreeBSD__ < 3 && !defined( PROFILING )) || !defined(__FreeBSD__)
+# if (defined(__FreeBSD__) && __FreeBSD__ < 3 && !defined( PROFILING )) || !defined(__FreeBSD__)
# define HAVE_DLL
# endif
#endif