summaryrefslogtreecommitdiff
path: root/mail/majordomo/files/patch-approve
blob: bbaab3dec7555720bc5f41eaa0d45a97c686801e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./approve.orig	2013-11-24 18:53:39.307114948 +0400
+++ ./approve	2013-11-24 18:45:58.000000000 +0400
@@ -70,9 +70,9 @@
     if !$MAILER;
 
 
-require "getopts.pl";
+use Getopt::Std;
 
-&Getopts("df:") ||
+getopts("df:") ||
     die("USAGE: approve [-f <config-file>] [-d] [<file> ...]\nStopped");
 
 if (!defined($opt_f)) {