summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-04-25 00:11:48 +0200
committer Eric Hameleers <alien@slackware.com>2013-04-25 00:11:48 +0200
commit3d75220e10122e7e9f82c600a0e38d587c9337d5 (patch)
tree4585efbbd5af1de87ae0ffef239c7fa65a8a7dd2
parent3c46731cd47f431ca4e726119751c07f367b65e0 (diff)
downloadalienarm-3d75220e10122e7e9f82c600a0e38d587c9337d5.tar.gz
alienarm-3d75220e10122e7e9f82c600a0e38d587c9337d5.tar.xz
QT: Patched to fix a plasma crash in KDE.
See https://bugreports.qt-project.org/browse/QTBUG-29082
-rw-r--r--source.local/l/qt/qt-fix-qvmemetadata-crash.patch.gzbin0 -> 848 bytes
-rwxr-xr-xsource.local/l/qt/qt.SlackBuild15
2 files changed, 10 insertions, 5 deletions
diff --git a/source.local/l/qt/qt-fix-qvmemetadata-crash.patch.gz b/source.local/l/qt/qt-fix-qvmemetadata-crash.patch.gz
new file mode 100644
index 0000000..3080cc4
--- /dev/null
+++ b/source.local/l/qt/qt-fix-qvmemetadata-crash.patch.gz
Binary files differ
diff --git a/source.local/l/qt/qt.SlackBuild b/source.local/l/qt/qt.SlackBuild
index a35f270..cf1d715 100755
--- a/source.local/l/qt/qt.SlackBuild
+++ b/source.local/l/qt/qt.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -41,7 +41,7 @@
PKGNAM=qt
VERSION=${VERSION:-4.8.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-5}
NUMJOBS=${NUMJOBS:--j7}
@@ -116,6 +116,9 @@ zcat $CWD/qt.webkit-no_Werror.patch.gz | patch -p1 --verbose || exit 1
# Patch for boost-1.53:
zcat $CWD/qt-everywhere-opensource-src-4.8.4-QTBUG-22829.diff.gz | patch -p1 --verbose || exit 1
+# Fix call to QMetaObject::metaCall from updateProperty (QTBUG-29082):
+zcat $CWD/qt-fix-qvmemetadata-crash.patch.gz | patch -p1 --verbose || exit 1
+
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
export OPENSOURCE_CXXFLAGS="$SLKCFLAGS"
@@ -286,9 +289,11 @@ EOF
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a *GPL_EXCEPTION* FAQ* INSTALL KNOWN* LICENSE* README* changes-* \
$PKG/usr/doc/$PKGNAM-$VERSION
-( cd $PKG/usr/doc/$PKGNAM-$VERSION
- ln -sf /usr/lib${LIBDIRSUFFIX}/qt/doc/html .
-)
+if [ -d $PKG/usr/lib${LIBDIRSUFFIX}/qt/doc/html ]; then
+ ( cd $PKG/usr/doc/$PKGNAM-$VERSION
+ ln -sf /usr/lib${LIBDIRSUFFIX}/qt/doc/html .
+ )
+fi
mkdir -p $PKG/install
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh