Files
pkgsrc-ng/multimedia/xine-ui/patches/patch-ba
2016-01-21 23:40:00 +01:00

17 lines
545 B
Plaintext

$NetBSD: patch-ba,v 1.5 2014/05/07 18:44:28 wiz Exp $
Support NetBSD and DragonFlyBSD.
https://bugs.xine-project.org/show_bug.cgi?id=515
--- src/xitk/main.c.orig 2012-01-19 11:04:00.000000000 +0000
+++ src/xitk/main.c
@@ -21,7 +21,7 @@
*
*/
/* required for getsubopt(); the __sun test gives us strncasecmp() on solaris */
-#if !defined(__sun) && ! defined(__FreeBSD__)
+#if !defined(__sun) && ! defined(__FreeBSD__) && ! defined(__NetBSD__) && ! defined(__DragonFly__)
#define _XOPEN_SOURCE 500
#endif
/* required for strncasecmp() */