uClibc: get rid of bogus unused strlcpy definition to fix build errors
authorFelix Fietkau <nbd@openwrt.org>
Mon, 28 Oct 2013 15:15:35 +0000 (15:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 Oct 2013 15:15:35 +0000 (15:15 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38567

toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch [new file with mode: 0644]

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 (file)
index 0000000..3d75b6e
--- /dev/null
@@ -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 */