diff options
author | ryoon <ryoon> | 2014-05-16 12:43:52 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2014-05-16 12:43:52 +0000 |
commit | 4c2bace2d6cc26bc216cf9770933da9f14ac93e0 (patch) | |
tree | a8d596e4ab2110031509792a8aa8df64ab600755 /graphics/netpbm/patches | |
parent | dd4c38a9a06c0d298fa6227ae01306d65e0bf8ef (diff) | |
download | pkgsrc-4c2bace2d6cc26bc216cf9770933da9f14ac93e0.tar.gz |
Fix OpenBSD build
Diffstat (limited to 'graphics/netpbm/patches')
-rw-r--r-- | graphics/netpbm/patches/patch-lib_libsystem.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/netpbm/patches/patch-lib_libsystem.c b/graphics/netpbm/patches/patch-lib_libsystem.c new file mode 100644 index 00000000000..b8e727fdf3b --- /dev/null +++ b/graphics/netpbm/patches/patch-lib_libsystem.c @@ -0,0 +1,17 @@ +$NetBSD: patch-lib_libsystem.c,v 1.1 2014/05/16 12:43:52 ryoon Exp $ + +* For SIGWINCH and SIGIO, _XOPEN_SOURCE should not be defined under OpenBSD 5.5 + +--- lib/libsystem.c.orig 2010-07-10 01:38:01.000000000 +0000 ++++ lib/libsystem.c +@@ -12,7 +12,10 @@ + + Contributed to the public domain. + =============================================================================*/ ++/* for SIGWINCH and SIGIO */ ++#if !defined(__OpenBSD__) + #define _XOPEN_SOURCE ++#endif + + #include <unistd.h> + #include <stdlib.h> |