summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-11-01 15:55:12 +0000
committerhans <hans@pkgsrc.org>2011-11-01 15:55:12 +0000
commit8168ab3a6c756ca179a61803e04a178d6fb997ef (patch)
treede7196521938a382d8eda3081a7757df47f06d3a /x11
parentb6b3fa3b6e900d6016c8e82007a37b27a56207de (diff)
downloadpkgsrc-8168ab3a6c756ca179a61803e04a178d6fb997ef.tar.gz
Fix build on SunOS with gcc 4.6.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs4/distinfo3
-rw-r--r--x11/kdelibs4/patches/patch-kjs_JSImmediate.h11
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/kdelibs4/distinfo b/x11/kdelibs4/distinfo
index 081742eff76..381f43580f7 100644
--- a/x11/kdelibs4/distinfo
+++ b/x11/kdelibs4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2011/09/27 10:48:20 markd Exp $
+$NetBSD: distinfo,v 1.20 2011/11/01 15:55:12 hans Exp $
SHA1 (kdelibs-4.5.5.tar.bz2) = 127a2b50fe31ff345e05660dd50f7c55ae78d854
RMD160 (kdelibs-4.5.5.tar.bz2) = 7c33afa12379119fbf7d70e8895c3f2ada9a2eba
@@ -17,3 +17,4 @@ SHA1 (patch-an) = b5fe924970772bd8a5b420f8cc638ab8bf892c53
SHA1 (patch-cmake_modules_FindTaglib.cmake) = 97baf0e5c9f53a17582d89ee41cb4d99fbd15424
SHA1 (patch-kdeui_colors_kcolordialog.cpp) = f105006a778c42a93452fc4bf5d561aa62595a5c
SHA1 (patch-khtml_khtml_part.cpp) = f8f5977b03463b6de909881178abed3ba351364c
+SHA1 (patch-kjs_JSImmediate.h) = 29949739140d766362d308ece28c96aef593ed73
diff --git a/x11/kdelibs4/patches/patch-kjs_JSImmediate.h b/x11/kdelibs4/patches/patch-kjs_JSImmediate.h
new file mode 100644
index 00000000000..abae574eb75
--- /dev/null
+++ b/x11/kdelibs4/patches/patch-kjs_JSImmediate.h
@@ -0,0 +1,11 @@
+--- kjs/JSImmediate.h.orig 2010-05-16 22:04:04.000000000 +0200
++++ kjs/JSImmediate.h 2011-10-24 17:26:02.608429864 +0200
+@@ -33,7 +33,7 @@
+ #endif
+ #include <stdlib.h>
+
+-#if PLATFORM(SOLARIS_OS)
++#if PLATFORM(SOLARIS_OS) && COMPILER(GCC) && (__GNUC__ <= 4 && __GNUC_MINOR__ < 6)
+ static inline int signbit(double x)
+ {
+ return (x<0.0) ? 1 : 0;