diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-01-31 10:43:03 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-01-31 10:43:03 +0000 |
commit | 6b01bc9c8be9aab35c130c83533d5f92b9d7aa19 (patch) | |
tree | fe3508956d33310b68a1b89d5b1b3c9ef4ddd760 | |
parent | 565abd9dbe880e115e52edb74d7bcd3844b3b72e (diff) | |
download | pkgsrc-6b01bc9c8be9aab35c130c83533d5f92b9d7aa19.tar.gz |
sane-backends: Set _XOPEN_SOURCE correctly.
-rw-r--r-- | graphics/sane-backends/distinfo | 3 | ||||
-rw-r--r-- | graphics/sane-backends/patches/patch-tools_umax__pp.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/graphics/sane-backends/distinfo b/graphics/sane-backends/distinfo index 1b46ff41261..facfee617bd 100644 --- a/graphics/sane-backends/distinfo +++ b/graphics/sane-backends/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.44 2016/04/09 14:19:25 richard Exp $ +$NetBSD: distinfo,v 1.45 2018/01/31 10:43:03 jperkin Exp $ SHA1 (sane-backends-1.0.25.tar.gz) = 05824922d91571e1fc2f5cdd270745783d593754 RMD160 (sane-backends-1.0.25.tar.gz) = 1cfd81eeddf3ef3c2cea98f6ca7640522b249fab @@ -17,3 +17,4 @@ SHA1 (patch-backend_pieusb__buffer.c) = 7e7c6dbb0798876532a04a0831be2ab2bd2931ca SHA1 (patch-m4_byteorder.m4) = 23f4b0256fc9980d3472e77ab558b0e24a9495b4 SHA1 (patch-sanei_sanei__ir.c) = 66e913d7db9d03a42850778aca39da8f0dde02fa SHA1 (patch-sanei_sanei_usb.c) = b053c94d240580d919c418081fca5c75cf4fb1a7 +SHA1 (patch-tools_umax__pp.c) = debe660184a1380a894e8a5414983f5fdb19cded diff --git a/graphics/sane-backends/patches/patch-tools_umax__pp.c b/graphics/sane-backends/patches/patch-tools_umax__pp.c new file mode 100644 index 00000000000..f70ba6145a7 --- /dev/null +++ b/graphics/sane-backends/patches/patch-tools_umax__pp.c @@ -0,0 +1,16 @@ +$NetBSD: patch-tools_umax__pp.c,v 1.1 2018/01/31 10:43:03 jperkin Exp $ + +Set _XOPEN_SOURCE correctly. + +--- tools/umax_pp.c.orig 2013-02-23 02:00:56.000000000 +0000 ++++ tools/umax_pp.c +@@ -6,7 +6,9 @@ + */ + + /* For putenv */ ++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L) + #define _XOPEN_SOURCE ++#endif + #include <stdlib.h> + #include <unistd.h> + #include <string.h> |