summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2003-09-27 17:38:23 +0000
committerCaleb Tennis <caleb@gentoo.org>2003-09-27 17:38:23 +0000
commitfd97b9d587fc4205f2ca7a4ca509d22024f4ee42 (patch)
tree4ae36be70bcb6ee2505af7b5d329ec348d10ad43 /kde-base
parentremoving stale versions (diff)
downloadgentoo-2-fd97b9d587fc4205f2ca7a4ca509d22024f4ee42.tar.gz
gentoo-2-fd97b9d587fc4205f2ca7a4ca509d22024f4ee42.tar.bz2
gentoo-2-fd97b9d587fc4205f2ca7a4ca509d22024f4ee42.zip
add in alpha patch
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdelibs/Manifest1
-rw-r--r--kde-base/kdelibs/files/kdelibs-3.1.4-kjs-alphaev6-gcc3-workaround.patch19
2 files changed, 20 insertions, 0 deletions
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
index af23e7a8539f..cce430056586 100644
--- a/kde-base/kdelibs/Manifest
+++ b/kde-base/kdelibs/Manifest
@@ -8,6 +8,7 @@ MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
MD5 4232704fe9aeecbb09dbed9cb45b8529 files/kdelibs-3.0.5b-khtml.patch 848
MD5 acd90863c0847e230aa37f3943d58176 files/kdelibs-3.0.5b-libxml2-2.5.2.diff 703
MD5 09f2cae6a320fd2baef3d56102cb6f62 files/digest-kdelibs-3.0.5b-r1 68
+MD5 41d30ba8cf8d36ad3caebeedb1ddfd0e files/kdelibs-3.1.4-kjs-alphaev6-gcc3-workaround.patch 477
MD5 762b24559d7e5b32397efa5526d5d15c files/digest-kdelibs-3.2.0_alpha2 69
MD5 59ee1c9df7f517bf94aa313a96dfc2d6 files/digest-kdelibs-3.1.4 68
MD5 41d30ba8cf8d36ad3caebeedb1ddfd0e files/kdelibs-3.1.2-kjs-alphaev6-gcc3-workaround.patch 477
diff --git a/kde-base/kdelibs/files/kdelibs-3.1.4-kjs-alphaev6-gcc3-workaround.patch b/kde-base/kdelibs/files/kdelibs-3.1.4-kjs-alphaev6-gcc3-workaround.patch
new file mode 100644
index 000000000000..930776d23a51
--- /dev/null
+++ b/kde-base/kdelibs/files/kdelibs-3.1.4-kjs-alphaev6-gcc3-workaround.patch
@@ -0,0 +1,19 @@
+--- kjs/ustring.cpp.orig 2003-01-23 15:49:49.000000000 -0500
++++ kjs/ustring.cpp 2003-01-27 19:49:00.000000000 -0500
+@@ -421,8 +421,15 @@
+ {
+ double d = toDouble();
+ bool b = true;
++ /* useless temporary variable to work around gcc optimization bug */
++ bool nan = false;
+
+- if (isNaN(d) || d != static_cast<unsigned long>(d)) {
++ if (isNaN(d)) {
++ d = 0;
++ nan = true;
++ }
++
++ if (nan || d != static_cast<unsigned long>(d)) {
+ b = false;
+ d = 0;
+ }