Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1935a79b0d27cd1e22045068a3a55b6a6eac1d62

commit 1935a79b0d27cd1e22045068a3a55b6a6eac1d62
Author: Melko <me...@frugalware.org>
Date:   Tue Sep 13 20:38:04 2011 +0200

qt-3.3.8-14-i686

* rebuild with gcc-4.6

diff --git a/source/xlib/qt/FrugalBuild b/source/xlib/qt/FrugalBuild
index 0fe0eef..a74f475 100644
--- a/source/xlib/qt/FrugalBuild
+++ b/source/xlib/qt/FrugalBuild
@@ -5,7 +5,7 @@
pkgname=qt
pkgver=3.3.8
extraver=b
-pkgrel=13
+pkgrel=14
pkgmore=x11-free
pkgdesc="The QT GUI toolkit."
url="http://www.trolltech.com/products/qt";
@@ -20,6 +20,7 @@ 
source=(ftp://ftp.trolltech.com/qt/source/$pkgname-$pkgmore-$pkgver$extraver.tar
http://ftp.frugalware.org/pub/other/sources/qt/patches-765767.tar.bz2 \
qt.sh apply_patches \
01-qt-gcc4.patch \
+       gcc-4.6.patch \
02-qt-rpath+FW.patch \
04-qt-visibility.patch \
qt3-png14.patch \
@@ -29,6 +30,7 @@ sha1sums=('745def6250dc7f337dbb265e20bf38dcb41fd854' \
'e281176c76dc9ef0f06aba57f107ccb074eb317d' \
'7562323175ec47483dcb45c2857519f6276e0a51' \
'54d37e3988c4b195ae960ef2c59e678151115211' \
+          'd9b83b8f6f9c8bd98d290dc1d0e9913a00b62c3f' \
'0d5fcbe569723792700bad3c82abe34d5e5163c4' \
'0e88e4f3a184b0f0544bd0cbd8302e55aaf14871' \
'c8ea644266f4d6d6be9adf894f03138b8eca3fc2' \
diff --git a/source/xlib/qt/gcc-4.6.patch b/source/xlib/qt/gcc-4.6.patch
new file mode 100644
index 0000000..bcbffce
--- /dev/null
+++ b/source/xlib/qt/gcc-4.6.patch
@@ -0,0 +1,33 @@
+diff -up qt-x11-free-3.3.8b/src/tools/qmap.h.cstddef 
qt-x11-free-3.3.8b/src/tools/qmap.h
+--- qt-x11-free-3.3.8b/src/tools/qmap.h.cstddef        2008-01-15 
13:09:13.000000000 -0600
++++ qt-x11-free-3.3.8b/src/tools/qmap.h        2011-01-30 21:14:29.275088725 
-0600
+@@ -49,6 +49,7 @@
+ #include "qvaluelist.h"
+ #endif // QT_H
+
++#include <cstddef>
+ #ifndef QT_NO_STL
+ #include <iterator>
+ #include <map>
+diff -up qt-x11-free-3.3.8b/src/tools/qvaluelist.h.cstddef 
qt-x11-free-3.3.8b/src/tools/qvaluelist.h
+--- qt-x11-free-3.3.8b/src/tools/qvaluelist.h.cstddef  2008-01-15 
13:09:13.000000000 -0600
++++ qt-x11-free-3.3.8b/src/tools/qvaluelist.h  2011-01-30 21:14:01.765846592 
-0600
+@@ -47,6 +47,7 @@
+ #include "qdatastream.h"
+ #endif // QT_H
+
++#include <cstddef>
+ #ifndef QT_NO_STL
+ #include <iterator>
+ #include <list>
+diff -up qt-x11-free-3.3.8b/src/tools/qvaluevector.h.cstddef 
qt-x11-free-3.3.8b/src/tools/qvaluevector.h
+--- qt-x11-free-3.3.8b/src/tools/qvaluevector.h.cstddef        2008-01-15 
13:09:13.000000000 -0600
++++ qt-x11-free-3.3.8b/src/tools/qvaluevector.h        2011-01-30 
21:14:01.765846592 -0600
+@@ -45,6 +45,7 @@
+ #include "qdatastream.h"
+ #endif // QT_H
+
++#include <cstddef>
+ #ifndef QT_NO_STL
+ #include <vector>
+ #endif
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to