summaryrefslogtreecommitdiff
path: root/package/busybox/patches/340-lock_util.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-12-31 15:40:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-12-31 15:40:13 +0000
commit9fc958bfe3e1744872309a0bf7c5e4b0f59ce04d (patch)
tree21830cd4250441d69882fd8a288cb0c39b3faadf /package/busybox/patches/340-lock_util.patch
parent945b4fb8d4d73ec465f9c87721d61a4ae42f1e47 (diff)
downloadmtk-20170518-9fc958bfe3e1744872309a0bf7c5e4b0f59ce04d.zip
mtk-20170518-9fc958bfe3e1744872309a0bf7c5e4b0f59ce04d.tar.gz
mtk-20170518-9fc958bfe3e1744872309a0bf7c5e4b0f59ce04d.tar.bz2
Fix the lock warning (#1111), also add another download source
SVN-Revision: 5944
Diffstat (limited to 'package/busybox/patches/340-lock_util.patch')
-rw-r--r--package/busybox/patches/340-lock_util.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/busybox/patches/340-lock_util.patch b/package/busybox/patches/340-lock_util.patch
index f832df7..a92fa3e 100644
--- a/package/busybox/patches/340-lock_util.patch
+++ b/package/busybox/patches/340-lock_util.patch
@@ -39,7 +39,7 @@ diff -ruN busybox-1.3.1-old/miscutils/Kbuild busybox-1.3.1/miscutils/Kbuild
diff -ruN busybox-1.3.1-old/miscutils/lock.c busybox-1.3.1/miscutils/lock.c
--- busybox-1.3.1-old/miscutils/lock.c 1970-01-01 01:00:00.000000000 +0100
+++ busybox-1.3.1/miscutils/lock.c 2006-12-28 03:11:36.000000000 +0100
-@@ -0,0 +1,135 @@
+@@ -0,0 +1,136 @@
+/*
+ * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org>
+ *
@@ -136,6 +136,7 @@ diff -ruN busybox-1.3.1-old/miscutils/lock.c busybox-1.3.1/miscutils/lock.c
+
+ return 0;
+ }
++ return 0;
+}
+
+#ifndef CONFIG_LOCK