summaryrefslogtreecommitdiff
path: root/sysutils/aperture/patches/patch-ac
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-09-14 08:14:22 +0000
committertron <tron@pkgsrc.org>2002-09-14 08:14:22 +0000
commiteb657ed87904321793261a7da261e407bea7358d (patch)
tree900f6a3dcf8afec96fa56ecfa8421313fe1eb3b1 /sysutils/aperture/patches/patch-ac
parent0cb02a29882db815aca7d4a3ec13d65a025d1a1a (diff)
downloadpkgsrc-eb657ed87904321793261a7da261e407bea7358d.tar.gz
Make this package work under NetBSD 1.6H.
Beware: I still see panics when unloading the module, use on your own risk. Bump package revision to reflect change.
Diffstat (limited to 'sysutils/aperture/patches/patch-ac')
-rw-r--r--sysutils/aperture/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/aperture/patches/patch-ac b/sysutils/aperture/patches/patch-ac
new file mode 100644
index 00000000000..5216559ad54
--- /dev/null
+++ b/sysutils/aperture/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.3 2002/09/14 08:14:22 tron Exp $
+
+--- module/xf86_mod_install.orig Fri Sep 13 18:29:17 2002
++++ module/xf86_mod_install Fri Sep 13 18:34:52 2002
+@@ -4,8 +4,8 @@
+ #
+ # Copyright (C) 1994,1999 The XFree86 Project Inc.
+ #
+-if [ $# -ne 3 ]; then
+- echo "$0: should be called by modload(8) with 3 arguments"
++if [ $# -lt 3 ]; then
++ echo "$0: should be called by modload(8) with at least 3 arguments"
+ exit 1
+ fi
+