pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/sane-backends sane-backends: Set _XOPEN_SOURC...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8430e4551b23
branches: trunk
changeset: 374898:8430e4551b23
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Jan 31 10:43:03 2018 +0000
description:
sane-backends: Set _XOPEN_SOURCE correctly.
diffstat:
graphics/sane-backends/distinfo | 3 ++-
graphics/sane-backends/patches/patch-tools_umax__pp.c | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 8f5936c989e6 -r 8430e4551b23 graphics/sane-backends/distinfo
--- a/graphics/sane-backends/distinfo Wed Jan 31 10:31:42 2018 +0000
+++ b/graphics/sane-backends/distinfo Wed Jan 31 10:43:03 2018 +0000
@@ -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-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 -r 8f5936c989e6 -r 8430e4551b23 graphics/sane-backends/patches/patch-tools_umax__pp.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/sane-backends/patches/patch-tools_umax__pp.c Wed Jan 31 10:43:03 2018 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index