summaryrefslogtreecommitdiff
path: root/x11/xf86-video-tdfx/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-15 17:55:41 +0000
committerjoerg <joerg>2007-08-15 17:55:41 +0000
commit2708d290001ce19781081c9740413c6efaa5bc60 (patch)
tree8fb59295cbabb0c170b7e0337746c4bbbb9c4bdb /x11/xf86-video-tdfx/patches
parent9ac3220a88b9bed8d14106bcdb6202f55f0019f2 (diff)
downloadpkgsrc-2708d290001ce19781081c9740413c6efaa5bc60.tar.gz
Change configure to check the DRI headers only, if DRI is not explicitly
enabled or disabled. Explicitly request DRI.
Diffstat (limited to 'x11/xf86-video-tdfx/patches')
-rw-r--r--x11/xf86-video-tdfx/patches/patch-ac13
-rw-r--r--x11/xf86-video-tdfx/patches/patch-ad13
2 files changed, 26 insertions, 0 deletions
diff --git a/x11/xf86-video-tdfx/patches/patch-ac b/x11/xf86-video-tdfx/patches/patch-ac
new file mode 100644
index 00000000000..df8001ce8d2
--- /dev/null
+++ b/x11/xf86-video-tdfx/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/08/15 17:55:42 joerg Exp $
+
+--- configure.ac.orig 2007-08-15 19:51:28.000000000 +0200
++++ configure.ac
+@@ -67,7 +67,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],
diff --git a/x11/xf86-video-tdfx/patches/patch-ad b/x11/xf86-video-tdfx/patches/patch-ad
new file mode 100644
index 00000000000..25c0d7d1a07
--- /dev/null
+++ b/x11/xf86-video-tdfx/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2007/08/15 17:55:42 joerg Exp $
+
+--- configure.orig 2007-08-15 19:52:03.000000000 +0200
++++ configure
+@@ -21329,7 +21329,7 @@ _ACEOF
+ fi
+
+
+-if test "$DRI" != no; then
++if test "x$DRI" = xauto; then
+ as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
+ { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
+ echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }