summarylogtreecommitdiffstats
path: root/binreloc-cpp-fix.patch
diff options
context:
space:
mode:
authoroli2015-06-12 21:51:25 +0200
committerJose Riha2019-04-24 08:16:27 +0200
commit41e0fbdc4f3e6ae58a2f5d9709d679803b8eaa1a (patch)
tree18202fb0ba64fd2f9e114197a1e35a66506c352d /binreloc-cpp-fix.patch
downloadaur-41e0fbdc4f3e6ae58a2f5d9709d679803b8eaa1a.tar.gz
Initial import
Diffstat (limited to 'binreloc-cpp-fix.patch')
-rw-r--r--binreloc-cpp-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/binreloc-cpp-fix.patch b/binreloc-cpp-fix.patch
new file mode 100644
index 00000000000..41560edb17c
--- /dev/null
+++ b/binreloc-cpp-fix.patch
@@ -0,0 +1,13 @@
+diff -r e882fce47fe0 src/binreloc.cxx
+--- a/src/binreloc.cxx Wed Jun 23 16:55:35 2010 +0200
++++ b/src/binreloc.cxx Wed Nov 10 21:41:41 2010 +0100
+@@ -739,7 +739,8 @@
+ char *
+ br_dirname (const char *path)
+ {
+- char *end, *result;
++ const char *end;
++ char *result;
+
+ if (path == (const char *) NULL)
+ return (char *) NULL;