summaryrefslogtreecommitdiff
path: root/audio/xsidplay/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2007-01-13 11:02:12 +0000
committerjoerg <joerg>2007-01-13 11:02:12 +0000
commit4bb0cf1447f0a374873f22e08472abb6dd49342f (patch)
tree2471fe29d45819496af32d17af08cf1c1e0ed51a /audio/xsidplay/patches
parentb55316bf37b4f43514b3f8e42469ab81f0e91b5c (diff)
downloadpkgsrc-4bb0cf1447f0a374873f22e08472abb6dd49342f.tar.gz
Fix Xt test.
Diffstat (limited to 'audio/xsidplay/patches')
-rw-r--r--audio/xsidplay/patches/patch-aa20
1 files changed, 16 insertions, 4 deletions
diff --git a/audio/xsidplay/patches/patch-aa b/audio/xsidplay/patches/patch-aa
index 610f29d97b1..269e41ec63c 100644
--- a/audio/xsidplay/patches/patch-aa
+++ b/audio/xsidplay/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.10 2005/10/03 20:48:42 joerg Exp $
+$NetBSD: patch-aa,v 1.11 2007/01/13 11:02:12 joerg Exp $
--- configure.orig 2003-02-01 20:18:09.000000000 +0000
+++ configure
@@ -44,7 +44,19 @@ $NetBSD: patch-aa,v 1.10 2005/10/03 20:48:42 joerg Exp $
cat >> confdefs.h <<\EOF
#define HAVE_FREEBSD 1
EOF
-@@ -7789,6 +7792,7 @@ fi
+@@ -6946,9 +6949,10 @@ if test "$ac_x_libraries" = NO; then
+ cat > conftest.$ac_ext <<EOF
+ #line 6948 "configure"
+ #include "confdefs.h"
++#include <X11/Intrinsic.h>
+
+ int main() {
+-${x_direct_test_function}()
++${x_direct_test_function}(0)
+ ; return 0; }
+ EOF
+ if { (eval echo configure:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+@@ -7789,6 +7793,7 @@ fi
done
my_qt_includes=$qt_incdir
@@ -52,7 +64,7 @@ $NetBSD: patch-aa,v 1.10 2005/10/03 20:48:42 joerg Exp $
qt_libdir=""
for i in $qt_libdirs;
-@@ -7797,6 +7801,8 @@ my_qt_includes=$qt_incdir
+@@ -7797,6 +7802,8 @@ my_qt_includes=$qt_incdir
do
if test -r "$i/$j"; then
qt_libdir=$i
@@ -61,7 +73,7 @@ $NetBSD: patch-aa,v 1.10 2005/10/03 20:48:42 joerg Exp $
break 2
fi
done
-@@ -7886,7 +7892,7 @@ echo "configure:7879: checking for Qt ve
+@@ -7886,7 +7893,7 @@ echo "configure:7879: checking for Qt ve
CXX="${SHELL-/bin/sh} ${srcdir}/libtool $CXX"
CXXFLAGS="$CXXFLAGS $QT_INCLUDES"
LDFLAGS="$LDFLAGS $QT_LDFLAGS"