pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/coreutils fixes build on NetBSD-6, strncat is...
details: https://anonhg.NetBSD.org/pkgsrc/rev/88a7765b13ce
branches: trunk
changeset: 632331:88a7765b13ce
user: obache <obache%pkgsrc.org@localhost>
date: Tue Mar 25 07:53:35 2014 +0000
description:
fixes build on NetBSD-6, strncat is defined as a macro.
diffstat:
sysutils/coreutils/distinfo | 3 ++-
sysutils/coreutils/patches/patch-lib_strncat.c | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r ea1b61ca3333 -r 88a7765b13ce sysutils/coreutils/distinfo
--- a/sysutils/coreutils/distinfo Tue Mar 25 07:11:52 2014 +0000
+++ b/sysutils/coreutils/distinfo Tue Mar 25 07:53:35 2014 +0000
@@ -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 @@
SHA1 (patch-Makefile.in) = fce694c56777081a6a54d157dd0573945250f381
SHA1 (patch-lib-fflush.c) = 106e9c7d05fff290f24cb69e1b2c80d0077c62bd
SHA1 (patch-lib-fseeko.c) = 9f4b0294698648011c64869fc0e642f910e9d47f
+SHA1 (patch-lib_strncat.c) = 415f45d29a6d073d4e90eaadf45b7fdc6107b05c
diff -r ea1b61ca3333 -r 88a7765b13ce sysutils/coreutils/patches/patch-lib_strncat.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/coreutils/patches/patch-lib_strncat.c Tue Mar 25 07:53:35 2014 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index