summaryrefslogtreecommitdiffstats
path: root/extra/codeblocks/gcc44.patch
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-07 20:45:50 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-07 20:45:50 +0200
commitb6afd74fbde3895e3fbf6ad0bd80a9a0a9dfd55f (patch)
treed95776110161f0a1313f917944e604ffbed0ddd0 /extra/codeblocks/gcc44.patch
parentc4f4f12f10b9bc9ca83b501efd93651974c7cb4d (diff)
downloadnutyx-extra-b6afd74fbde3895e3fbf6ad0bd80a9a0a9dfd55f.tar.gz
nutyx-extra-b6afd74fbde3895e3fbf6ad0bd80a9a0a9dfd55f.tar.bz2
nutyx-extra-b6afd74fbde3895e3fbf6ad0bd80a9a0a9dfd55f.tar.xz
nutyx-extra-b6afd74fbde3895e3fbf6ad0bd80a9a0a9dfd55f.zip
Déplacement de codeblocks base vers extra
Diffstat (limited to 'extra/codeblocks/gcc44.patch')
-rw-r--r--extra/codeblocks/gcc44.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/codeblocks/gcc44.patch b/extra/codeblocks/gcc44.patch
new file mode 100644
index 000000000..9efd4d983
--- /dev/null
+++ b/extra/codeblocks/gcc44.patch
@@ -0,0 +1,20 @@
+--- codeblocks-8.02/src/src/prefix.cpp.origin 2009-08-15 21:40:41.000000000 +0200
++++ codeblocks-8.02/src/src/prefix.cpp 2009-08-15 21:42:12.000000000 +0200
+@@ -393,7 +393,7 @@
+
+ br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
+
+- end = strrchr (path, '/');
++ end = (char*) strrchr (path, '/');
+ if (!end) return strdup (".");
+
+ while (end > path && *end == '/')
+@@ -429,7 +429,7 @@
+ br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
+
+ if (!*path) return strdup ("/");
+- end = strrchr (path, '/');
++ end = (char*) strrchr (path, '/');
+ if (!end) return strdup (path);
+
+ tmp = br_strndup ((char *) path, end - path);