pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libuuid libuuid: Add NAME_MAX compat (for x11/mc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/501718384c97
branches:  trunk
changeset: 373457:501718384c97
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jan 02 10:24:06 2018 +0000

description:
libuuid: Add NAME_MAX compat (for x11/mcookie).

diffstat:

 devel/libuuid/distinfo                  |   3 ++-
 devel/libuuid/patches/patch-include_c.h |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r f57b9e200e42 -r 501718384c97 devel/libuuid/distinfo
--- a/devel/libuuid/distinfo    Tue Jan 02 10:09:06 2018 +0000
+++ b/devel/libuuid/distinfo    Tue Jan 02 10:24:06 2018 +0000
@@ -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 @@
 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 -r f57b9e200e42 -r 501718384c97 devel/libuuid/patches/patch-include_c.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libuuid/patches/patch-include_c.h   Tue Jan 02 10:24:06 2018 +0000
@@ -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
+  */



Home | Main Index | Thread Index | Old Index