From: nbd Date: Wed, 30 Oct 2013 21:47:10 +0000 (+0000) Subject: uClibc: get rid of bogus unused strlcpy definition to fix build errors X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=6da5094781be181bf32967332230a801c5a7366d;p=12.09%2Fopenwrt.git uClibc: get rid of bogus unused strlcpy definition to fix build errors Signed-off-by: Felix Fietkau Backport of r38567 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@38621 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 0000000..3d75b6e --- /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 */