aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-09-24 02:54:29 +0800
committerdinoex <dinoex@FreeBSD.org>2013-09-24 02:54:29 +0800
commitd137984413843e7d5fc96c9744e829e530c16707 (patch)
tree381d29e32e35f48d7faba4cdcdabf0c2604ee1bc /news
parent81874ca4a936006d5dbfb8d8a199d4bd632544b1 (diff)
downloadfreebsd-ports-gnome-d137984413843e7d5fc96c9744e829e530c16707.tar.gz
freebsd-ports-gnome-d137984413843e7d5fc96c9744e829e530c16707.tar.zst
freebsd-ports-gnome-d137984413843e7d5fc96c9744e829e530c16707.zip
- fix perl compatibility with getopt
Diffstat (limited to 'news')
-rw-r--r--news/c-nocem/Makefile2
-rw-r--r--news/c-nocem/files/patch-c-nocem.in16
2 files changed, 15 insertions, 3 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile
index 27a7d5f3fffc..aeddfa48beb1 100644
--- a/news/c-nocem/Makefile
+++ b/news/c-nocem/Makefile
@@ -2,7 +2,7 @@
PORTNAME= c-nocem
PORTVERSION= 3.7
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= news security
MASTER_SITES= http://sites.inka.de/~bigred/sw/ \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
diff --git a/news/c-nocem/files/patch-c-nocem.in b/news/c-nocem/files/patch-c-nocem.in
index 0f2697b55d4d..b2974509605e 100644
--- a/news/c-nocem/files/patch-c-nocem.in
+++ b/news/c-nocem/files/patch-c-nocem.in
@@ -1,8 +1,20 @@
---- c-nocem.in.orig Wed Nov 3 00:47:28 1999
-+++ c-nocem.in Sat Mar 11 12:07:58 2000
+--- c-nocem.in.orig 2000-05-23 11:39:01.000000000 +0200
++++ c-nocem.in 2013-09-23 20:20:58.000000000 +0200
@@ -1,4 +1,4 @@
-#!@PERL@ -w
+#!@PERL@
# and once again for Emacs: -*-perl-*-
# NoCeM in the spool for C News and INN - grand unified program
+@@ -30,9 +30,9 @@
+ $logfile="@newslogfile@";
+ $ENV{'PATH'}="@newspath@";
+
+-require "getopts.pl";
++use Getopt::Std qw(getopts);
+ $opt_t=86400; $opt_l=$opt_a="";
+-&Getopts("bc:t:nsd:klraz:C");
++&getopts("bc:t:nsd:klraz:C");
+ $storageapi=0;
+ $opt_c=99999999 if ($opt_C);
+ if ($opt_c) {