pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/news/nntpcache Add a patch so that genextern.sh doesn'...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39313b0344bb
branches:  trunk
changeset: 373065:39313b0344bb
user:      he <he%pkgsrc.org@localhost>
date:      Wed Dec 27 16:53:43 2017 +0000

description:
Add a patch so that genextern.sh doesn't create a syntax error.
Bump PKGREVISION.

diffstat:

 news/nntpcache/Makefile                           |   4 ++--
 news/nntpcache/distinfo                           |   4 +++-
 news/nntpcache/patches/patch-scripts_genextern.sh |  21 +++++++++++++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)

diffs (53 lines):

diff -r b1ae5735fb81 -r 39313b0344bb news/nntpcache/Makefile
--- a/news/nntpcache/Makefile   Wed Dec 27 14:14:05 2017 +0000
+++ b/news/nntpcache/Makefile   Wed Dec 27 16:53:43 2017 +0000
@@ -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 -r b1ae5735fb81 -r 39313b0344bb news/nntpcache/distinfo
--- a/news/nntpcache/distinfo   Wed Dec 27 14:14:05 2017 +0000
+++ b/news/nntpcache/distinfo   Wed Dec 27 16:53:43 2017 +0000
@@ -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-aj) = fe9cdde25e373ac15b0d34e072bea0dd5a66fab7
 SHA1 (patch-ak) = ce93c536ef92ee75243f825fa45e9f2647a569e1
 SHA1 (patch-al) = ab9046ad74ee1a834ddcc5ac601d03aa2eef1d84
+SHA1 (patch-common_standard.h) = ee6391ff0585d2f7a093373319133dfaefe0651d
+SHA1 (patch-scripts_genextern.sh) = d1176ca777d60b349dee884e5dc5633394c3bae0
diff -r b1ae5735fb81 -r 39313b0344bb news/nntpcache/patches/patch-scripts_genextern.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/nntpcache/patches/patch-scripts_genextern.sh Wed Dec 27 16:53:43 2017 +0000
@@ -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
++)



Home | Main Index | Thread Index | Old Index