From 2b058304a644f680a2a93a53a46153f6d4e437c8 Mon Sep 17 00:00:00 2001 From: Ivan Kuten Date: Thu, 18 Oct 2007 22:23:52 +0000 Subject: [PATCH] bump lockfile-progs to 0.1.11 version, provide sus3v legacy patch --- .../lockfile-progs-0.1.11-sus3v-legacy.patch | 11 +++++++++++ package/lockfile-progs/lockfile-progs.mk | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch 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 0000000000..8cf552ef5c --- /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 42ef96cb62..3961b480b5 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