summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qt/ChangeLog6
-rw-r--r--x11-libs/qt/files/qt-3.1.0-minimized.diff10
-rw-r--r--x11-libs/qt/qt-3.1.0.ebuild8
3 files changed, 21 insertions, 3 deletions
diff --git a/x11-libs/qt/ChangeLog b/x11-libs/qt/ChangeLog
index 6025b92dd79a..b7a7425ea184 100644
--- a/x11-libs/qt/ChangeLog
+++ b/x11-libs/qt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.31 2002/11/14 19:36:03 hannes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.32 2002/11/15 15:12:16 hannes Exp $
+
+ 15 Nov 2002; Hannes Mehnert <hannes@gentoo.org> qt-3.1.0.ebuild:
+ Added patch for QWidget::showMinimized() that didn't make it into the final
+ Qt 3.1 release anymore. It fixes child windows being hidden randomly.
*qt-3.1.0 (14 Nov 2002)
diff --git a/x11-libs/qt/files/qt-3.1.0-minimized.diff b/x11-libs/qt/files/qt-3.1.0-minimized.diff
new file mode 100644
index 000000000000..921b9dce8db3
--- /dev/null
+++ b/x11-libs/qt/files/qt-3.1.0-minimized.diff
@@ -0,0 +1,10 @@
+--- src/kernel/qwidget_x11.cpp.orig 2002-11-15 15:00:51.000000000 +0100
++++ src/kernel/qwidget_x11.cpp 2002-11-15 15:01:07.000000000 +0100
+@@ -1561,7 +1561,6 @@
+ else {
+ topData()->showMode = 1;
+ show();
+- hideChildren( FALSE );
+ }
+ } else {
+ show();
diff --git a/x11-libs/qt/qt-3.1.0.ebuild b/x11-libs/qt/qt-3.1.0.ebuild
index 12ca3a106146..0461cb789ce7 100644
--- a/x11-libs/qt/qt-3.1.0.ebuild
+++ b/x11-libs/qt/qt-3.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.0.ebuild,v 1.1 2002/11/14 19:36:04 hannes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.0.ebuild,v 1.2 2002/11/15 15:12:16 hannes Exp $
IUSE="cups nas postgres opengl mysql odbc gif"
@@ -38,10 +38,14 @@ src_unpack() {
unpack ${A}
cd ${S}
+
+ # this patch fixes child windows being hidden randomly.
+ patch -p0 < ${FILESDIR}/${P}-minimized.diff
+
cp configure configure.orig
sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
- cd ${S}/mkspecs/linux-g++
+ cd mkspecs/linux-g++
# use env's $CC, $CXX
if [ -n "$CXX" ]; then
einfo 'Using environment definition of $CXX'