mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-22 22:16:19 +00:00
libnl3: Fix build on musl.
This commit is contained in:
parent
715aa2ffcb
commit
7c1039efd0
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
patch -p0 < musl-ipv6.patch
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
b7287637ae71c6db6f89e1422c995f0407ff2fe50cecd61a312b6a9b0921f5bf libnl-3.4.0.tar.gz
|
b7287637ae71c6db6f89e1422c995f0407ff2fe50cecd61a312b6a9b0921f5bf libnl-3.4.0.tar.gz
|
||||||
|
1612b99cb124af51bd4d38be377e352f94d7730c32aabf519f0355f04d08b1c0 musl-ipv6.patch
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/var/db/kiss/libnl3/version
|
/var/db/kiss/libnl3/version
|
||||||
/var/db/kiss/libnl3/sources
|
/var/db/kiss/libnl3/sources
|
||||||
|
/var/db/kiss/libnl3/patches/musl-ipv6.patch
|
||||||
|
/var/db/kiss/libnl3/patches/
|
||||||
/var/db/kiss/libnl3/manifest
|
/var/db/kiss/libnl3/manifest
|
||||||
/var/db/kiss/libnl3/licenses
|
/var/db/kiss/libnl3/licenses
|
||||||
/var/db/kiss/libnl3/checksums
|
/var/db/kiss/libnl3/checksums
|
||||||
|
|
12
core/libnl3/patches/musl-ipv6.patch
Normal file
12
core/libnl3/patches/musl-ipv6.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- include/linux-private/linux/ipv6.h 2016-12-10 08:04:32.000000000 -0700
|
||||||
|
+++ include/linux-private/linux/ipv6.h 2017-07-03 06:45:50.412094448 -0600
|
||||||
|
@@ -2,7 +2,9 @@
|
||||||
|
#define _IPV6_H
|
||||||
|
|
||||||
|
#include <asm/byteorder.h>
|
||||||
|
+#if defined(__GLIBC__)
|
||||||
|
#include <linux/in6.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/* The latest drafts declared increase in minimal mtu up to 1280. */
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
https://github.com/thom311/libnl/releases/download/libnl3_4_0/libnl-3.4.0.tar.gz
|
https://github.com/thom311/libnl/releases/download/libnl3_4_0/libnl-3.4.0.tar.gz
|
||||||
|
patches/musl-ipv6.patch
|
||||||
|
|
Loading…
Reference in New Issue
Block a user