From patchwork Sun Aug 18 10:12:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1148828 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.138; helo=whitealder.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="ZAVXTlBK"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46BCXm4BTjz9s4Y for ; Sun, 18 Aug 2019 20:12:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7C82B85FAC; Sun, 18 Aug 2019 10:12:19 +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 iz88nBFuTSsb; Sun, 18 Aug 2019 10:12:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 74B8185BCC; Sun, 18 Aug 2019 10:12:16 +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 709C11BF3AA for ; Sun, 18 Aug 2019 10:12:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6D52085BCC for ; Sun, 18 Aug 2019 10:12:15 +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 DYdeQHGcJb6K for ; Sun, 18 Aug 2019 10:12:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4927385B36 for ; Sun, 18 Aug 2019 10:12:12 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id r3so5695727wrt.3 for ; Sun, 18 Aug 2019 03:12:12 -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=AsehpoDuyBP5MmzzMBydRiHrWsuaRJKowgxNmSSxUj8=; b=ZAVXTlBKrAMozZoeYA8edQbvDPMBqjZURdY0Neirzbju5oFNByZKmlu8zg3WomsJE8 hs1ZH0DnnmZzf6m3lVw8TTlrOqizuQ11PNltlIWVeY3Bru7OvIWVF9xykMgQISq6Q2DU 0ejKBK9BMv4ecMh0v4ddbfv7ZDARJ/utYe+gzJXrnQZGMkuybnjJktYFg9yO3QIO1fSB 3DcV5qW29bYt9bKEaqEExOKU/XYEUG4QmiMTSb0LEprP6hwG4wsik9LWAYgHjksdECYU cvxX1bwlY65nZxnEYSDEvdyPxgFqZKxQgXqffKno8Up47qS0eF21wPniwb5aga3bocgy kJzA== 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=AsehpoDuyBP5MmzzMBydRiHrWsuaRJKowgxNmSSxUj8=; b=mcHOg8E6iyoAP9r1X7Pv9xsKOMcBkzkvPKkHPiSNJlHvE1DAkPTejfNO/1H6CyP/iw 9qbf0u6QAcNTxuCGAZzdCmM8T1PMK5eVQ4e8iuoSKKqiXnv9VeJJBunoG4Ta6sPW2US/ e/RYygWWu3emuD7yATmt5qGKg2YJKZWGUP66cmzmov/pMakO9PU6ay48E3EaVfmuAZQI lEUzllep3eJttTiDEPXokfAR/QZ3oi1Nim2qiQq/7ZXsX7uAWuT6F8m1NAjSCBlAqNSj gNJnHJNHsi23OfuCch5dLzHkoNDWKLZrI7M4yoOmfvvNs1ZkDYN4LovD0YufXS6LQDR4 sMjA== X-Gm-Message-State: APjAAAWMBybS/bAVXohWiDPjalaJ7NjMKmWVWDQletPI9uMppoH9ohOp Wc+8GulRAtKBoUdSqzUk9TWo6usN X-Google-Smtp-Source: APXvYqyFr/yqj5I4dniEU9JItRAjWRfScIgUkT4/kZEAM58QT2D/hzjW5Eq69sm9MDdfWxZtXG1tUQ== X-Received: by 2002:a5d:518d:: with SMTP id k13mr21247420wrv.349.1566123130288; Sun, 18 Aug 2019 03:12:10 -0700 (PDT) Received: from kali.home (lfbn-ren-1-605-248.w81-53.abo.wanadoo.fr. [81.53.181.248]) by smtp.gmail.com with ESMTPSA id 4sm21022407wro.78.2019.08.18.03.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2019 03:12:09 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 18 Aug 2019 12:12:25 +0200 Message-Id: <20190818101226.13205-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH/next 1/2] package/gauche: bump to version 0.9.8 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: Hiroshi Kawashima , Fabrice Fontaine , "Yann E. MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - Remove second, third and fourth patches (already in version) - Update first patch and sent it upstream - Add AUTORECONF=YES to avoid patching configure in first patch - Add hash for license file Signed-off-by: Fabrice Fontaine --- package/gauche/0001-fix-so-suffix.patch | 43 ++++++------- ...d-check-for-NO_GETCONTEXT-definition.patch | 62 ------------------- ...-version.h-build-error-uClibc-x86-_6.patch | 46 -------------- package/gauche/0004-rfc-needs-srfi.patch | 35 ----------- package/gauche/gauche.hash | 7 ++- package/gauche/gauche.mk | 4 +- 6 files changed, 29 insertions(+), 168 deletions(-) delete mode 100644 package/gauche/0002-gc-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch delete mode 100644 package/gauche/0003-Fix-missing-libc-version.h-build-error-uClibc-x86-_6.patch delete mode 100644 package/gauche/0004-rfc-needs-srfi.patch diff --git a/package/gauche/0001-fix-so-suffix.patch b/package/gauche/0001-fix-so-suffix.patch index b65e269981..8a0937681c 100644 --- a/package/gauche/0001-fix-so-suffix.patch +++ b/package/gauche/0001-fix-so-suffix.patch @@ -1,31 +1,32 @@ +From cefd57f76f7faec4143bf1e42ed148cad973c1f4 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 12 Aug 2019 23:17:21 +0200 +Subject: [PATCH] configure.ac: fix so suffix + With uclibc or musl configuration, $host does not match to '*-linux-gnu*'. -I touch configure directly instead of configure.ac because autoreconf -failed by version mismatch of autotools. Signed-off-by: Hiroshi Kawashima +[Retrieved (and slightly updated) from: +https://git.buildroot.net/buildroot/tree/package/gauche/0001-fix-so-suffix.patch] +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/shirok/Gauche/pull/508] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) -diff -ur a/configure b/configure ---- a/configure 2014-07-20 15:15:05.000000000 +0900 -+++ b/configure 2015-10-20 21:52:32.791442291 +0900 -@@ -6843,7 +6843,7 @@ +diff --git a/configure.ac b/configure.ac +index 15092a2d6..b82b762a9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -641,7 +641,7 @@ AS_CASE([$host], SHLIB_MAIN_LDFLAGS="" SHLIB_OK=ok - ;; -- *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*) -+ *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*) + ], +- [*-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*], [ ++ [*-linux-*|*-*-gnu*|*freebsd*|*dragonfly*], [ SHLIB_SO_CFLAGS="-fPIC" SHLIB_SO_LDFLAGS="$rpath -shared -o" SHLIB_SO_SUFFIX="so" +-- +2.20.1 -diff -ur a/configure.ac b/configure.ac ---- a/configure.ac 2015-10-21 21:33:17.370000200 +0900 -+++ b/configure.ac 2015-10-21 21:33:39.784110527 +0900 -@@ -572,7 +572,7 @@ - SHLIB_MAIN_LDFLAGS="" - SHLIB_OK=ok - ;; -- *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*) -+ *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*) - SHLIB_SO_CFLAGS="-fPIC" - SHLIB_SO_LDFLAGS="$rpath -shared -o" - SHLIB_SO_SUFFIX="so" diff --git a/package/gauche/0002-gc-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch b/package/gauche/0002-gc-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch deleted file mode 100644 index 6cc065693f..0000000000 --- a/package/gauche/0002-gc-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch +++ /dev/null @@ -1,62 +0,0 @@ -gc/configure.ac: add check for NO_GETCONTEXT definition - -This patch is ported from bdwgc package. Since Gauche uses an internal -copy of the boehm gc code, it is affected by the same problem. - -Both configure and configure.ac are modified because autoreconf fails -due to an incompatibility with the version of the autotools used by -Buildroot. - -Signed-off-by: Hiroshi Kawashima - -Original credits of patch in bdwgc package: -Signed-off-by: Samuel Martin -[yann.morin.1998@free.fr: add a comment, change variable name, use - AS_IF, remove debug traces, use AC_CHECK_FUNCS (as suggested by - Thomas)] -Signed-off-by: "Yann E. MORIN" -Cc: Thomas Petazzoni - -diff -ur a/gc/configure b/gc/configure ---- a/gc/configure 2015-11-12 21:41:02.394822056 +0900 -+++ b/gc/configure 2015-11-12 22:04:14.655157423 +0900 -@@ -16153,6 +16153,23 @@ - $as_echo "$ac_cv_fno_strict_aliasing" >&6; } - fi - -+# Check for getcontext (uClibc can be configured without it, for example) -+for ac_func in getcontext -+do : -+ ac_fn_c_check_func "$LINENO" "getcontext" "ac_cv_func_getcontext" -+if test "x$ac_cv_func_getcontext" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_GETCONTEXT 1 -+_ACEOF -+ -+fi -+done -+ -+if test "$ac_cv_func_getcontext" = "no"; then : -+ CFLAGS="$CFLAGS -DNO_GETCONTEXT" -+ CPPFLAGS="$CPPFLAGS -DNO_GETCONTEXT" -+fi -+ - case "$host" in - # While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64 - # and unnecessary everywhere. -diff -ur a/gc/configure.ac b/gc/configure.ac ---- a/gc/configure.ac 2015-11-12 22:31:44.851510997 +0900 -+++ b/gc/configure.ac 2015-11-12 22:33:39.292191227 +0900 -@@ -459,6 +459,12 @@ - AC_MSG_RESULT($ac_cv_fno_strict_aliasing) - fi - -+# Check for getcontext (uClibc can be configured without it, for example) -+AC_CHECK_FUNCS([getcontext]) -+AS_IF([test "$ac_cv_func_getcontext" = "no"], -+ [CFLAGS="$CFLAGS -DNO_GETCONTEXT" -+ CPPFLAGS="$CPPFLAGS -DNO_GETCONTEXT"]) -+ - case "$host" in - # While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64 - # and unnecessary everywhere. diff --git a/package/gauche/0003-Fix-missing-libc-version.h-build-error-uClibc-x86-_6.patch b/package/gauche/0003-Fix-missing-libc-version.h-build-error-uClibc-x86-_6.patch deleted file mode 100644 index 61a3f1aadb..0000000000 --- a/package/gauche/0003-Fix-missing-libc-version.h-build-error-uClibc-x86-_6.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 4b9692c93d658015087f19016b2bd0c9dfbccee6 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sun, 28 May 2017 20:21:09 +0200 -Subject: [PATCH] Fix 'missing libc-version.h' build error (uClibc/x86[_64]) - (fix commit 3d34255) - -uClibc defines __GLIBC__ but does not contain libc-version.h file. - -* include/private/gcconfig.h [(I386 || X86_64) && LINUX && __GLIBC__] -(GLIBC_2_19_TSX_BUG): Do not define (and do not include -gnu/libc-version.h) if __UCLIBC__. - -[baruch: cherry pick from upstream bdwgc commit 047230b71d42140] -Signed-off-by: Baruch Siach ---- -Upstream status: patch applied to bdwgc; will propagate to gauche on the next -synch of its bundled bdwgc - - gc/include/private/gcconfig.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gc/include/private/gcconfig.h b/gc/include/private/gcconfig.h -index 80920e5af570..f063664c3f52 100644 ---- a/gc/include/private/gcconfig.h -+++ b/gc/include/private/gcconfig.h -@@ -1420,7 +1420,7 @@ - # define GC_PREFETCH_FOR_WRITE(x) \ - __asm__ __volatile__ ("prefetchw %0" : : "m"(*(char *)(x))) - # endif --# if defined(__GLIBC__) -+# if defined(__GLIBC__) && !defined(__UCLIBC__) - /* Workaround lock elision implementation for some glibc. */ - # define GLIBC_2_19_TSX_BUG - # include /* for gnu_get_libc_version() */ -@@ -2431,7 +2431,7 @@ - /* FIXME: This seems to be fixed in GLibc v2.14. */ - # define GETCONTEXT_FPU_EXCMASK_BUG - # endif --# if defined(__GLIBC__) -+# if defined(__GLIBC__) && !defined(__UCLIBC__) - /* Workaround lock elision implementation for some glibc. */ - # define GLIBC_2_19_TSX_BUG - # include /* for gnu_get_libc_version() */ --- -2.11.0 - diff --git a/package/gauche/0004-rfc-needs-srfi.patch b/package/gauche/0004-rfc-needs-srfi.patch deleted file mode 100644 index 8b83b7872b..0000000000 --- a/package/gauche/0004-rfc-needs-srfi.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 33ba5e73ec09f1308f897128334e955debd9ea43 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Wed, 21 Nov 2018 08:58:25 +0100 -Subject: [PATCH] rfc: needs srfi - -ext/rfc needs srfi-19 since version 0.9.5 and -https://github.com/shirok/Gauche/commit/bd22bc82361c5eeb5d3b58c3836236566746bb96 - -So add a dependency on srfi for rfc target in Makefile.in - -Fixes: - - http://autobuild.buildroot.org/results/f4935e29ce6aaebdaa47d46c56120b7e97145d1b - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/shirok/Gauche/pull/397] ---- - ext/Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ext/Makefile.in b/ext/Makefile.in -index 57ddf457e..de8d59a4d 100644 ---- a/ext/Makefile.in -+++ b/ext/Makefile.in -@@ -54,7 +54,7 @@ bcrypt: mt-random - - dbm : threads - --rfc: gauche util -+rfc: gauche srfi util - - test : check - --- -2.14.1 - diff --git a/package/gauche/gauche.hash b/package/gauche/gauche.hash index 8f45ef997b..600c46fbdc 100644 --- a/package/gauche/gauche.hash +++ b/package/gauche/gauche.hash @@ -1,5 +1,6 @@ # From https://sourceforge.net/projects/gauche/files/Gauche/ -sha1 c3e1ea21f3acc66fd26eced117caab3f86531db4 Gauche-0.9.5.tgz -md5 8bac7cbd99a91f6f2c037ac6988db14d Gauche-0.9.5.tgz +sha1 ff7878ab19c56b49b4b6d77009300a3592cc903c Gauche-0.9.8.tgz +md5 efd1b12cd5708d9e1e4358ab2d2e1e32 Gauche-0.9.8.tgz # Locally calculated -sha256 4c8a53213de112708bbda5fa9648c21497d43ebf809ed5b32b15f21266b4e73c Gauche-0.9.5.tgz +sha256 3eb30d1051d8b48999fe46511c9f6983057735312c9832b7db13f9db140db74b Gauche-0.9.8.tgz +sha256 d537f80c0bb3cc203bc2675b766b9de9573243026fa3e8ad78368abd4b14aac8 COPYING diff --git a/package/gauche/gauche.mk b/package/gauche/gauche.mk index 0b4185f5bf..1f66e28de7 100644 --- a/package/gauche/gauche.mk +++ b/package/gauche/gauche.mk @@ -4,12 +4,14 @@ # ################################################################################ -GAUCHE_VERSION = 0.9.5 +GAUCHE_VERSION = 0.9.8 GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz GAUCHE_SITE = http://downloads.sourceforge.net/project/gauche/Gauche GAUCHE_LICENSE = BSD-3-Clause, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm) GAUCHE_LICENSE_FILES = COPYING GAUCHE_DEPENDENCIES = host-gauche +# We're patching configure.ac +GAUCHE_AUTORECONF = YES HOST_GAUCHE_CONF_OPTS = --without-zlib GAUCHE_CONF_OPTS = --without-libatomic-ops From patchwork Sun Aug 18 10:12:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1148829 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="IgDGxm6Y"; 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 46BCXm5f98z9s7T for ; Sun, 18 Aug 2019 20:12:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4004120413; Sun, 18 Aug 2019 10:12:21 +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 f8ZelAoovjFI; Sun, 18 Aug 2019 10:12:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5D10220510; Sun, 18 Aug 2019 10:12:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 29DBB1BF3AA for ; Sun, 18 Aug 2019 10:12:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 263E184543 for ; Sun, 18 Aug 2019 10:12:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QfFiCg7zhcdG for ; Sun, 18 Aug 2019 10:12:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A933783502 for ; Sun, 18 Aug 2019 10:12:15 +0000 (UTC) Received: by mail-wm1-f43.google.com with SMTP id f72so550359wmf.5 for ; Sun, 18 Aug 2019 03:12:15 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=qYUxNZfoh33lXzWZeaIoorW5bF7GpAf5uaBZfavRwAo=; b=IgDGxm6YpD0CD8CGR4kTGDayOvUK90vsov9Gwp9RnS5buma8/xfK1TuBHsxkZdY/8S i8sQj0bLBCi/6xmEw5sPKnmVkqPx6dAH/rhfYxHQl4FH1evk4eKDQaNMUVYtBX+gcEmO Mqc75Yhbp0CiGUIVwSF/mPmdKHPw9ACpXwgska5sgnfqarbOTX/bcE1WJpSiqtlz2E+Y yhIIJ8KiT55ayUc/rf8sPZTdX/mDZafCz0qaB6zM8NR2WVn3j+YW0vMtMttnOxFiT140 or3EGibckIXUnHZXyKtcl6dXEce4bELc1xCQfW6D7Cznp/oAizNEvl1X1oAIh/cwZ7XV gD+A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=qYUxNZfoh33lXzWZeaIoorW5bF7GpAf5uaBZfavRwAo=; b=Ik+577gciryH7sXRaktQlhMo7ASIgX1Mg1bkNoMD4me5PiDzu0ZbkLC+fr/yUCXciy eHVtgKqnYLE3ffU0fRMLkSTh4iiDc8fEBf9hOwQYzem6dp/VLW9tesnubdGj0qYyaSAY hg+uSib3S1NU4CZMPozxLOdBvGN0XJDmMAWUv0vewifsk8/57EZnZd2fPGwTzcEcpr+W fp8sLa2mN83djWhced3MuhEJMprUyqxZm4g1o51RtJDlo2H898+0jPzrEYwThHpJzYgG KSs9w3ILpbv4ftkK4lXYSYkX3prWSZVJOm4D3UkTh1JnsGCHn0NXvvm4IeoNgVB2zqii lJ6w== X-Gm-Message-State: APjAAAXu5PVFeqOVxT31mbKxshPV67jOSKnkOF+dgzrLHV9Eh70Z29Js gYGqtR/Ze6wlzleWsWSlhVz4ONZf X-Google-Smtp-Source: APXvYqwuzLqyCTXLi8tfF1sZumdfBJ9DpaqG92kTXmNr1KKJe/5x8yFx8z+mjPOrkJkU7y1tW6c+Hg== X-Received: by 2002:a7b:cb11:: with SMTP id u17mr14757522wmj.17.1566123133633; Sun, 18 Aug 2019 03:12:13 -0700 (PDT) Received: from kali.home (lfbn-ren-1-605-248.w81-53.abo.wanadoo.fr. [81.53.181.248]) by smtp.gmail.com with ESMTPSA id 4sm21022407wro.78.2019.08.18.03.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2019 03:12:13 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 18 Aug 2019 12:12:26 +0200 Message-Id: <20190818101226.13205-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190818101226.13205-1-fontaine.fabrice@gmail.com> References: <20190818101226.13205-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/next 2/2] package/gauche: add optional mbedtls dependency 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: Hiroshi Kawashima , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" mbedtls support has been added in version 0.9.6 with https://github.com/shirok/Gauche/commit/d449f013fae79639bb300d783962328c6b6b1bd0 So enable it if mbedtls is enabled and always enable embedded axTLS support to keep existing behavior Signed-off-by: Fabrice Fontaine --- package/gauche/gauche.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/gauche/gauche.mk b/package/gauche/gauche.mk index 1f66e28de7..2a30a2b39a 100644 --- a/package/gauche/gauche.mk +++ b/package/gauche/gauche.mk @@ -16,6 +16,16 @@ GAUCHE_AUTORECONF = YES HOST_GAUCHE_CONF_OPTS = --without-zlib GAUCHE_CONF_OPTS = --without-libatomic-ops +# Enable embedded axTLS +GAUCHE_TLS_LIBS = axtls + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +GAUCHE_TLS_LIBS += mbedtls +GAUCHE_DEPENDENCIES += mbedtls +endif + +GAUCHE_CONF_OPTS += --with-tls="$(GAUCHE_TLS_LIBS)" + ifeq ($(BR2_PACKAGE_ZLIB),y) GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR) GAUCHE_DEPENDENCIES += zlib