summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-12-03 17:25:19 +0000
committerAlex Alexander <wired@gentoo.org>2009-12-03 17:25:19 +0000
commit530a11dc64d49f36c2854fbcb68602855f05e2f2 (patch)
treed9c0e9a740a3f6d0a441103e40127e1aa4b4ed45 /x11-libs/qt-test/files
parentMarking gnome-applets-2.26.3 ppc64 for bug 281427 (diff)
downloadhistorical-530a11dc64d49f36c2854fbcb68602855f05e2f2.tar.gz
historical-530a11dc64d49f36c2854fbcb68602855f05e2f2.tar.bz2
historical-530a11dc64d49f36c2854fbcb68602855f05e2f2.zip
added qt-4.6-nolibx11.diff patch
Package-Manager: portage-2.2_rc54/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/qt-test/files')
-rw-r--r--x11-libs/qt-test/files/qt-4.6-nolibx11.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-libs/qt-test/files/qt-4.6-nolibx11.diff b/x11-libs/qt-test/files/qt-4.6-nolibx11.diff
new file mode 100644
index 000000000000..d3c1d1f75121
--- /dev/null
+++ b/x11-libs/qt-test/files/qt-4.6-nolibx11.diff
@@ -0,0 +1,18 @@
+--- configure.old 2009-12-03 18:52:58.061117684 +0200
++++ configure 2009-12-03 18:53:09.065116496 +0200
+@@ -5010,15 +5010,6 @@
+ X11TESTS_FLAGS="$X11TESTS_FLAGS -fpermissive"
+ fi
+
+- # Check we actually have X11 :-)
+- "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xlib "XLib" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS
+- if [ $? != "0" ]; then
+- echo "Basic XLib functionality test failed!"
+- echo " You might need to modify the include and library search paths by editing"
+- echo " QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in ${XQMAKESPEC}."
+- exit 1
+- fi
+-
+ # auto-detect OpenGL support (es1 = OpenGL ES 1.x Common, es1cl = ES 1.x common lite, es2 = OpenGL ES 2.x)
+ if [ "$CFG_OPENGL" = "auto" ] || [ "$CFG_OPENGL" = "yes" ]; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/opengl "OpenGL" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then