summaryrefslogtreecommitdiff
path: root/devel/libuuid
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-01-02 10:24:06 +0000
committerjperkin <jperkin@pkgsrc.org>2018-01-02 10:24:06 +0000
commit3f4ffea5ab5001fc5f0d4f344f000ba9758cbefc (patch)
tree2c70ff4bf17dc8046654f2f60e290199ff23d8ab /devel/libuuid
parent55b231a01ccb24aa7e16c3cc8dec53f78664f853 (diff)
downloadpkgsrc-3f4ffea5ab5001fc5f0d4f344f000ba9758cbefc.tar.gz
libuuid: Add NAME_MAX compat (for x11/mcookie).
Diffstat (limited to 'devel/libuuid')
-rw-r--r--devel/libuuid/distinfo3
-rw-r--r--devel/libuuid/patches/patch-include_c.h17
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/libuuid/distinfo b/devel/libuuid/distinfo
index 9d49cb3048e..25f6abaa3e1 100644
--- a/devel/libuuid/distinfo
+++ b/devel/libuuid/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2017/12/08 08:03:35 adam Exp $
+$NetBSD: distinfo,v 1.19 2018/01/02 10:24:06 jperkin Exp $
SHA1 (util-linux-2.31.tar.xz) = 4ebb8a2c1da21a6da08b553abd0f4dd3dbc55b4e
RMD160 (util-linux-2.31.tar.xz) = 451569f0c2dcc16cd34f5753c1028db8966ab296
@@ -6,6 +6,7 @@ SHA512 (util-linux-2.31.tar.xz) = 48b668526e96a132736b882090d0e33c20b4b3a0e17605
Size (util-linux-2.31.tar.xz) = 4503892 bytes
SHA1 (patch-Makefile.in) = fc6e29fb5843c1d125299a9dc6d8d3d19eecf4f7
SHA1 (patch-configure) = bb32feced09b9131f7baa547f6f732d849d58a35
+SHA1 (patch-include_c.h) = 4596369e4b742329be513952c66d1fa3705de017
SHA1 (patch-include_ttyutils.h) = fa2b253d568e5aface99727c397d3c4c892b2c93
SHA1 (patch-lib_ismounted.c) = 11f5148020dba2a22e1fbe4882fe423dfb11ad73
SHA1 (patch-lib_randutils.c) = 422e94d9bdaf6a77894b79d67285fd8a0cb1d05a
diff --git a/devel/libuuid/patches/patch-include_c.h b/devel/libuuid/patches/patch-include_c.h
new file mode 100644
index 00000000000..18dc082fb28
--- /dev/null
+++ b/devel/libuuid/patches/patch-include_c.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_c.h,v 1.1 2018/01/02 10:24:06 jperkin Exp $
+
+Add NAME_MAX compat.
+
+--- include/c.h.orig 2017-09-27 09:05:13.694361539 +0000
++++ include/c.h
+@@ -29,6 +29,10 @@
+ # define LOGIN_NAME_MAX 256
+ #endif
+
++#ifndef NAME_MAX
++# define NAME_MAX PATH_MAX
++#endif
++
+ /*
+ * Compiler-specific stuff
+ */