From patchwork Mon Sep 14 09:07:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Fischer X-Patchwork-Id: 1363450 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=none (p=none dis=none) header.from=go-sys.de 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 4BqgWK4V9Fz9sT6 for ; Mon, 14 Sep 2020 19:08:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 20A1E86973; Mon, 14 Sep 2020 09:08:11 +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 A352Vi1Z+H3G; Mon, 14 Sep 2020 09:08:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3EB7686963; Mon, 14 Sep 2020 09:08:10 +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 3106D1BF3C0 for ; Mon, 14 Sep 2020 09:08:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 21ED98696A for ; Mon, 14 Sep 2020 09:08:08 +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 bWeaUQ5ZlJOy for ; Mon, 14 Sep 2020 09:08:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.28]) by whitealder.osuosl.org (Postfix) with ESMTPS id 08A598695A for ; Mon, 14 Sep 2020 09:08:05 +0000 (UTC) Received: from [84.146.213.176] (helo=exchange.go-sys.de) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1kHkRZ-00031P-9G for buildroot@busybox.net; Mon, 14 Sep 2020 11:06:37 +0200 Received: from exchange.go-sys.local (192.168.1.17) by exchange.go-sys.local (192.168.1.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1531.3; Mon, 14 Sep 2020 11:08:01 +0200 Received: from go-sys.de (192.168.1.5) by exchange.go-sys.de (192.168.1.17) with Microsoft SMTP Server id 15.1.1531.3 via Frontend Transport; Mon, 14 Sep 2020 11:08:01 +0200 From: Michael Fischer To: Date: Mon, 14 Sep 2020 11:07:59 +0200 Message-ID: <20200914090759.22116-1-mf@go-sys.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-C2ProcessedOrg: 77b28032-c882-4527-ad15-de6c89cb71cd X-CrossPremisesHeadersFilteredBySendConnector: exchange.go-sys.local X-OrganizationHeadersPreserved: exchange.go-sys.local X-Df-Sender: c21hcnRob3N0QGdvLXN5cy5kZQ== Subject: [Buildroot] [PATCH 1/1] package/gnuplot: Add patch to fix 'undefined reference to gp_read_history' 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: Michael Fischer Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.net/results/e09087f0afd323a220889e2c7827fd73c9025673 Signed-off-by: Michael Fischer --- package/gnuplot/0002-without-history.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/gnuplot/0002-without-history.patch diff --git a/package/gnuplot/0002-without-history.patch b/package/gnuplot/0002-without-history.patch new file mode 100644 index 0000000000..6091da8415 --- /dev/null +++ b/package/gnuplot/0002-without-history.patch @@ -0,0 +1,17 @@ +history.c: Patch to solve the 'undefined reference to gp_read_history' + +Signed-off-by: Michael Fischer + +diff -purN gnuplot-5.4.0.org/src/history.c gnuplot-5.4.0/src/history.c +--- gnuplot-5.4.0.org/src/history.c 2019-12-10 07:22:32.000000000 +0100 ++++ gnuplot-5.4.0/src/history.c 2020-09-14 10:07:36.525441702 +0200 +@@ -91,7 +91,9 @@ write_history(char *filename) + void + read_history(char *filename) + { +- gp_read_history(filename); ++#ifdef GNUPLOT_HISTORY ++ gp_read_history(filename); ++#endif + } +