pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/netatalk3 fix SSP build.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f03f0fd53eac
branches: trunk
changeset: 325820:f03f0fd53eac
user: christos <christos%pkgsrc.org@localhost>
date: Tue Nov 27 02:19:03 2018 +0000
description:
fix SSP build.
diffstat:
net/netatalk3/Makefile | 4 +-
net/netatalk3/distinfo | 3 +-
net/netatalk3/patches/patch-libatalk_bstring_bstrlib.c | 21 ++++++++++++++++++
3 files changed, 25 insertions(+), 3 deletions(-)
diffs (55 lines):
diff -r 54518d7d7106 -r f03f0fd53eac net/netatalk3/Makefile
--- a/net/netatalk3/Makefile Mon Nov 26 15:29:10 2018 +0000
+++ b/net/netatalk3/Makefile Tue Nov 27 02:19:03 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2018/11/14 22:22:13 kleink Exp $
+# $NetBSD: Makefile,v 1.16 2018/11/27 02:19:03 christos Exp $
DISTNAME= netatalk-3.1.11
PKGNAME= ${DISTNAME:C/-/3-/}
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/}
EXTRACT_SUFX= .tar.bz2
diff -r 54518d7d7106 -r f03f0fd53eac net/netatalk3/distinfo
--- a/net/netatalk3/distinfo Mon Nov 26 15:29:10 2018 +0000
+++ b/net/netatalk3/distinfo Tue Nov 27 02:19:03 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2017/06/02 12:19:07 szptvlfn Exp $
+$NetBSD: distinfo,v 1.5 2018/11/27 02:19:03 christos Exp $
SHA1 (netatalk-3.1.11.tar.bz2) = 5aa7900e6f7de3c7ee812aa1130c1245d1974586
RMD160 (netatalk-3.1.11.tar.bz2) = d0b671662afb642dc6bdfb44688fd459da5e7415
@@ -14,5 +14,6 @@
SHA1 (patch-etc_cnid__dbd_cnid__metad.c) = 6c28332ca3e11d11f3b5bb13fa01783dbb94c30f
SHA1 (patch-etc_netatalk_netatalk.c) = 2bdbfc035e4bea9859cf970cd6b9a6503244185e
SHA1 (patch-include_atalk_util.h) = a7a0763c5866288ad89a8b6b90c71767ee4d9d64
+SHA1 (patch-libatalk_bstring_bstrlib.c) = eaee8075f102c1150f74e9dce4d83697c3eac3fc
SHA1 (patch-libatalk_util_getiface.c) = 1a46bd695c96e0666b6f45493eb44501c0f4e0b5
SHA1 (patch-macros_quota-check.m4) = a6502693ae8c7218b7c4426b134e0aa590412e1f
diff -r 54518d7d7106 -r f03f0fd53eac net/netatalk3/patches/patch-libatalk_bstring_bstrlib.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netatalk3/patches/patch-libatalk_bstring_bstrlib.c Tue Nov 27 02:19:03 2018 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-libatalk_bstring_bstrlib.c,v 1.1 2018/11/27 02:19:03 christos Exp $
+
+Fix for SSP build.
+
+--- libatalk/bstring/bstrlib.c.orig 2014-01-10 05:19:29.000000000 -0500
++++ libatalk/bstring/bstrlib.c 2018-11-26 20:23:28.658129721 -0500
+@@ -2737,11 +2737,14 @@
+ #define START_VSNBUFF (256)
+ #else
+
++#ifndef __NetBSD__
++/* Don't redeclare snprintf, it confuses SSP */
+ #ifdef __GNUC__
+ /* Something is making gcc complain about this prototype not being here, so
+ I've just gone ahead and put it in. */
+ extern int vsnprintf (char *buf, size_t count, const char *format, va_list arg);
+ #endif
++#endif
+
+ #define exvsnprintf(r,b,n,f,a) {r = vsnprintf (b,n,f,a);}
+ #endif
Home |
Main Index |
Thread Index |
Old Index