aboutsummaryrefslogtreecommitdiffstats
path: root/testing/keepalived/musl-fix-stdint.patch
diff options
context:
space:
mode:
authorPablo Castorino <pcastorino@mendoza-conicet.gob.ar>2014-03-14 13:48:26 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-17 09:34:39 +0000
commit4da06c5018b35083ba28d04075f4b2885908cc03 (patch)
treef5c48e9e8b4ff5849b790f04c993c1abc8641aa0 /testing/keepalived/musl-fix-stdint.patch
parentb3ba4729f9a3f492b790192350c0373a7ba3e6f3 (diff)
downloadaports-4da06c5018b35083ba28d04075f4b2885908cc03.tar.bz2
aports-4da06c5018b35083ba28d04075f4b2885908cc03.tar.xz
testing/keepalived: upgrade to 1.2.12
Diffstat (limited to 'testing/keepalived/musl-fix-stdint.patch')
-rw-r--r--testing/keepalived/musl-fix-stdint.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/keepalived/musl-fix-stdint.patch b/testing/keepalived/musl-fix-stdint.patch
new file mode 100644
index 0000000000..73080f1390
--- /dev/null
+++ b/testing/keepalived/musl-fix-stdint.patch
@@ -0,0 +1,21 @@
+diff --git a/keepalived/vrrp/vrrp_if.c b/keepalived/vrrp/vrrp_if.c
+index 7360369..12dda84 100644
+--- a/keepalived/vrrp/vrrp_if.c
++++ b/keepalived/vrrp/vrrp_if.c
+@@ -23,11 +23,11 @@
+ /* global include */
+ #include <unistd.h>
+ #include <string.h>
+-#include <sys/types.h>
+-typedef __uint64_t u64;
+-typedef __uint32_t u32;
+-typedef __uint16_t u16;
+-typedef __uint8_t u8;
++#include <stdint.h>
++typedef uint64_t u64;
++typedef uint32_t u32;
++typedef uint16_t u16;
++typedef uint8_t u8;
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
+ #include <netinet/in.h>