summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-01-20 12:32:37 +0000
committerDror Levin <spatz@gentoo.org>2010-01-20 12:32:37 +0000
commita00d5199344654e6d9f58a4967c79f9aac66a560 (patch)
tree308ddff1e3ed185b24316b674c44efa839f56f71
parentRemake nolibx11 patch for 4.6.1. (diff)
downloadgentoo-2-a00d5199344654e6d9f58a4967c79f9aac66a560.tar.gz
gentoo-2-a00d5199344654e6d9f58a4967c79f9aac66a560.tar.bz2
gentoo-2-a00d5199344654e6d9f58a4967c79f9aac66a560.zip
Remake nolibx11 patch for 4.6.1.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
-rw-r--r--x11-libs/qt-sql/ChangeLog6
-rw-r--r--x11-libs/qt-sql/files/qt-4.6.1-nolibx11.patch18
-rw-r--r--x11-libs/qt-sql/qt-sql-4.6.1.ebuild4
3 files changed, 25 insertions, 3 deletions
diff --git a/x11-libs/qt-sql/ChangeLog b/x11-libs/qt-sql/ChangeLog
index 1b0f90a8eae1..f33f705e6f3c 100644
--- a/x11-libs/qt-sql/ChangeLog
+++ b/x11-libs/qt-sql/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt-sql
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.69 2010/01/19 14:56:46 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.70 2010/01/20 12:32:37 spatz Exp $
+
+ 20 Jan 2010; Dror Levin <spatz@gentoo.org> qt-sql-4.6.1.ebuild,
+ +files/qt-4.6.1-nolibx11.patch:
+ Remake nolibx11 patch for 4.6.1.
*qt-sql-4.6.1 (19 Jan 2010)
diff --git a/x11-libs/qt-sql/files/qt-4.6.1-nolibx11.patch b/x11-libs/qt-sql/files/qt-4.6.1-nolibx11.patch
new file mode 100644
index 000000000000..e5d13327b8ce
--- /dev/null
+++ b/x11-libs/qt-sql/files/qt-4.6.1-nolibx11.patch
@@ -0,0 +1,18 @@
+--- configure-orig 2010-01-20 14:18:32.466798257 +0200
++++ configure 2010-01-20 14:18:58.516799116 +0200
+@@ -5059,15 +5059,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
diff --git a/x11-libs/qt-sql/qt-sql-4.6.1.ebuild b/x11-libs/qt-sql/qt-sql-4.6.1.ebuild
index c2893eede2db..efaf6cae0584 100644
--- a/x11-libs/qt-sql/qt-sql-4.6.1.ebuild
+++ b/x11-libs/qt-sql/qt-sql-4.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.6.1.ebuild,v 1.1 2010/01/19 14:56:46 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.6.1.ebuild,v 1.2 2010/01/20 12:32:37 spatz Exp $
EAPI="2"
inherit qt4-build
@@ -32,7 +32,7 @@ src/3rdparty
src/tools"
PATCHES=(
- "${FILESDIR}/qt-4.6-nolibx11.diff"
+ "${FILESDIR}/qt-${PV}-nolibx11.patch"
)
pkg_setup() {