summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdelibs/files/kdelibs-3.1.1a-kjs-alphaev6-gcc3-workaround.patch')
-rw-r--r--kde-base/kdelibs/files/kdelibs-3.1.1a-kjs-alphaev6-gcc3-workaround.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-3.1.1a-kjs-alphaev6-gcc3-workaround.patch b/kde-base/kdelibs/files/kdelibs-3.1.1a-kjs-alphaev6-gcc3-workaround.patch
deleted file mode 100644
index 930776d23a51..000000000000
--- a/kde-base/kdelibs/files/kdelibs-3.1.1a-kjs-alphaev6-gcc3-workaround.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- 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;
- }