summaryrefslogtreecommitdiffstats
path: root/test/rxvt-unicode/gcc4.4.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-26 23:31:27 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-26 23:31:27 +0100
commitdec72baef7129468932f07dc3d6cf70c5b92ad44 (patch)
tree38f2ceb0f5a56d6443371dc88a90054a9cc556ad /test/rxvt-unicode/gcc4.4.patch
parenta4a6af59a81f826d923111f0e5adde6e688c7c06 (diff)
downloadnutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.tar.gz
nutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.tar.bz2
nutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.tar.xz
nutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.zip
rxvt-unicode dans test
Diffstat (limited to 'test/rxvt-unicode/gcc4.4.patch')
-rw-r--r--test/rxvt-unicode/gcc4.4.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/rxvt-unicode/gcc4.4.patch b/test/rxvt-unicode/gcc4.4.patch
new file mode 100644
index 000000000..06be6c4ba
--- /dev/null
+++ b/test/rxvt-unicode/gcc4.4.patch
@@ -0,0 +1,23 @@
+--- src/command.C.old 2009-05-28 15:21:04.457772957 +0200
++++ src/command.C 2009-05-28 15:18:52.684597530 +0200
+@@ -3336,7 +3336,7 @@
+ }
+ else
+ {
+- char *eq = strchr (str, '='); // constness lost, but verified to be ok
++ char *eq = (char *) strchr ( str, '='); // constness lost, but verified to be ok
+
+ if (eq)
+ {
+--- src/misc.C.old 2009-05-28 15:21:16.400270603 +0200
++++ src/misc.C 2009-05-28 15:21:51.697108339 +0200
+@@ -170,7 +170,7 @@
+ char *
+ rxvt_basename (const char *str) NOTHROW
+ {
+- char *base = strrchr (str, '/');
++ char *base = (char *) strrchr (str, '/');
+
+ return (char *) (base ? base + 1 : str);
+ }
+