summaryrefslogtreecommitdiffstats
path: root/rxvt-unicode-256color/gcc4.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'rxvt-unicode-256color/gcc4.4.patch')
-rw-r--r--rxvt-unicode-256color/gcc4.4.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/rxvt-unicode-256color/gcc4.4.patch b/rxvt-unicode-256color/gcc4.4.patch
new file mode 100644
index 0000000..b854a1f
--- /dev/null
+++ b/rxvt-unicode-256color/gcc4.4.patch
@@ -0,0 +1,22 @@
+--- 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);
+ }