aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-06-22 12:24:19 +0200
committerSteven Barth <steven@midlink.org>2015-06-22 12:24:19 +0200
commit9bf0217f2f615fc183d82938ed4c87ae02c823bc (patch)
tree01e33b2aa91ad2d342b64fb3df7465cb14641303 /net
parent103f62252394fd1e8dbc73346e28e6537afad55a (diff)
strongswan: refresh musl compatibility fixes
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'net')
-rw-r--r--net/strongswan/patches/101-musl-fixes.patch8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/strongswan/patches/101-musl-fixes.patch b/net/strongswan/patches/101-musl-fixes.patch
index 3604219a5..73b2d5a48 100644
--- a/net/strongswan/patches/101-musl-fixes.patch
+++ b/net/strongswan/patches/101-musl-fixes.patch
@@ -10,7 +10,7 @@
--- /dev/null
+++ b/src/libstrongswan/musl.h
-@@ -0,0 +1,27 @@
+@@ -0,0 +1,33 @@
+#include <sys/types.h>
+
+#define crypt x_crypt
@@ -22,6 +22,9 @@
+#define off_t x_off_t
+#define loff_t x_loff_t
+#define dev_t x_dev_t
++#define mode_t x_mode_t
++#define uid_t x_uid_t
++#define gid_t x_gid_t
+#define nlink_t x_nlink_t
+#define timer_t x_timer_t
+#define blkcnt_t x_blkcnt_t
@@ -33,6 +36,9 @@
+#undef ino_t
+#undef off_t
+#undef dev_t
++#undef mode_t
++#undef uid_t
++#undef gid_t
+#undef nlink_t
+#undef timer_t
+#undef blkcnt_t