aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbsd/musl-fixes.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-09-09 09:55:58 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2015-09-09 11:23:04 +0000
commit3d2f807ab80fcd10a5fd633f8afe3efdacb750e3 (patch)
treebb1d9050b538854d3341994785763be0c60c0f55 /main/libbsd/musl-fixes.patch
parent332d9439f881dbfc213a0f5e0ff6bab2da93124a (diff)
downloadaports-3d2f807ab80fcd10a5fd633f8afe3efdacb750e3.tar.bz2
aports-3d2f807ab80fcd10a5fd633f8afe3efdacb750e3.tar.xz
main/libbsd: upgrade to 0.7.0
fixes #4613
Diffstat (limited to 'main/libbsd/musl-fixes.patch')
-rw-r--r--main/libbsd/musl-fixes.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/libbsd/musl-fixes.patch b/main/libbsd/musl-fixes.patch
new file mode 100644
index 0000000000..f4f69bba84
--- /dev/null
+++ b/main/libbsd/musl-fixes.patch
@@ -0,0 +1,31 @@
+--- libbsd-0.7.0.orig/src/flopen.c
++++ libbsd-0.7.0/src/flopen.c
+@@ -1,3 +1,4 @@
++#include <fcntl.h>
+ /*-
+ * Copyright (c) 2007 Dag-Erling Coïdan Smørgrav
+ * All rights reserved.
+--- libbsd-0.7.0.orig/src/funopen.c
++++ libbsd-0.7.0/src/funopen.c
+@@ -138,5 +138,4 @@
+ return fopencookie(cookiewrap, mode, funcswrap);
+ }
+ #else
+-#error "Function funopen() needs to be ported."
+ #endif
+--- libbsd-0.7.0.orig/src/nlist.c
++++ libbsd-0.7.0/src/nlist.c
+@@ -1,3 +1,4 @@
++#include <fcntl.h>
+ /*
+ * Copyright (c) 1989, 1993
+ * The Regents of the University of California. All rights reserved.
+@@ -39,7 +40,7 @@
+ #include <arpa/inet.h>
+
+ #include <errno.h>
+-#include <a.out.h>
++#include <linux/a.out.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>