From patchwork Sat Jan 14 19:15:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 715372 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3v18Ng494lz9sdm for ; Sun, 15 Jan 2017 06:16:03 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 608DA86D41; Sat, 14 Jan 2017 19:16:01 +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 AqFvjheXGjrW; Sat, 14 Jan 2017 19:16:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1253186B7B; Sat, 14 Jan 2017 19:16:00 +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 32AE61BFB38 for ; Sat, 14 Jan 2017 19:15:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2C1AB84394 for ; Sat, 14 Jan 2017 19:15:58 +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 KCRMs0xeQqci for ; Sat, 14 Jan 2017 19:15:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by whitealder.osuosl.org (Postfix) with ESMTPS id 87CF884333 for ; Sat, 14 Jan 2017 19:15:57 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id ADA60440BA9; Sat, 14 Jan 2017 21:15:37 +0200 (IST) From: Baruch Siach To: buildroot@busybox.net Date: Sat, 14 Jan 2017 21:15:48 +0200 Message-Id: <3ca30c18f41021fc83415195f97aa456c36e8a2b.1484421348.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH] jasper: disable C++ compiler check 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" Add a patch to disable the default cmake C++ compiler check. Fixes: http://autobuild.buildroot.net/results/970/97001530e59062c36f27721877cb8b5c3ba8906a/ Signed-off-by: Baruch Siach --- package/jasper/0001-Disable-C-compiler-check.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/jasper/0001-Disable-C-compiler-check.patch diff --git a/package/jasper/0001-Disable-C-compiler-check.patch b/package/jasper/0001-Disable-C-compiler-check.patch new file mode 100644 index 000000000000..c1f727109c06 --- /dev/null +++ b/package/jasper/0001-Disable-C-compiler-check.patch @@ -0,0 +1,28 @@ +From e4ed3e2c3fd5a859567f510deeb49a915d96700f Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Sat, 14 Jan 2017 21:06:25 +0200 +Subject: [PATCH] Disable C++ compiler check + +jasper does not use C++ code. Allow use of toolchains without C++ support. + +Signed-off-by: Baruch Siach +--- +Upstream status: https://github.com/mdadams/jasper/pull/110 + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6c99b3e7df31..3ac166b060ad 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,6 @@ + cmake_minimum_required (VERSION 2.8.11) + +-project(JasPer) ++project(JasPer C) + + set(CMAKE_MODULE_PATH + ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/cmake/modules/") +-- +2.11.0 +