diff options
-rw-r--r-- | package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch | 11 | ||||
-rw-r--r-- | package/lockfile-progs/lockfile-progs.mk | 5 |
2 files changed, 14 insertions, 2 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) { diff --git a/package/lockfile-progs/lockfile-progs.mk b/package/lockfile-progs/lockfile-progs.mk index 42ef96cb6..3961b480b 100644 --- a/package/lockfile-progs/lockfile-progs.mk +++ b/package/lockfile-progs/lockfile-progs.mk @@ -3,11 +3,11 @@ # lockfile-progs # ############################################################# -LOCKFILE_PROGS_VERSION=0.1.10 +LOCKFILE_PROGS_VERSION=0.1.11 LOCKFILE_PROGS_SOURCE:=lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz LOCKFILE_PROGS_SITE:=http://ftp.debian.org/debian/pool/main/l/lockfile-progs/ LOCKFILE_PROGS_CAT:=$(ZCAT) -LOCKFILE_PROGS_DIR:=$(BUILD_DIR)/lockfile-progs-$(LOCKFILE_PROGS_VERSION) +LOCKFILE_PROGS_DIR:=$(BUILD_DIR)/sid LOCKFILE_PROGS_BINARY:=usr/bin/lockfile-create $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE): @@ -17,6 +17,7 @@ lockfile-progs-source: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE) $(LOCKFILE_PROGS_DIR)/.unpacked: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE) $(LOCKFILE_PROGS_CAT) $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + toolchain/patch-kernel.sh $(LOCKFILE_PROGS_DIR) package/lockfile-progs/ *.patch touch $(LOCKFILE_PROGS_DIR)/.unpacked $(TARGET_DIR)/$(LOCKFILE_PROGS_BINARY): $(LOCKFILE_PROGS_DIR)/.unpacked |