DragonFly needs _XOPEN_SOURCE value to be at least 600 in order to expose system functions for the build. Don't let it get redefined to 500.
13 lines
542 B
Text
13 lines
542 B
Text
$NetBSD: patch-aj,v 1.5 2012/09/01 08:14:22 marino Exp $
|
|
|
|
--- src/xitk/session.c.orig 2010-03-11 09:40:12.000000000 +0000
|
|
+++ src/xitk/session.c
|
|
@@ -21,7 +21,7 @@
|
|
/* Largely inspired of xmms control socket stuff */
|
|
|
|
/* required for getsubopt(); the __sun test gives us strncasecmp() on solaris */
|
|
-#if ! defined (__sun) && ! defined (__OpenBSD__) && ! defined (__FreeBSD__)
|
|
+#if ! defined (__sun) && ! defined (__OpenBSD__) && ! defined (__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
|
|
#define _XOPEN_SOURCE 500
|
|
#endif
|
|
|