From patchwork Sun Jul 19 08:27:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1331763 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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.a=rsa-sha256 header.s=20161025 header.b=YaBopPxI; 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 4B8dK45G3rz9sPB for ; Sun, 19 Jul 2020 18:27:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 91BB2868E5; Sun, 19 Jul 2020 08:27:49 +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 E6EhmRALnu10; Sun, 19 Jul 2020 08:27:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8A882868F6; Sun, 19 Jul 2020 08:27:48 +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 5C3BD1BF368 for ; Sun, 19 Jul 2020 08:27:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5812C868F6 for ; Sun, 19 Jul 2020 08:27:47 +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 gRtulfV0hNx5 for ; Sun, 19 Jul 2020 08:27:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 44824868E5 for ; Sun, 19 Jul 2020 08:27:46 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id z15so14932612wrl.8 for ; Sun, 19 Jul 2020 01:27:46 -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=2lXmTwFyM2wdaz2OQXXh9bMr+1LmFD5Xp4rBvFebgAk=; b=YaBopPxImj27BL//RdlrqjP3yOzp89HawQQSqN4cRry2T7tH9qeag1QXLIfutfDcTs ecMIjYtz6AQAuFABT9ZB0vwFou8Jt3E8mgY/HWLSq5dVeKkLj50Us/Huy8oSpFaSqrth gpuS8fYyn0jtnIe7JCnhv31+WslFhbmEq067nCorJLuA9qgvZ7xxIgH98eCi50uAanMZ /0Jh3UpJ9s5+1M/FZ7uWgiwatpFOwoGD1LmLa4ITquRZn1ugFPPu+Hds/QXQiLCl42mQ jS6yyZ4PokG9N2Z+m1anm7AcoSVU8nuKycAc8pM8yp5ST1ElTudnL91BpzRVtJ+bQ5hZ e52A== 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=2lXmTwFyM2wdaz2OQXXh9bMr+1LmFD5Xp4rBvFebgAk=; b=Apgc8Ud9JD5aGkWuB98hqu5wGu6LQLVuYz9lIkiz6W+WnK6GKA+8iqtoE2sUIE7qti jfydk7pslrT9qCeP7K8aUBwDh1TxgCYdrSoffPsbJ0Lw6e+b/p6ljJzEpQHJ4TfjupH+ 7S2E+T60psyjfgtH1SfiKuGZbGxA/D8h3CWvpsPXoZVoTQGyxSbkPnTLa51MxA2DQLxb NL5YXKfYCcEDWWhLtYrPTP24SusWgctoJA1yF23E9LhIu2vHeXekKiHj5GcZL90Sgb8t 1UtEhg9EPn4BAa64eYTv7met5K7v7E/v3nYDwOSoZrbjW8pi7qGa21DyAnxxb8gnFZ0R GYEg== X-Gm-Message-State: AOAM533Mc6wRZqb8PXFmafspeT9jXB59fbWTlQcDUas45OqgaTKTE6ka p00gUZEwEKUQDi5oGZnoFl9KovEx X-Google-Smtp-Source: ABdhPJzmo21dG2YWpNDVF9kd9SYquE+SaTBJYtgNa8OS8f08wfdICm9RIzGrO0jEHIPHvI5oLDi4PA== X-Received: by 2002:a5d:40cb:: with SMTP id b11mr17724339wrq.263.1595147264458; Sun, 19 Jul 2020 01:27:44 -0700 (PDT) Received: from kali.home (lfbn-ren-1-2132-33.w92-167.abo.wanadoo.fr. [92.167.211.33]) by smtp.gmail.com with ESMTPSA id c25sm23251483wml.18.2020.07.19.01.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2020 01:27:43 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 19 Jul 2020 10:27:44 +0200 Message-Id: <20200719082744.1708332-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/avro-c: fix build without C++ 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: Fabrice Fontaine , Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/cfa91db53cf5502cbb6f902d1e7ad6397c8d70fd Signed-off-by: Fabrice Fontaine --- ...d-failure-without-a-C-compiler-again.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch diff --git a/package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch b/package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch new file mode 100644 index 0000000000..8f7e59cf62 --- /dev/null +++ b/package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch @@ -0,0 +1,34 @@ +From 8f5633a29b083a84876c00b88fba6d3e8dbbf1a8 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 19 Jul 2020 09:35:09 +0200 +Subject: [PATCH] cmake: Build failure without a C++ compiler (again) + +avro-c fails to build (again) without a C++ compiler because commit +664c2fc7fba19709c1f974055f9cf4c8a799e108 reverted the change made by +commit 414a51fdc1856083bb16851f09a4c61a48796132 + +Fixes: + - http://autobuild.buildroot.org/results/cfa91db53cf5502cbb6f902d1e7ad6397c8d70fd + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://issues.apache.org/jira/browse/AVRO-2898] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6c8d7aaf..aa923e18 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -17,7 +17,7 @@ + # under the License. + # + cmake_minimum_required(VERSION 3.1) +-project(AvroC) ++project(AvroC C) + enable_testing() + + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}) +-- +2.27.0 +