Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ba87e61454b5c3195bb7a27e1d0ccccbc407766e
commit ba87e61454b5c3195bb7a27e1d0ccccbc407766e Author: Marius Cirsta <[email protected]> Date: Fri Apr 13 23:51:14 2012 +0000 qt4-4.8.1-3-x86_64 * add patches to fix i686 build diff --git a/source/xlib-extra/qt4/FrugalBuild b/source/xlib-extra/qt4/FrugalBuild index 633f470..7cee03a 100644 --- a/source/xlib-extra/qt4/FrugalBuild +++ b/source/xlib-extra/qt4/FrugalBuild @@ -7,7 +7,7 @@ USE_DETECTDEPENDS=${USE_DETECTDEPENDS:-"n"} pkgname=qt4 _F_archive_name=qt-everywhere-opensource-src pkgver=4.8.1 -pkgrel=2 +pkgrel=3 pkgdesc="The QT4 GUI toolkit." url="http://qt.nokia.com/products/" depends=() @@ -24,12 +24,16 @@ source=(ftp://ftp.qt.nokia.com/qt/source/$_F_archive_name-$pkgver.tar.gz \ frugalware.patch \ fix-config.tests.patch \ qt-gui-4.8.1-fix-calligra-crash.patch \ - qt-everywhere-opensource-src-4.8.0-gcc-4.7.patch) + qt-everywhere-opensource-src-4.8.0-gcc-4.7.patch \ + no-werror.patch \ + qt-everywhere-opensource-src-4.8.0-qtwebkit-glib231.patch) sha1sums=('a074d0f605f009e23c63e0a4cb9b71c978146ffc' \ '39b67a38c74acc9bba9940cbb39af73fef030edb' \ 'e2522839807839f1af77de7ccd4c9e8c7df4acd0' \ '81998944520def371e07d8bfd88bc9a5f693836b' \ - 'ac832f374a6b59c12bf4438c47845d7d6d4d1d59') + 'ac832f374a6b59c12bf4438c47845d7d6d4d1d59' \ + 'd39a3bfad54e5f73d8fc343366141ed41c42716a' \ + 'fcbde351e76daab62c6efdde81709d79809fd417') export LD_LIBRARY_PATH=$Fsrcdir/$_F_archive_name-$pkgver/lib:${LD_LIBRARY_PATH} export YACC='yacc -d' diff --git a/source/xlib-extra/qt4/no-werror.patch b/source/xlib-extra/qt4/no-werror.patch new file mode 100644 index 0000000..ddb6233 --- /dev/null +++ b/source/xlib-extra/qt4/no-werror.patch @@ -0,0 +1,11 @@ +--- qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/WebKit.pri 2012-03-14 16:01:29.000000000 +0200 ++++ qt-everywhere-opensource-src-4.8.1.new/src/3rdparty/webkit/Source/WebKit.pri 2012-04-14 01:32:42.906180630 +0300 +@@ -102,7 +102,7 @@ + + # Treat warnings as errors on x86/Linux/GCC + linux-g++* { +- !CONFIG(standalone_package):isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror ++ #!CONFIG(standalone_package):isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror + + greaterThan(QT_GCC_MAJOR_VERSION, 3):greaterThan(QT_GCC_MINOR_VERSION, 5) { + if (!contains(QMAKE_CXXFLAGS, -std=c++0x) && !contains(QMAKE_CXXFLAGS, -std=gnu++0x)) { diff --git a/source/xlib-extra/qt4/qt-everywhere-opensource-src-4.8.0-qtwebkit-glib231.patch b/source/xlib-extra/qt4/qt-everywhere-opensource-src-4.8.0-qtwebkit-glib231.patch new file mode 100644 index 0000000..e24cb5c --- /dev/null +++ b/source/xlib-extra/qt4/qt-everywhere-opensource-src-4.8.0-qtwebkit-glib231.patch @@ -0,0 +1,12 @@ +diff -ur qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h qt-everywhere-opensource-src-4.8.0-qtwebkit-glib231/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h +--- qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h 2011-10-04 05:44:31.000000000 +0200 ++++ qt-everywhere-opensource-src-4.8.0-qtwebkit-glib231/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h 2011-10-28 02:12:16.000000000 +0200 +@@ -52,7 +52,7 @@ + typedef struct _GHashTable GHashTable; + typedef struct _GInputStream GInputStream; + typedef struct _GList GList; +-typedef struct _GMutex GMutex; ++typedef union _GMutex GMutex; + typedef struct _GPatternSpec GPatternSpec; + typedef struct _GPollableOutputStream GPollableOutputStream; + typedef struct _GSocketClient GSocketClient; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
