netpgp: update to 20140220; two patches were merged, but 1 still remains.

This commit is contained in:
Juan RP 2014-02-21 09:42:22 +01:00
parent 25150c9814
commit 887838e5f4
3 changed files with 2 additions and 29 deletions

View file

@ -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

View file

@ -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 <errno.h>
+#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 {

View file

@ -1,6 +1,6 @@
# Template file for 'netpgp' # Template file for 'netpgp'
pkgname=netpgp pkgname=netpgp
version=20140211 version=20140220
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool pkg-config" hostmakedepends="automake libtool pkg-config"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD" license="BSD"
homepage="http://www.netbsd.org" homepage="http://www.netbsd.org"
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz" distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz"
checksum=b4a01aaad9ef96734266dafb1060c27e2855319e08f4166e6df507eaf0d5ee91 checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf
pre_configure() { pre_configure() {
autoreconf -fi autoreconf -fi