Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2013 18:54:29 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328030 - in head/news/c-nocem: . files
Message-ID:  <201309231854.r8NIsTWf094826@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Mon Sep 23 18:54:29 2013
New Revision: 328030
URL: http://svnweb.freebsd.org/changeset/ports/328030

Log:
  - fix perl compatibility with getopt

Modified:
  head/news/c-nocem/Makefile
  head/news/c-nocem/files/patch-c-nocem.in

Modified: head/news/c-nocem/Makefile
==============================================================================
--- head/news/c-nocem/Makefile	Mon Sep 23 18:53:17 2013	(r328029)
+++ head/news/c-nocem/Makefile	Mon Sep 23 18:54:29 2013	(r328030)
@@ -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/

Modified: head/news/c-nocem/files/patch-c-nocem.in
==============================================================================
--- head/news/c-nocem/files/patch-c-nocem.in	Mon Sep 23 18:53:17 2013	(r328029)
+++ head/news/c-nocem/files/patch-c-nocem.in	Mon Sep 23 18:54:29 2013	(r328030)
@@ -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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309231854.r8NIsTWf094826>