pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/file Export getline. Needed for build on NetB...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b819a98b0dfe
branches: trunk
changeset: 631719:b819a98b0dfe
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Mar 12 19:43:17 2014 +0000
description:
Export getline. Needed for build on NetBSD-5.
Reported by Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
on pkgsrc-users.
diffstat:
sysutils/file/distinfo | 3 ++-
sysutils/file/patches/patch-src_getline.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r b87bfab27ea6 -r b819a98b0dfe sysutils/file/distinfo
--- a/sysutils/file/distinfo Wed Mar 12 19:38:21 2014 +0000
+++ b/sysutils/file/distinfo Wed Mar 12 19:43:17 2014 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2014/03/12 18:35:48 wiz Exp $
+$NetBSD: distinfo,v 1.16 2014/03/12 19:43:17 wiz Exp $
SHA1 (file-5.17.tar.gz) = f7e837a0d3e4f40a02ffe7da5e146b967448e0d8
RMD160 (file-5.17.tar.gz) = 288210bdb07b3b8aa61affa3fb8b2d64a7e021da
Size (file-5.17.tar.gz) = 709991 bytes
SHA1 (patch-aa) = d3aa3667e3d28ac1268b83de2de372ba083705fc
+SHA1 (patch-src_getline.c) = 23365ae99c8c5a4c4ff4e0d94b83798d12335112
diff -r b87bfab27ea6 -r b819a98b0dfe sysutils/file/patches/patch-src_getline.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/file/patches/patch-src_getline.c Wed Mar 12 19:43:17 2014 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_getline.c,v 1.1 2014/03/12 19:43:17 wiz Exp $
+
+Export getline symbol if missing.
+
+--- src/getline.c.orig 2013-01-11 19:36:54.000000000 +0000
++++ src/getline.c
+@@ -76,7 +76,7 @@ getdelim(char **buf, size_t *bufsiz, int
+ }
+ }
+
+-ssize_t
++public ssize_t
+ getline(char **buf, size_t *bufsiz, FILE *fp)
+ {
+ return getdelim(buf, bufsiz, '\n', fp);
Home |
Main Index |
Thread Index |
Old Index