Browse Source

strongswan: add more exceptions to musl-fixes

Signed-off-by: Steven Barth <steven@midlink.org>
Steven Barth 9 years ago
parent
commit
c665325f8c
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      net/strongswan/patches/101-musl-fixes.patch

+ 7
- 1
net/strongswan/patches/101-musl-fixes.patch View File

@@ -10,7 +10,7 @@
10 10
  
11 11
 --- /dev/null
12 12
 +++ b/src/libstrongswan/musl.h
13
-@@ -0,0 +1,33 @@
13
+@@ -0,0 +1,39 @@
14 14
 +#include <sys/types.h>
15 15
 +
16 16
 +#define crypt x_crypt
@@ -25,6 +25,9 @@
25 25
 +#define mode_t x_mode_t
26 26
 +#define uid_t x_uid_t
27 27
 +#define gid_t x_gid_t
28
++#define uint64_t x_uint64_t
29
++#define u_int64_t x_u_int64_t
30
++#define int64_t x_int64_t
28 31
 +#define nlink_t x_nlink_t
29 32
 +#define timer_t x_timer_t
30 33
 +#define blkcnt_t x_blkcnt_t
@@ -39,6 +42,9 @@
39 42
 +#undef mode_t
40 43
 +#undef uid_t
41 44
 +#undef gid_t
45
++#undef uint64_t
46
++#undef u_int64_t
47
++#undef int64_t
42 48
 +#undef nlink_t
43 49
 +#undef timer_t
44 50
 +#undef blkcnt_t