From patchwork Fri Apr 5 18:56:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1078652 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="AOIU1dF7"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44bTbH46pVz9sPf for ; Sat, 6 Apr 2019 05:57:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D648830F59; Fri, 5 Apr 2019 18:57:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o0mRs370lpmq; Fri, 5 Apr 2019 18:57:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BBDC730FBC; Fri, 5 Apr 2019 18:57:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3E9941BF380 for ; Fri, 5 Apr 2019 18:57:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 38D7187C2E for ; Fri, 5 Apr 2019 18:57:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QDJ3MalRYoh9 for ; Fri, 5 Apr 2019 18:57:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 174F98793D for ; Fri, 5 Apr 2019 18:57:37 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id j9so9193775wrn.6 for ; Fri, 05 Apr 2019 11:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6C6tAnLTrOpn2APY8W60tQkx2xbCmuimwMwBakQFNac=; b=AOIU1dF7zIC0aCJUATxB4qsrQM+ty66VCikLcfhvMVWSFppPie2KtSfvFxJW+w1C0v WlixdC7iCWNcTCn+GheNdxXVpn33asyGW8yM6sV4zrYUDhOzpvWQHRAVeGQSDyfP8aj/ VLK2rD27msSXCmjTTtilEMb3aggxRHfXjgQ43hS2VVdrlB5D3cZOsUpdJfqMpUnibM4S ixgZpe0uBjPTJqk9F5ZmValDwuSYn01x0BepPcC+JRRXz3TfBtq5BxYDhBS5cH3GJiJG DIOo5sNompL1r5rzohIGKjyMfZ7Hb6utYdJdJ8aG5bEHux/tjBq4Ncpx0+wg399rmJVO LA0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6C6tAnLTrOpn2APY8W60tQkx2xbCmuimwMwBakQFNac=; b=C/gV8kJ0ZX91jddj+Q3Dh6te0EA53lEW89d5jBeXDT79+9+iS/NFTqrRQetgarz3Yu gQjPrspN+TWMnZzqeokTSOA2Eei1LEaJGZQEYBfeRFpfV0ZL27uNLzYdFDD+YpGkQACF hl6n6UHjOSe1QZnRlFIr7k0mysZuYVBBVwWVxFe+nJlAQ8RBEhFGCXFBNr9E3w5is1bx a6eNq+YsWBenVFK5QPgxZX97fw5K3hhi/H7O4JxwK3xJcVBzQeEGnf+5KnwmvlETgyp0 QS4K/lQy0KKXYabKfrZ/xNUKSdkGStTLzD5jjkiao8U7JFfTeJ9HtQFgR7Twzcd19ggj L/sg== X-Gm-Message-State: APjAAAW/KCTBsTzJOLYeOi6kcEBpmodSA8+CAR43Hs9pLXhR+k7HOKbf Y/HbGJeve180fdVZYoWCXO+VSwFO X-Google-Smtp-Source: APXvYqxQSXCW3HackiaDTVApCvTq8fzTcto+NPxPYzR/vcLQIQy/KazsZAgCJtzDNfvbr3SltkJ4QQ== X-Received: by 2002:a5d:4087:: with SMTP id o7mr9986058wrp.9.1554490654750; Fri, 05 Apr 2019 11:57:34 -0700 (PDT) Received: from kali.home (lfbn-ren-1-314-196.w2-10.abo.wanadoo.fr. [2.10.15.196]) by smtp.gmail.com with ESMTPSA id y125sm6182969wmc.39.2019.04.05.11.57.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Apr 2019 11:57:33 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 5 Apr 2019 20:56:44 +0200 Message-Id: <20190405185644.16821-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/trinity: bump to version 1.9 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiri Slaby , Fabrice Fontaine , Vinson Lee Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Remove all patches (already in version) Signed-off-by: Fabrice Fontaine --- ...-compat-handle-removed-autofs-macros.patch | 61 ------------- ...0002-memfd-fix-build-with-glibc-2.27.patch | 87 ------------------- ...-fix-build-with-kernel-headers-v4.17.patch | 73 ---------------- ...-Check-if-VIDIOC_RESERVED-is-defined.patch | 56 ------------ ...s-include-libc-network-headers-first.patch | 48 ---------- package/trinity/trinity.hash | 2 +- package/trinity/trinity.mk | 2 +- 7 files changed, 2 insertions(+), 327 deletions(-) delete mode 100644 package/trinity/0001-compat-handle-removed-autofs-macros.patch delete mode 100644 package/trinity/0002-memfd-fix-build-with-glibc-2.27.patch delete mode 100644 package/trinity/0003-configure-fix-build-with-kernel-headers-v4.17.patch delete mode 100644 package/trinity/0004-Check-if-VIDIOC_RESERVED-is-defined.patch delete mode 100644 package/trinity/0005-proto-rds-include-libc-network-headers-first.patch diff --git a/package/trinity/0001-compat-handle-removed-autofs-macros.patch b/package/trinity/0001-compat-handle-removed-autofs-macros.patch deleted file mode 100644 index e3c6ee3b54..0000000000 --- a/package/trinity/0001-compat-handle-removed-autofs-macros.patch +++ /dev/null @@ -1,61 +0,0 @@ -From e4f31d5a1ce65974c2a6b2e6e1a2b16fffc51518 Mon Sep 17 00:00:00 2001 -From: Jiri Slaby -Date: Tue, 28 Nov 2017 10:15:22 +0100 -Subject: [PATCH] compat: handle removed autofs macros - -In file included from ioctls/autofs.c:4:0: -ioctls/autofs.c:241:8: error: 'AUTOFS_IOC_EXPIRE_INDIRECT' undeclared here (not in a function); did you mean 'AUTOFS_IOC_EXPIRE_CMD'? - IOCTL(AUTOFS_IOC_EXPIRE_INDIRECT), - ^ -include/ioctls.h:53:15: note: in definition of macro 'IOCTL' - { .request = _request, .name = #_request, } - ^~~~~~~~ -ioctls/autofs.c:242:8: error: 'AUTOFS_IOC_EXPIRE_DIRECT' undeclared here (not in a function); did you mean 'AUTOFS_IOC_EXPIRE_INDIRECT'? - IOCTL(AUTOFS_IOC_EXPIRE_DIRECT), - ^ -include/ioctls.h:53:15: note: in definition of macro 'IOCTL' - { .request = _request, .name = #_request, } - ^~~~~~~~ - -Define them as AUTOFS_IOC_EXPIRE_MULTI as they used to be. - -Signed-off-by: Jiri Slaby -Signed-off-by: Baruch Siach ---- -Patch status: upstream commit e4f31d5a1ce - - include/compat.h | 8 ++++++++ - ioctls/autofs.c | 1 + - 2 files changed, 9 insertions(+) - -diff --git a/include/compat.h b/include/compat.h -index 10065ceca5f6..fc9a1b95ac4c 100644 ---- a/include/compat.h -+++ b/include/compat.h -@@ -1209,3 +1209,11 @@ struct kvm_get_htab_fd { - #ifndef SO_IP_SET - #define SO_IP_SET 83 - #endif -+ -+/* linux/auto_fs4.h */ -+#ifndef AUTOFS_IOC_EXPIRE_INDIRECT -+#define AUTOFS_IOC_EXPIRE_INDIRECT AUTOFS_IOC_EXPIRE_MULTI -+#endif -+#ifndef AUTOFS_IOC_EXPIRE_DIRECT -+#define AUTOFS_IOC_EXPIRE_DIRECT AUTOFS_IOC_EXPIRE_MULTI -+#endif -diff --git a/ioctls/autofs.c b/ioctls/autofs.c -index 04a3eb811326..a39ccccc056b 100644 ---- a/ioctls/autofs.c -+++ b/ioctls/autofs.c -@@ -8,6 +8,7 @@ - #include "shm.h" - #include "syscall.h" - #include "utils.h" -+#include "compat.h" - - /* include/linux/auto_dev-ioctl.h */ - /* --- -2.15.0 - diff --git a/package/trinity/0002-memfd-fix-build-with-glibc-2.27.patch b/package/trinity/0002-memfd-fix-build-with-glibc-2.27.patch deleted file mode 100644 index 9ea3634688..0000000000 --- a/package/trinity/0002-memfd-fix-build-with-glibc-2.27.patch +++ /dev/null @@ -1,87 +0,0 @@ -From c93bb184ce996c4d77eefbae2ab0bf74f396ec45 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Tue, 13 Mar 2018 06:53:06 +0200 -Subject: [PATCH] memfd: fix build with glibc 2.27 - -glibc 2.27 added a wrapper for memfd_create(). This causes build -failure: - -fds/memfd.c:19:12: error: static declaration of 'memfd_create' follows non-static declaration - static int memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) - ^~~~~~~~~~~~ - -Don't use the local definition when the libc provides one. - -Signed-off-by: Baruch Siach ---- -Upstream status: https://github.com/kernelslacker/trinity/pull/23 - - configure | 23 +++++++++++++++++++++++ - fds/memfd.c | 3 +++ - 2 files changed, 26 insertions(+) - -diff --git a/configure b/configure -index dc0a87d8c1ad..c0166af33048 100755 ---- a/configure -+++ b/configure -@@ -288,6 +288,29 @@ else - echo "#define USE_BTRFS 1" >> $CONFIGH - fi - -+############################################################################################# -+# Does glibc provide memfd_create() syscall wrapper -+# -+echo -n "[*] Checking if glibc provides memfd_create.. " -+rm -f "$TMP" || exit 1 -+ -+cat >"$TMP.c" << EOF -+#include -+ -+void main() -+{ -+ memfd_create(); -+} -+EOF -+ -+${CC} ${CFLAGS} "$TMP.c" -o "$TMP" &>"$TMP.log" -+if [ ! -x "$TMP" ]; then -+ echo $RED "[NO]" $COL_RESET -+else -+ echo $GREEN "[YES]" $COL_RESET -+ echo "#define USE_MEMFD_CREATE 1" >> $CONFIGH -+fi -+ - ############################################################################################# - - check_header linux/caif/caif_socket.h USE_CAIF -diff --git a/fds/memfd.c b/fds/memfd.c -index 210678e4571c..aaaac2f78f54 100644 ---- a/fds/memfd.c -+++ b/fds/memfd.c -@@ -5,6 +5,7 @@ - #include - #include - #include -+#include - - #include "fd.h" - #include "memfd.h" -@@ -16,6 +17,7 @@ - #include "trinity.h" - #include "udp.h" - -+#ifndef USE_MEMFD_CREATE - static int memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) - { - #ifdef SYS_memfd_create -@@ -24,6 +26,7 @@ static int memfd_create(__unused__ const char *uname, __unused__ unsigned int fl - return -ENOSYS; - #endif - } -+#endif - - static void memfd_destructor(struct object *obj) - { --- -2.16.1 - diff --git a/package/trinity/0003-configure-fix-build-with-kernel-headers-v4.17.patch b/package/trinity/0003-configure-fix-build-with-kernel-headers-v4.17.patch deleted file mode 100644 index 89aa4219c2..0000000000 --- a/package/trinity/0003-configure-fix-build-with-kernel-headers-v4.17.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 5431126ac94bf81743852493a041e80e82918741 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Fri, 8 Jun 2018 06:05:26 +0300 -Subject: [PATCH] configure: fix build with kernel headers v4.17+ - -Kernel v4.17 removed the linux/irda.h header. Skip the irda test when -this header is missing. - -Signed-off-by: Baruch Siach ---- -Upstream status: https://github.com/kernelslacker/trinity/pull/25 - - configure | 1 + - net/proto-irda.c | 6 +++++- - net/protocols.c | 2 ++ - 3 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/configure b/configure -index c0166af33048..944c8cf77d1b 100755 ---- a/configure -+++ b/configure -@@ -316,6 +316,7 @@ fi - check_header linux/caif/caif_socket.h USE_CAIF - check_header linux/fsmap.h USE_FSMAP - check_header linux/if_alg.h USE_IF_ALG -+check_header linux/irda.h USE_IRDA - check_header linux/rds.h USE_RDS - check_header linux/vfio.h USE_VFIO - check_header drm/drm.h USE_DRM -diff --git a/net/proto-irda.c b/net/proto-irda.c -index 02d51bcd2ee0..264e36dfa040 100644 ---- a/net/proto-irda.c -+++ b/net/proto-irda.c -@@ -4,13 +4,15 @@ - #include - /* old irda.h does not include something which defines sa_family_t */ - #include --#include - #include - #include "net.h" - #include "random.h" - #include "utils.h" // RAND_ARRAY - #include "compat.h" - -+#ifdef USE_IRDA -+#include -+ - static void irda_gen_sockaddr(struct sockaddr **addr, socklen_t *addrlen) - { - struct sockaddr_irda *irda; -@@ -53,3 +55,5 @@ const struct netproto proto_irda = { - .valid_triplets = irda_triplets, - .nr_triplets = ARRAY_SIZE(irda_triplets), - }; -+ -+#endif -diff --git a/net/protocols.c b/net/protocols.c -index 90a60affedca..87acf85c707f 100644 ---- a/net/protocols.c -+++ b/net/protocols.c -@@ -26,7 +26,9 @@ const struct protoptr net_protocols[TRINITY_PF_MAX] = { - #ifdef USE_RDS - [PF_RDS] = { .proto = &proto_rds }, - #endif -+#ifdef USE_IRDA - [PF_IRDA] = { .proto = &proto_irda }, -+#endif - [PF_LLC] = { .proto = &proto_llc }, - [PF_CAN] = { .proto = &proto_can }, - [PF_TIPC] = { .proto = &proto_tipc }, --- -2.17.1 - diff --git a/package/trinity/0004-Check-if-VIDIOC_RESERVED-is-defined.patch b/package/trinity/0004-Check-if-VIDIOC_RESERVED-is-defined.patch deleted file mode 100644 index 54f8bea63c..0000000000 --- a/package/trinity/0004-Check-if-VIDIOC_RESERVED-is-defined.patch +++ /dev/null @@ -1,56 +0,0 @@ -From a5f32b9714613404e9f4699aaaad720f2bb033b4 Mon Sep 17 00:00:00 2001 -From: Vinson Lee -Date: Thu, 23 Aug 2018 22:28:49 +0000 -Subject: [PATCH] Check if VIDIOC_RESERVED is defined. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -VIDIOC_RESERVED was removed in Linux 4.19. - -commit ea8532daee31bc72abfbc9ca7a43cbec0f6c05af -Author: Mauro Carvalho Chehab -Date: Wed May 30 11:07:05 2018 -0400 - - media: videodev2: get rid of VIDIOC_RESERVED - - While this ioctl is there at least since Kernel 2.6.12-rc2, it - was never used by any upstream driver. - - Get rid of it. - - Signed-off-by: Mauro Carvalho Chehab - -This patch fixes this build error. - - CC ioctls/videodev2.o -In file included from ioctls/videodev2.c:4: -ioctls/videodev2.c:8:8: error: ‘VIDIOC_RESERVED’ undeclared here (not in a function); did you mean ‘VIDIOC_G_STD’? - IOCTL(VIDIOC_RESERVED), - ^~~~~~~~~~~~~~~ -include/ioctls.h:53:15: note: in definition of macro ‘IOCTL’ - { .request = _request, .name = #_request, } - ^~~~~~~~ - -Signed-off-by: Vinson Lee -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/kernelslacker/trinity/commit/a5f32b9714613404e9f4699aaaad720f2bb033b4] ---- - ioctls/videodev2.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/ioctls/videodev2.c b/ioctls/videodev2.c -index f7183f29..67089abf 100644 ---- a/ioctls/videodev2.c -+++ b/ioctls/videodev2.c -@@ -5,7 +5,9 @@ - - static const struct ioctl videodev2_ioctls[] = { - IOCTL(VIDIOC_QUERYCAP), -+#ifdef VIDIOC_RESERVED - IOCTL(VIDIOC_RESERVED), -+#endif - IOCTL(VIDIOC_ENUM_FMT), - IOCTL(VIDIOC_G_FMT), - IOCTL(VIDIOC_S_FMT), diff --git a/package/trinity/0005-proto-rds-include-libc-network-headers-first.patch b/package/trinity/0005-proto-rds-include-libc-network-headers-first.patch deleted file mode 100644 index 438bbfb56a..0000000000 --- a/package/trinity/0005-proto-rds-include-libc-network-headers-first.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 350c05e5c0d7af5941a9c17f2f86e1c6297d7475 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Wed, 12 Dec 2018 20:52:50 +0200 -Subject: [PATCH] proto-rds: include libc network headers first - -To avoid collisions between libc networking headers and header kernels -the libc headers must appear first in the list of headers. This fixes a -build issue with kernel headers v4.19: - -In file included from include/net.h:5:0, - from net/proto-rds.c:6: -.../sysroot/usr/include/netinet/in.h:23:8: error: redefinition of 'struct in6_addr' - struct in6_addr { - ^~~~~~~~ -In file included from .../sysroot/usr/include/linux/rds.h:40:0, - from net/proto-rds.c:4: -.../sysroot/usr/include/linux/in6.h:33:8: note: originally defined here - struct in6_addr { - ^~~~~~~~ - -Signed-off-by: Baruch Siach ---- -Upstream status: https://github.com/kernelslacker/trinity/pull/29 - - net/proto-rds.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/net/proto-rds.c b/net/proto-rds.c -index c8ff22f886c3..06e36e82d990 100644 ---- a/net/proto-rds.c -+++ b/net/proto-rds.c -@@ -1,12 +1,12 @@ - #ifdef USE_RDS - #include - #include --#include - #include - #include "net.h" - #include "compat.h" - #include "random.h" - #include "utils.h" // RAND_ARRAY -+#include - - static void rds_gen_sockaddr(struct sockaddr **addr, socklen_t *addrlen) - { --- -2.19.2 - diff --git a/package/trinity/trinity.hash b/package/trinity/trinity.hash index 2000653336..f7522514e1 100644 --- a/package/trinity/trinity.hash +++ b/package/trinity/trinity.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 8cadc4221660b7accc4728311ce1a130ac9b9d1f3b04e35508ba0cc80d9c3f94 trinity-1.8.tar.xz +sha256 7e0da953c2cc6fb3907d1f37d35f61836433fb50e97117a72eef113abb783dc6 trinity-1.9.tar.xz sha256 35e3fc68c89fd7b8f72fd910b521cb3292f859e9181f3c26bd0df84d144bc1d4 COPYING diff --git a/package/trinity/trinity.mk b/package/trinity/trinity.mk index b75c46943e..adf7d1455c 100644 --- a/package/trinity/trinity.mk +++ b/package/trinity/trinity.mk @@ -4,7 +4,7 @@ # ################################################################################ -TRINITY_VERSION = 1.8 +TRINITY_VERSION = 1.9 TRINITY_SITE = http://codemonkey.org.uk/projects/trinity TRINITY_SOURCE = trinity-$(TRINITY_VERSION).tar.xz TRINITY_LICENSE = GPL-2.0