summaryrefslogtreecommitdiffstats
path: root/extra/rxvt-unicode/gcc4.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rxvt-unicode/gcc4.4.patch')
-rw-r--r--extra/rxvt-unicode/gcc4.4.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/rxvt-unicode/gcc4.4.patch b/extra/rxvt-unicode/gcc4.4.patch
new file mode 100644
index 000000000..06be6c4ba
--- /dev/null
+++ b/extra/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);
+ }
+