pkgsrc/graphics/ivtools/patches/patch-ai
joerg e99a0fb122 Add DragonFly support, fix build with modular and pkgsrc Xorg and
shared library linkage in general. On DragonFly and NetBSD build
with -Wl,-z,defs to find possible regressions.
2007-02-15 18:26:14 +00:00

13 lines
491 B
Text

$NetBSD: patch-ai,v 1.3 2007/02/15 18:26:15 joerg Exp $
--- src/IV-X11/xwindow.c.orig 2007-02-15 15:44:36.000000000 +0000
+++ src/IV-X11/xwindow.c
@@ -62,7 +62,7 @@
#include <stropts.h>
#include <sys/conf.h>
#endif
-#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__)
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__) && !defined(__DragonFly__)
#if !defined(__linux__) && !defined(__CYGWIN__)
/* no standard place for this */
extern "C" {