summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Kocmid <raxas@pavouk-v-rohu.net>2009-08-25 05:03:23 +0200
committerPetr Kocmid <raxas@pavouk-v-rohu.net>2009-08-25 05:03:23 +0200
commit89457c9bef10ef9272f43773a6b2830420de9fe8 (patch)
treec32ad1e2c78a8de40ecfd0b61d5dea8e355923f9 /app-office/kword/files/kword-1.6.3-gcc44.patch
parentkde-misc dirty stuff, needs more separation 3|4 (diff)
downloadkde-sunset-89457c9bef10ef9272f43773a6b2830420de9fe8.tar.gz
kde-sunset-89457c9bef10ef9272f43773a6b2830420de9fe8.tar.bz2
kde-sunset-89457c9bef10ef9272f43773a6b2830420de9fe8.zip
koffice 1.6 for kde3 and some more kde3/qt3 office apps
Diffstat (limited to 'app-office/kword/files/kword-1.6.3-gcc44.patch')
-rw-r--r--app-office/kword/files/kword-1.6.3-gcc44.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/app-office/kword/files/kword-1.6.3-gcc44.patch b/app-office/kword/files/kword-1.6.3-gcc44.patch
new file mode 100644
index 00000000..47c969bd
--- /dev/null
+++ b/app-office/kword/files/kword-1.6.3-gcc44.patch
@@ -0,0 +1,47 @@
+--- kword-1.6.3_p20090204-orig/work/kword-1.6.3_p20090519/filters/kword/pdf/xpdf/goo/gfile.cc 2009-05-25 15:51:25.000000000 +0100
++++ kword-1.6.3_p20090204/work/kword-1.6.3_p20090519/filters/kword/pdf/xpdf/goo/gfile.cc 2009-05-25 15:51:20.000000000 +0100
+@@ -277,7 +277,7 @@
+ GString *grabPath(const char *fileName) {
+ #ifdef VMS
+ //---------- VMS ----------
+- char *p;
++ const char *p;
+
+ if ((p = strrchr(fileName, ']')))
+ return new GString(fileName, p + 1 - fileName);
+@@ -287,7 +287,7 @@
+
+ #elif defined(__EMX__) || defined(WIN32)
+ //---------- OS/2+EMX and Win32 ----------
+- char *p;
++ const char *p;
+
+ if ((p = strrchr(fileName, '/')))
+ return new GString(fileName, p - fileName);
+@@ -300,7 +300,7 @@
+
+ #elif defined(ACORN)
+ //---------- RISCOS ----------
+- char *p;
++ const char *p;
+
+ if ((p = strrchr(fileName, '.')))
+ return new GString(fileName, p - fileName);
+@@ -307,7 +307,7 @@
+
+ #elif defined(MACOS)
+ //---------- MacOS ----------
+- char *p;
++ const char *p;
+
+ if ((p = strrchr(fileName, ':')))
+ return new GString(fileName, p - fileName);
+@@ -315,7 +315,7 @@
+
+ #else
+ //---------- Unix ----------
+- char *p;
++ const char *p;
+
+ if ((p = strrchr(fileName, '/')))
+ return new GString(fileName, p - fileName);