summaryrefslogtreecommitdiff
path: root/net/md-whois/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/md-whois/patches/patch-aa')
-rw-r--r--net/md-whois/patches/patch-aa17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/md-whois/patches/patch-aa b/net/md-whois/patches/patch-aa
new file mode 100644
index 00000000000..470accefc5c
--- /dev/null
+++ b/net/md-whois/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2009/09/26 05:48:02 taca Exp $
+
+* Fix for NetBSD 4.*.
+
+--- Makefile.orig 2008-05-06 18:41:16.000000000 +0900
++++ Makefile
+@@ -31,6 +31,10 @@ else
+ mkpasswd_LDADD += -lcrypt
+ endif
+
++ifdef NEED_OPTARG
++DEFS += -DNEED_OPTARG
++endif
++
+ all: Makefile.depend whois mkpasswd #pos
+
+ whois_OBJECTS := whois.o utils.o