summaryrefslogtreecommitdiff
path: root/package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-10-18 22:23:52 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-10-18 22:23:52 +0000
commit2b058304a644f680a2a93a53a46153f6d4e437c8 (patch)
tree3083bfd9333f5cd014a60768e40b36afa2904d59 /package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch
parent0864cb65d72a74748068a00a0f5ca2e3ae77bfee (diff)
bump lockfile-progs to 0.1.11 version, provide sus3v legacy patch
Diffstat (limited to 'package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch')
-rw-r--r--package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch b/package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch
new file mode 100644
index 000000000..8cf552ef5
--- /dev/null
+++ b/package/lockfile-progs/lockfile-progs-0.1.11-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) {