diff options
author | obache <obache@pkgsrc.org> | 2014-03-25 07:53:35 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-03-25 07:53:35 +0000 |
commit | 0757713d29ce3efeef53111ba7e2259c70767fb3 (patch) | |
tree | 69096ac418a79ae2df576f27bca4831835370820 /sysutils | |
parent | 3ab10203179d0698de62814c5569355b732eec53 (diff) | |
download | pkgsrc-0757713d29ce3efeef53111ba7e2259c70767fb3.tar.gz |
fixes build on NetBSD-6, strncat is defined as a macro.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/coreutils/distinfo | 3 | ||||
-rw-r--r-- | sysutils/coreutils/patches/patch-lib_strncat.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/coreutils/distinfo b/sysutils/coreutils/distinfo index 55b2b63a135..6286d684280 100644 --- a/sysutils/coreutils/distinfo +++ b/sysutils/coreutils/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.26 2014/02/04 15:07:46 wiz Exp $ +$NetBSD: distinfo,v 1.27 2014/03/25 07:53:35 obache Exp $ SHA1 (coreutils-8.22.tar.xz) = cc7fe47b21eb49dd2ee4cdb707570f42fb2c8cc6 RMD160 (coreutils-8.22.tar.xz) = c3da7ade1d3ac82e97ac4a24c70376af8b9b503b @@ -6,3 +6,4 @@ Size (coreutils-8.22.tar.xz) = 5335124 bytes SHA1 (patch-Makefile.in) = fce694c56777081a6a54d157dd0573945250f381 SHA1 (patch-lib-fflush.c) = 106e9c7d05fff290f24cb69e1b2c80d0077c62bd SHA1 (patch-lib-fseeko.c) = 9f4b0294698648011c64869fc0e642f910e9d47f +SHA1 (patch-lib_strncat.c) = 415f45d29a6d073d4e90eaadf45b7fdc6107b05c diff --git a/sysutils/coreutils/patches/patch-lib_strncat.c b/sysutils/coreutils/patches/patch-lib_strncat.c new file mode 100644 index 00000000000..75e58a4240f --- /dev/null +++ b/sysutils/coreutils/patches/patch-lib_strncat.c @@ -0,0 +1,14 @@ +$NetBSD: patch-lib_strncat.c,v 1.1 2014/03/25 07:53:35 obache Exp $ + +* strncat is defined as a macro in NetBSD-6 + +--- lib/strncat.c.orig 2013-12-04 15:02:02.000000000 +0000 ++++ lib/strncat.c +@@ -19,6 +19,7 @@ + + /* Specification. */ + #include <string.h> ++#undef strncat + + char * + strncat (char *dest, const char *src, size_t n) |