diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-12-03 21:34:38 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-03 23:09:10 +0100 |
commit | 092a4955cea8a7407608265583639ac12d4cd6fd (patch) | |
tree | eadf9f212a9f580587c4d1e0a289d95a946b53b6 /package/trinity/0005-configure-fix-cross-compile-detection-of-broken-ipv6.patch | |
parent | 2c4149df17166e023bbe8ef06a6fa6d594f8aea8 (diff) | |
download | buildroot-092a4955cea8a7407608265583639ac12d4cd6fd.tar.gz buildroot-092a4955cea8a7407608265583639ac12d4cd6fd.zip |
trinity: bump to version 1.8
Drop upstream patches.
Add an upstream patch fixing build with kernel headers v4.14 or newer.
Enable build for musl; Marcin Nowakowski fixed all incompatibilities in
this version.
Fixes:
http://autobuild.buildroot.net/results/1a8/1a891bfa1f29060003bb7f4fce100aa5a1034673/
http://autobuild.buildroot.net/results/f22/f22cb03a4ec1eafb89ca5e81a2864f928117b54d/
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/trinity/0005-configure-fix-cross-compile-detection-of-broken-ipv6.patch')
-rw-r--r-- | package/trinity/0005-configure-fix-cross-compile-detection-of-broken-ipv6.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/package/trinity/0005-configure-fix-cross-compile-detection-of-broken-ipv6.patch b/package/trinity/0005-configure-fix-cross-compile-detection-of-broken-ipv6.patch deleted file mode 100644 index 5bc326010d..0000000000 --- a/package/trinity/0005-configure-fix-cross-compile-detection-of-broken-ipv6.patch +++ /dev/null @@ -1,49 +0,0 @@ -From ac38a49a18e337fb3bc7ac8e06097e28e1e3b3f7 Mon Sep 17 00:00:00 2001 -From: Baruch Siach <baruch@tkos.co.il> -Date: Fri, 14 Apr 2017 07:43:04 +0300 -Subject: [PATCH] configure: fix cross compile detection of broken ipv6 headers - -Checking the content of the host ipv6.h headers is incompatible with cross -compilation. Target headers may not be the same as the host. Do direct build -test instead using the ${CC} (cross) compiler to detect headers issues. - -Define _GNU_SOURCE to make sure glibc ipv6 definitions are exposed. - -Signed-off-by: Baruch Siach <baruch@tkos.co.il> ---- -Patch status: submitted upstream - - configure | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index aa3f7f334971..8639a38eba96 100755 ---- a/configure -+++ b/configure -@@ -51,8 +51,21 @@ echo "[*] Checking system headers." - [ -z "$IPV6" ] && IPV6=yes - if [[ "$IPV6" == "yes" ]]; then - echo -n "[*] Checking ipv6 headers ... " -- RET=$(grep __UAPI_DEF_IN6_PKTINFO /usr/include/linux/ipv6.h) -- if [ -z "$RET" ]; then -+ rm -f "$TMP" || exit 1 -+ -+ cat >"$TMP.c" << EOF -+#include <netinet/in.h> -+#include <netinet/ip6.h> -+#include <linux/in6.h> -+#include <linux/ipv6.h> -+ -+int main() -+{ -+ struct in6_addr test; -+} -+EOF -+ ${CC} ${CFLAGS} -D_GNU_SOURCE "$TMP.c" -o "$TMP" &>"$TMP.log" -+ if [ ! -x "$TMP" ]; then - echo $RED "[BROKEN]" $COL_RESET "See https://patchwork.ozlabs.org/patch/425881/" - else - echo $GREEN "[OK]" $COL_RESET --- -2.11.0 - |