diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-01-26 08:01:06 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-01-26 08:01:06 -0800 |
commit | 1b04bead745e1073d08c41d6fe1ee787a8224513 (patch) | |
tree | aceb4d984de1c5f7094c0b4e97c6d4ded5243542 /patches | |
parent | 7c7b882c8fb6a8d302db9ba4984b2417aae03cfe (diff) | |
parent | 99435117fdde5548f56090cf55e0739d5f781427 (diff) | |
download | crosstool-ng-1b04bead745e1073d08c41d6fe1ee787a8224513.tar.gz crosstool-ng-1b04bead745e1073d08c41d6fe1ee787a8224513.tar.bz2 crosstool-ng-1b04bead745e1073d08c41d6fe1ee787a8224513.zip |
Merge pull request #26 from bhundven/patchwork-andreas-bießmann
uClibc: fix darwin build
Diffstat (limited to 'patches')
-rw-r--r-- | patches/uClibc/0.9.33.2/300-fix-darwin-build.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.33.2/300-fix-darwin-build.patch b/patches/uClibc/0.9.33.2/300-fix-darwin-build.patch new file mode 100644 index 00000000..884307d3 --- /dev/null +++ b/patches/uClibc/0.9.33.2/300-fix-darwin-build.patch @@ -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 */ |