summaryrefslogtreecommitdiffstats
path: root/package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-09-26 00:14:08 -0700
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-29 22:35:43 +0200
commit9793ea56615616589e2eccdab65c49aa501c2ed4 (patch)
tree650866ceb7f34f1a29e155fdec252e7e5d158411 /package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch
parented947b383ff45ec992b8d51a858e475abd0c6f73 (diff)
downloadbuildroot-novena-9793ea56615616589e2eccdab65c49aa501c2ed4.tar.gz
buildroot-novena-9793ea56615616589e2eccdab65c49aa501c2ed4.zip
lockfile-progs: convert to gentargets and bump to 0.1.15
[Peter: no strip, remove unused _BINARY var] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch')
-rw-r--r--package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch b/package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch
new file mode 100644
index 000000000..8cf552ef5
--- /dev/null
+++ b/package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch
@@ -0,0 +1,11 @@
+--- /lockfile-progs.orig.c 2007-10-11 10:32:09.000000000 -0300
++++ /lockfile-progs.c 2007-10-11 10:32:28.000000000 -0300
+@@ -93,7 +93,7 @@
+ { NULL, 0, NULL, 0 }
+ };
+
+- char *cmd_name = rindex(argv[0], '/');
++ char *cmd_name = strrchr(argv[0], '/');
+ int mail_cmd_p = 0;
+
+ if(cmd_name != NULL) {