freebsd-ports/news/c-nocem/files/patch-c-nocem.in
2013-09-23 18:54:29 +00:00

20 lines
537 B
Text

--- 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) {