From patchwork Wed Aug 5 18:05:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 504149 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 940461402A1 for ; Thu, 6 Aug 2015 04:06:15 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=rE3pTWvY; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 10A91337CE; Wed, 5 Aug 2015 18:06:14 +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 iIEVyPN30f8u; Wed, 5 Aug 2015 18:06:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E0C4A337C1; Wed, 5 Aug 2015 18:06:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0DD561C1F80 for ; Wed, 5 Aug 2015 18:06:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6B51795683 for ; Wed, 5 Aug 2015 18:06:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BACFbGYVFd95 for ; Wed, 5 Aug 2015 18:06:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by hemlock.osuosl.org (Postfix) with ESMTPS id C96CD9568C for ; Wed, 5 Aug 2015 18:06:04 +0000 (UTC) Received: by wicne3 with SMTP id ne3so15003993wic.1 for ; Wed, 05 Aug 2015 11:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=fMitGnPrb8xHhuy3aOfn6WO0BCnrmwG/kxKM62UelSs=; b=rE3pTWvYOgBLasGRhucDA+zJXB7lEZ4FQCSsbsN6NJL9s5FB+3CiG/CSCpsaWSBhaT dQS8Q3nzB5A2k5F4q1Ni4jQHa+WL1AcZtlgr0+pzpWmfkDgOkkxZgqKqqHaGSWSUxbDu pnkUcAiGXEkYIzkNsdMGBSv6ouxZ3CJiJBoLHXwZPtQ+Q7FiCgmqJ4SGa4i6QzI2m+Iw Djcu07CoX+Oii8vREiN3Z3aqwX2VV0aYY1PsZYvxviM237o5sljmA0AS3ZZBGQuuTQtK QsRUMR8VSyQ/eBv/7psH7YwfEJAR1Esrcb3mr2XBLtBl84pNMoGSJBD6CtF3kgfq3MGr CApA== X-Received: by 10.180.96.1 with SMTP id do1mr862890wib.37.1438797961598; Wed, 05 Aug 2015 11:06:01 -0700 (PDT) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id k2sm8751588wif.4.2015.08.05.11.06.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Aug 2015 11:06:00 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Wed, 5 Aug 2015 20:05:57 +0200 Message-Id: <1438797957-14814-1-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 Cc: Bernd Kuhls , "Yann E. MORIN" Subject: [Buildroot] [PATCH] package/libcec: needs gcc >= 4.7 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" As per upstream, gcc-4.7 is required to build libcec: https://github.com/Pulse-Eight/libcec/issues/78#issuecomment-91578591 Fixes: http://autobuild.buildroot.org/results/3b5/3b5611725c13668472482ed4ad3b46886d4c63d9/ http://autobuild.buildroot.org/results/0d0/0d032cdd8dbf6d0ddef392c3e5a734881e00ee64/ http://autobuild.buildroot.org/results/c21/c21c555c38261f6911349ff9fdac6edeb4debaac/ [...] Possibly fixes: http://autobuild.buildroot.org/results/4a7/4a7b2af2fc3924255ac89e18f4f5c90bb8383265/ http://autobuild.buildroot.org/results/dd6/dd61c186e6d85a9b30cd32edb74a52f7a4f73cc8/ [...] Signed-off-by: "Yann E. MORIN" Cc: Bernd Kuhls Acked-by: Bernd Kuhls --- package/kodi/Config.in | 4 +++- package/libcec/Config.in | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index c3b3183..797f59d 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -158,13 +158,15 @@ config BR2_PACKAGE_KODI_LIBCEC bool "hdmi cec" depends on !BR2_STATIC_LIBS # libcec depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # libcec select BR2_PACKAGE_LIBCEC help Enable CEC (Consumer Electronics Control) support. Select this if you want Kodi to support HDMI CEC. comment "hdmi cec support needs udev /dev management and a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS || !BR2_PACKAGE_HAS_UDEV + depends on BR2_STATIC_LIBS || !BR2_PACKAGE_HAS_UDEV || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 config BR2_PACKAGE_KODI_LIRC bool "lirc" diff --git a/package/libcec/Config.in b/package/libcec/Config.in index 2cf011d..2dddc53 100644 --- a/package/libcec/Config.in +++ b/package/libcec/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBCEC depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_WCHAR depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 select BR2_PACKAGE_LIBPLATFORM help libcec allows you in combination with the right hardware to @@ -12,6 +13,7 @@ config BR2_PACKAGE_LIBCEC http://libcec.pulse-eight.com -comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library" +comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.7" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR || BR2_STATIC_LIBS + !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ + BR2_STATIC_LIBS