Files
pkgsrc-ng/graphics/netpbm/patches/patch-db
T
2013-09-26 17:14:40 +02:00

18 lines
505 B
Plaintext

$NetBSD: patch-db,v 1.3 2010/03/04 11:01:01 tnn Exp $
--- converter/other/jpeg2000/pamtojpeg2k.c.orig 2007-12-27 22:32:59.000000000 +0000
+++ converter/other/jpeg2000/pamtojpeg2k.c
@@ -10,7 +10,11 @@
#define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */
/* Make sure strdup() is in string.h and int_fast32_t is in inttypes.h */
-#define _XOPEN_SOURCE 600
+#ifdef __osf__
+#define _OSF_SOURCE
+#else
+#define _XOPEN_SOURCE 500
+#endif /* __osf__ */
#include <string.h>
#include "pam.h"