diff options
author | Ivan Kuten <ivan.kuten@promwad.com> | 2007-10-18 22:23:52 +0000 |
---|---|---|
committer | Ivan Kuten <ivan.kuten@promwad.com> | 2007-10-18 22:23:52 +0000 |
commit | 2b058304a644f680a2a93a53a46153f6d4e437c8 (patch) | |
tree | 3083bfd9333f5cd014a60768e40b36afa2904d59 /package/lockfile-progs | |
parent | 0864cb65d72a74748068a00a0f5ca2e3ae77bfee (diff) | |
download | buildroot-novena-2b058304a644f680a2a93a53a46153f6d4e437c8.tar.gz buildroot-novena-2b058304a644f680a2a93a53a46153f6d4e437c8.zip |
bump lockfile-progs to 0.1.11 version, provide sus3v legacy patch
Diffstat (limited to 'package/lockfile-progs')
-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 |