pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg pkgtools/pkg: Ensure funopen prototypes a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/406caf65a9f1
branches:  trunk
changeset: 354933:406caf65a9f1
user:      marino <marino%pkgsrc.org@localhost>
date:      Tue Nov 15 17:48:56 2016 +0000

description:
pkgtools/pkg: Ensure funopen prototypes are imported on libfetch's ftp.c

This is similar to recent fix on http.c

diffstat:

 pkgtools/pkg/Makefile                              |   4 ++--
 pkgtools/pkg/distinfo                              |   3 ++-
 pkgtools/pkg/patches/patch-external_libfetch_ftp.c |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r af04ba3e1ecb -r 406caf65a9f1 pkgtools/pkg/Makefile
--- a/pkgtools/pkg/Makefile     Tue Nov 15 16:41:36 2016 +0000
+++ b/pkgtools/pkg/Makefile     Tue Nov 15 17:48:56 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2016/11/15 15:42:21 marino Exp $
+# $NetBSD: Makefile,v 1.16 2016/11/15 17:48:56 marino Exp $
 
 DISTNAME=      pkg-1.8.7
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    pkgtools
 MASTER_SITES=  http://files.etoilebsd.net/pkg/
 EXTRACT_SUFX=  .tar.xz
diff -r af04ba3e1ecb -r 406caf65a9f1 pkgtools/pkg/distinfo
--- a/pkgtools/pkg/distinfo     Tue Nov 15 16:41:36 2016 +0000
+++ b/pkgtools/pkg/distinfo     Tue Nov 15 17:48:56 2016 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.7 2016/11/14 18:59:12 marino Exp $
+$NetBSD: distinfo,v 1.8 2016/11/15 17:48:56 marino Exp $
 
 SHA1 (pkg-1.8.7.tar.xz) = 4727c25b0e4c34df1bf7a00df0e9c6370e855416
 RMD160 (pkg-1.8.7.tar.xz) = f0087c0e88ef890300a46a28d0644926fa7a7acb
 SHA512 (pkg-1.8.7.tar.xz) = 61b1553cb444ba30bcf1c9a5da204ff29b08ad87641c3f49fb7e7efd9f5396742e6812bf96a0228d3e76916648511faa086d197cc41c2ced9979615e23a3bc43
 Size (pkg-1.8.7.tar.xz) = 1950148 bytes
 SHA1 (patch-docs_Makefile.am) = aa6d5c9310c644d13d55c3176cd186c37cccc7c2
+SHA1 (patch-external_libfetch_ftp.c) = f0080c4bd59386ab2a4ee015f6b22d4d228d7869
 SHA1 (patch-external_libfetch_http.c) = 9e618f80d6d72af7011351a8903b83f73130cdba
 SHA1 (patch-libpkg_pkg.h.in) = e74a96513c1e74ddea8a5b05b080cef57976d68b
 SHA1 (patch-libpkg_pkg__elf.c) = 07174f421e162fc74f1c2b306f60da1273b8b6ec
diff -r af04ba3e1ecb -r 406caf65a9f1 pkgtools/pkg/patches/patch-external_libfetch_ftp.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg/patches/patch-external_libfetch_ftp.c        Tue Nov 15 17:48:56 2016 +0000
@@ -0,0 +1,13 @@
+--- external/libfetch/ftp.c.orig       2015-08-12 08:48:13 UTC
++++ external/libfetch/ftp.c
+@@ -55,6 +55,10 @@
+  *
+  */
+ 
++#ifdef __NetBSD__
++#define _NETBSD_SOURCE
++#endif
++
+ #include <sys/param.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>



Home | Main Index | Thread Index | Old Index