pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/gtar-base Add workaround for NetBSD-5.x.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0a215951424a
branches: trunk
changeset: 632163:0a215951424a
user: obache <obache%pkgsrc.org@localhost>
date: Tue Mar 18 09:03:26 2014 +0000
description:
Add workaround for NetBSD-5.x.
readlink is defined as a macro, it produce build failure reported in PR pkg/48622.
diffstat:
archivers/gtar-base/distinfo | 3 ++-
archivers/gtar-base/patches/patch-gnu_readlinkat.c | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r e27aab1af588 -r 0a215951424a archivers/gtar-base/distinfo
--- a/archivers/gtar-base/distinfo Tue Mar 18 08:22:44 2014 +0000
+++ b/archivers/gtar-base/distinfo Tue Mar 18 09:03:26 2014 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.31 2014/02/24 08:16:56 adam Exp $
+$NetBSD: distinfo,v 1.32 2014/03/18 09:03:26 obache Exp $
SHA1 (tar-1.27.1.tar.bz2) = 67aa31d0d497849c05ba5ea6eb41cff130407751
RMD160 (tar-1.27.1.tar.bz2) = a99ccfd874ac72c1e0feec2d86423c3e5bcd19fb
Size (tar-1.27.1.tar.bz2) = 2573070 bytes
SHA1 (patch-ad) = f3a988a6b675a389d8d307fe1a90dde81ba98df5
+SHA1 (patch-gnu_readlinkat.c) = b1ddbf5159db92df9186354f27db5c9cb93b9afa
diff -r e27aab1af588 -r 0a215951424a archivers/gtar-base/patches/patch-gnu_readlinkat.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gtar-base/patches/patch-gnu_readlinkat.c Tue Mar 18 09:03:26 2014 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-gnu_readlinkat.c,v 1.1 2014/03/18 09:03:26 obache Exp $
+
+* workaround for NetBSD-5.x, readlink is defined as a macro.
+
+--- gnu/readlinkat.c.orig 2013-06-29 05:54:25.000000000 +0000
++++ gnu/readlinkat.c
+@@ -41,6 +41,7 @@
+ #define AT_FUNC_POST_FILE_PARAM_DECLS , char *buf, size_t len
+ #define AT_FUNC_POST_FILE_ARGS , buf, len
+ #define AT_FUNC_RESULT ssize_t
++#undef readlink
+ #include "at-func.c"
+ #undef AT_FUNC_NAME
+ #undef AT_FUNC_F1
Home |
Main Index |
Thread Index |
Old Index