aboutsummaryrefslogtreecommitdiff
path: root/packages/uClibc/0.9.33.2/300-fix-darwin-build.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 00:38:03 -0700
committerGitHub <noreply@github.com>2017-07-13 00:38:03 -0700
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/uClibc/0.9.33.2/300-fix-darwin-build.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
downloadcrosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.gz
crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.bz2
crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.zip
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/uClibc/0.9.33.2/300-fix-darwin-build.patch')
-rw-r--r--packages/uClibc/0.9.33.2/300-fix-darwin-build.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/uClibc/0.9.33.2/300-fix-darwin-build.patch b/packages/uClibc/0.9.33.2/300-fix-darwin-build.patch
new file mode 100644
index 00000000..884307d3
--- /dev/null
+++ b/packages/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 */