summaryrefslogtreecommitdiff
path: root/x11/xf86-video-sis/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xf86-video-sis/patches/patch-ac')
-rw-r--r--x11/xf86-video-sis/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/xf86-video-sis/patches/patch-ac b/x11/xf86-video-sis/patches/patch-ac
new file mode 100644
index 00000000000..98bc2fc264c
--- /dev/null
+++ b/x11/xf86-video-sis/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/08/15 18:03:32 joerg Exp $
+
+--- configure.ac.orig 2007-08-15 19:56:03.000000000 +0200
++++ configure.ac
+@@ -70,7 +70,7 @@ sdkdir=$(pkg-config --variable=sdkdir xo
+ # Checks for header files.
+ AC_HEADER_STDC
+
+-if test "$DRI" != no; then
++if test "x$DRI" = xauto; then
+ AC_CHECK_FILE([${sdkdir}/dri.h],
+ [have_dri_h="yes"], [have_dri_h="no"])
+ AC_CHECK_FILE([${sdkdir}/sarea.h],