summaryrefslogtreecommitdiff
path: root/x11/qt4-libs
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 17:56:08 +0000
committerhans <hans@pkgsrc.org>2011-09-14 17:56:08 +0000
commite54287f00271cb8716819825672b4d1dc0f2b0c2 (patch)
treec20fb238580302d6861b33a96c3d94ed2500455a /x11/qt4-libs
parent6d44e44fbafaabecd9b420976819d4811924c4f0 (diff)
downloadpkgsrc-e54287f00271cb8716819825672b4d1dc0f2b0c2.tar.gz
Fix build on SunOS.
Diffstat (limited to 'x11/qt4-libs')
-rw-r--r--x11/qt4-libs/distinfo4
-rw-r--r--x11/qt4-libs/patches/patch-src_3rdparty_webkit_JavaScriptCore_wtf_MathExtras.h13
-rw-r--r--x11/qt4-libs/patches/patch-src_3rdparty_webkit_WebCore_WebCore.pro13
3 files changed, 29 insertions, 1 deletions
diff --git a/x11/qt4-libs/distinfo b/x11/qt4-libs/distinfo
index f20368f04d1..764e4b6c5ea 100644
--- a/x11/qt4-libs/distinfo
+++ b/x11/qt4-libs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.61 2011/09/04 15:42:51 adam Exp $
+$NetBSD: distinfo,v 1.62 2011/09/14 17:58:32 hans Exp $
SHA1 (qt-everywhere-opensource-src-4.7.4.tar.gz) = ac7b4df34adaa6e9d1fb41743d1f15f5aac481db
RMD160 (qt-everywhere-opensource-src-4.7.4.tar.gz) = 347ba2c4f855b40bf3ce90adb19c1a87925e6c61
@@ -46,5 +46,7 @@ SHA1 (patch-cg) = c5948cea47fb4134c626415b0b2c36660beea64a
SHA1 (patch-ch) = 8efaa05e564022710ff978b59581c017bbece979
SHA1 (patch-ci) = a2ac5703503afcdb2a87f80a8ba373c8ff7a2697
SHA1 (patch-cj) = 49fd8ae10c5fc026101355596b91fcf3e1701b9d
+SHA1 (patch-src_3rdparty_webkit_JavaScriptCore_wtf_MathExtras.h) = f619b189991c3b29033970320dbf5a0ec564248a
+SHA1 (patch-src_3rdparty_webkit_WebCore_WebCore.pro) = 41fbce9872c2d6b4977772d88391b1194ec37b2e
SHA1 (patch-src_network_ssl_qsslsocket__openssl__symbols.cpp) = 87c48f97ba2026f4bb553aa0b855bc1b1f653abf
SHA1 (patch-src_network_ssl_qsslsocket__openssl__symbols__p.h) = e05f420bd532a8964d293e4bad848636dc716d0f
diff --git a/x11/qt4-libs/patches/patch-src_3rdparty_webkit_JavaScriptCore_wtf_MathExtras.h b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_JavaScriptCore_wtf_MathExtras.h
new file mode 100644
index 00000000000..90c8bd36994
--- /dev/null
+++ b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_JavaScriptCore_wtf_MathExtras.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_3rdparty_webkit_JavaScriptCore_wtf_MathExtras.h,v 1.1 2011/09/14 17:58:32 hans Exp $
+
+--- src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h.orig 2010-11-06 02:55:19.000000000 +0100
++++ src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h 2011-01-16 11:57:37.742721037 +0100
+@@ -190,7 +190,7 @@ inline float deg2turn(float d) { return
+ inline float rad2grad(float r) { return r * 200.0f / piFloat; }
+ inline float grad2rad(float g) { return g * piFloat / 200.0f; }
+
+-#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(ANDROID) && !COMPILER(WINSCW)
++#if !COMPILER(MSVC) && !COMPILER(WINSCW) && !(COMPILER(RVCT) && (OS(SYMBIAN) || PLATFORM(BREWMP))) && !OS(SOLARIS)
+ using std::isfinite;
+ using std::isinf;
+ using std::isnan;
diff --git a/x11/qt4-libs/patches/patch-src_3rdparty_webkit_WebCore_WebCore.pro b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_WebCore_WebCore.pro
new file mode 100644
index 00000000000..77c219609ec
--- /dev/null
+++ b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_WebCore_WebCore.pro
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_3rdparty_webkit_WebCore_WebCore.pro,v 1.1 2011/09/14 17:58:32 hans Exp $
+
+--- src/3rdparty/webkit/WebCore/WebCore.pro.orig 2010-11-06 02:55:21.000000000 +0100
++++ src/3rdparty/webkit/WebCore/WebCore.pro 2011-01-15 17:31:40.334667952 +0100
+@@ -90,7 +90,7 @@ unix {
+ }
+
+ unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
+-unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
++unix:!mac:!solaris-*:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
+ linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
+
+ CONFIG(release):!CONFIG(standalone_package) {