summaryrefslogtreecommitdiff
path: root/news/nntpcache
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2017-12-27 16:53:43 +0000
committerhe <he@pkgsrc.org>2017-12-27 16:53:43 +0000
commitab058cf23d9cd3a116963e01ed56488d9649c9c6 (patch)
tree5168ef76b0ed8f71a44091b07b3dddc94762c161 /news/nntpcache
parentb04f97ad89683b8ba8fc7cb436780343a7865edd (diff)
downloadpkgsrc-ab058cf23d9cd3a116963e01ed56488d9649c9c6.tar.gz
Add a patch so that genextern.sh doesn't create a syntax error.
Bump PKGREVISION.
Diffstat (limited to 'news/nntpcache')
-rw-r--r--news/nntpcache/Makefile4
-rw-r--r--news/nntpcache/distinfo4
-rw-r--r--news/nntpcache/patches/patch-scripts_genextern.sh21
3 files changed, 26 insertions, 3 deletions
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index 60accda2f0a..c7f4fad830e 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2017/09/03 08:36:58 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2017/12/27 16:53:43 he Exp $
DISTNAME= nntpcache-3.0.2
-PKGREVISION= 12
+PKGREVISION= 13
CATEGORIES= news
MASTER_SITES= http://www.xs4all.nl/~suelette/
diff --git a/news/nntpcache/distinfo b/news/nntpcache/distinfo
index 6d76ae1634c..b38c6abcaf7 100644
--- a/news/nntpcache/distinfo
+++ b/news/nntpcache/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/02 23:49:47 agc Exp $
+$NetBSD: distinfo,v 1.9 2017/12/27 16:53:43 he Exp $
SHA1 (nntpcache-3.0.2.tar.gz) = f4c9916040422e7232971a0098d0b29fe947ac14
RMD160 (nntpcache-3.0.2.tar.gz) = 03c191fbedd9325c12033493d57e01b5c5ecd5a9
@@ -16,3 +16,5 @@ SHA1 (patch-ai) = 1f0932b40c5086c24e982210b016feece2445502
SHA1 (patch-aj) = fe9cdde25e373ac15b0d34e072bea0dd5a66fab7
SHA1 (patch-ak) = ce93c536ef92ee75243f825fa45e9f2647a569e1
SHA1 (patch-al) = ab9046ad74ee1a834ddcc5ac601d03aa2eef1d84
+SHA1 (patch-common_standard.h) = ee6391ff0585d2f7a093373319133dfaefe0651d
+SHA1 (patch-scripts_genextern.sh) = d1176ca777d60b349dee884e5dc5633394c3bae0
diff --git a/news/nntpcache/patches/patch-scripts_genextern.sh b/news/nntpcache/patches/patch-scripts_genextern.sh
new file mode 100644
index 00000000000..fab9cdfa613
--- /dev/null
+++ b/news/nntpcache/patches/patch-scripts_genextern.sh
@@ -0,0 +1,21 @@
+$NetBSD: patch-scripts_genextern.sh,v 1.1 2017/12/27 16:53:43 he Exp $
+
+Don't create syntax error.
+
+--- scripts/genextern.sh.orig 2004-04-11 11:43:50.000000000 +0000
++++ scripts/genextern.sh
+@@ -8,6 +8,7 @@ shift
+ $CPP -DAUTOGEN -DEXPORT=GENEXTERN $* $input | egrep 'GENEXTERN *') |\
+ sed -e '{
+ s/GENEXTERN /extern /
++s/($/()/
+ s/=.*$//
+ s/;.*$//
+ s/$/;/
+@@ -43,4 +44,4 @@ END
+ }
+ #endif
+ END2
+-)
+\ No newline at end of file
++)