mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 01:21:27 +00:00
Merge pull request #26 from bhundven/patchwork-andreas-bießmann
uClibc: fix darwin build
This commit is contained in:
commit
1b04bead74
12
patches/uClibc/0.9.33.2/300-fix-darwin-build.patch
Normal file
12
patches/uClibc/0.9.33.2/300-fix-darwin-build.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nrupa uClibc-0.9.33.2.orig/extra/scripts/unifdef.c uClibc-0.9.33.2/extra/scripts/unifdef.c
|
||||
--- uClibc-0.9.33.2.orig/extra/scripts/unifdef.c 2012-05-15 09:20:09.000000000 +0200
|
||||
+++ uClibc-0.9.33.2/extra/scripts/unifdef.c 2014-10-25 17:07:33.000000000 +0200
|
||||
@@ -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 */
|
Loading…
x
Reference in New Issue
Block a user