summaryrefslogtreecommitdiff
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-28 15:15:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-10-28 15:15:35 +0000
commit3f6a5c862b7df49aa7db871bb486c9e967f72d79 (patch)
tree061d23a455d109769904bc0280bb3689947fbf8e /toolchain/uClibc
parentefdcc4e98ca9929f8f3d2518f1f9f2095ae1ebb5 (diff)
downloadmtk-20170518-3f6a5c862b7df49aa7db871bb486c9e967f72d79.zip
mtk-20170518-3f6a5c862b7df49aa7db871bb486c9e967f72d79.tar.gz
mtk-20170518-3f6a5c862b7df49aa7db871bb486c9e967f72d79.tar.bz2
uClibc: get rid of bogus unused strlcpy definition to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38567
Diffstat (limited to 'toolchain/uClibc')
-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 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 */