From 887838e5f40329fc8a2bbc1c0cf03b667e0b529e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 21 Feb 2014 09:42:22 +0100 Subject: [PATCH] netpgp: update to 20140220; two patches were merged, but 1 still remains. --- srcpkgs/netpgp/patches/asprintf.patch | 12 ------------ srcpkgs/netpgp/patches/define_printflike.patch | 15 --------------- srcpkgs/netpgp/template | 4 ++-- 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/netpgp/patches/asprintf.patch delete mode 100644 srcpkgs/netpgp/patches/define_printflike.patch diff --git a/srcpkgs/netpgp/patches/asprintf.patch b/srcpkgs/netpgp/patches/asprintf.patch deleted file mode 100644 index 66cfc57101..0000000000 --- a/srcpkgs/netpgp/patches/asprintf.patch +++ /dev/null @@ -1,12 +0,0 @@ -_GNU_SOURCE must be defined before including stdio.h for asprintf(). - ---- src/lib/packet-show.c.orig 2014-02-17 19:39:10.097032026 +0100 -+++ src/lib/packet-show.c 2014-02-17 19:39:20.887897122 +0100 -@@ -52,6 +52,7 @@ - * Creates printable text strings from packet contents - * - */ -+#define _GNU_SOURCE - #include "config.h" - - #ifdef HAVE_SYS_CDEFS_H diff --git a/srcpkgs/netpgp/patches/define_printflike.patch b/srcpkgs/netpgp/patches/define_printflike.patch deleted file mode 100644 index 86c9103451..0000000000 --- a/srcpkgs/netpgp/patches/define_printflike.patch +++ /dev/null @@ -1,15 +0,0 @@ -__printflike might not be defined at all :-) - ---- src/lib/errors.h.orig 2014-02-17 19:23:32.078758868 +0100 -+++ src/lib/errors.h 2014-02-17 19:24:22.046134190 +0100 -@@ -55,6 +55,10 @@ - - #include - -+#ifndef __printflike -+#define __printflike(n,m) __attribute__((format(printf,n,m))) -+#endif -+ - /** error codes */ - /* Remember to add names to map in errors.c */ - typedef enum { diff --git a/srcpkgs/netpgp/template b/srcpkgs/netpgp/template index 851974f493..b687ce0a28 100644 --- a/srcpkgs/netpgp/template +++ b/srcpkgs/netpgp/template @@ -1,6 +1,6 @@ # Template file for 'netpgp' pkgname=netpgp -version=20140211 +version=20140220 revision=1 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" @@ -10,7 +10,7 @@ maintainer="Juan RP " license="BSD" homepage="http://www.netbsd.org" distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz" -checksum=b4a01aaad9ef96734266dafb1060c27e2855319e08f4166e6df507eaf0d5ee91 +checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf pre_configure() { autoreconf -fi