aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-30 21:47:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-10-30 21:47:10 +0000
commitbf4ffc97304b44a9e41525cfcd7106c4a0742c88 (patch)
treed9b900cce5d1da762cd328922c19bc4b4ee73c8d
parent8b8d3a1a4a10eb36ca45038776bd06ae46f9fac3 (diff)
downloadupstream-bf4ffc97304b44a9e41525cfcd7106c4a0742c88.tar.gz
upstream-bf4ffc97304b44a9e41525cfcd7106c4a0742c88.tar.bz2
upstream-bf4ffc97304b44a9e41525cfcd7106c4a0742c88.zip
uClibc: get rid of bogus unused strlcpy definition to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r38567 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@38621 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch b/toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch
new file mode 100644
index 0000000000..3d75b6e79f
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch
@@ -0,0 +1,11 @@
+--- a/extra/scripts/unifdef.c
++++ b/extra/scripts/unifdef.c
+@@ -78,8 +78,6 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/
+ #define errx(exit_code, fmt, args...) ({ warnx(fmt, ## args); exit(exit_code); })
+ #define err(exit_code, fmt, args...) errx(exit_code, fmt ": %s", ## args, strerror(errno))
+
+-size_t strlcpy(char *dst, const char *src, size_t siz);
+-
+ /* types of input lines: */
+ typedef enum {
+ LT_TRUEI, /* a true #if with ignore flag */