From patchwork Sun Oct 20 09:20:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1179963 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.137; helo=fraxinus.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="bKTEFeS9"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46wvPV198yz9sP6 for ; Sun, 20 Oct 2019 20:20:10 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 639C285CA3; Sun, 20 Oct 2019 09:20:08 +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 LHctBqudVG9f; Sun, 20 Oct 2019 09:20:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CCDFC85C86; Sun, 20 Oct 2019 09:20:07 +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 6AE2E1BF36C for ; Sun, 20 Oct 2019 09:20:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 67E9585C94 for ; Sun, 20 Oct 2019 09:20:06 +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 LhX2dDhZdhzR for ; Sun, 20 Oct 2019 09:20:05 +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 096E785C86 for ; Sun, 20 Oct 2019 09:20:05 +0000 (UTC) Received: by mail-wm1-f43.google.com with SMTP id 14so3217804wmu.0 for ; Sun, 20 Oct 2019 02:20:04 -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=2yacjEnA3SiLViEzMOrw/+T1qfltf6gc9TAJLijpZQA=; b=bKTEFeS9dG2nDNu3kL6Ug8gLFDoVgD1yLcdhFMju6BWUOqDGUzsIi+eHe8fi0Q2oZJ CH3DMd3lucHD1ppySYAgwHRBvSPRyENbgEqy3TMxw8ewL3l6GIxED0yuRizr/byQ0Duq IVkYTMIwfNm5yCFYc0YDCdHYj6EMBP1vXlrVO4aSpCYuQ24v+c7WGddS/2GAPTRviI1f SrjJ5faPK2NDsuZTLs/sByaqk1dVKJQoKcfN6RqRXEicmwsvb4oGhwttEIEz1Tj7K1B1 N+SoLaF2akQue+T3VlF1m4zYL5CfeO5w791Zlbg/xDpVXIHg479pOVRWmVjStMX0Ueha taVA== 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=2yacjEnA3SiLViEzMOrw/+T1qfltf6gc9TAJLijpZQA=; b=CZ8BajWO3Z1iOBWfJSA8YZXy5EM9W/iSZss0kB6RghL+hg5m0NbeuqqA5UnqMb3fhN xf0wI9vQJpR155x43K0iKsASS5PfCalYJyUgYs3wVk14p/H3Q3b0VUhFFC7VajsU95Z0 e20rWsdoHr/TP2ifLHIWTvlbAEJTXeS2oRPPbg+Zfo+t0K7kcQuG4sJzkdH6RiTC6VaF 1sfc/OmfQFfunSyTgB7nH7zktLham6TunGCMQf7hPGepaJGIVZ4LoWcW2clFThClB61i fOQ79PBeW8zqKu05jyRIn9BdOAqVIyZo5pGI72AWWFCVU+GSqtJlEKddbzQMcEoZ/tGq R9Xg== X-Gm-Message-State: APjAAAVWoSuVGYWnDyH5Xb0cJzRptb6d84BKA35p66SmAokTFE1BRBpn rYlbaPjM3tr3DTf6dZzeT/UDALVm X-Google-Smtp-Source: APXvYqw3IJ2mn1xXMkjsN2tF3n4udj/XOXnj9JN+ZO4+xGTCm1NDVM1Xm2OHCktPquigr7wqbDa5gg== X-Received: by 2002:a1c:7f96:: with SMTP id a144mr5331323wmd.143.1571563203162; Sun, 20 Oct 2019 02:20:03 -0700 (PDT) Received: from kali.home (lfbn-1-3732-187.w86-229.abo.wanadoo.fr. [86.229.230.187]) by smtp.gmail.com with ESMTPSA id o19sm11201650wmh.27.2019.10.20.02.20.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 02:20:02 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 20 Oct 2019 11:20:38 +0200 Message-Id: <20191020092038.2422-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/proj: add SQLITE3_LIBS to proj.pc.in 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: Zoltan Gyarmati , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This will fix a static build failure with libgeotiff Fixes: - http://autobuild.buildroot.org/results/737db533c16f285a02118ab048e8427d3e35803d Signed-off-by: Fabrice Fontaine --- ....in-add-SQLITE3_LIBS-to-Libs.Private.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/proj/0002-proj.pc.in-add-SQLITE3_LIBS-to-Libs.Private.patch diff --git a/package/proj/0002-proj.pc.in-add-SQLITE3_LIBS-to-Libs.Private.patch b/package/proj/0002-proj.pc.in-add-SQLITE3_LIBS-to-Libs.Private.patch new file mode 100644 index 0000000000..112559143e --- /dev/null +++ b/package/proj/0002-proj.pc.in-add-SQLITE3_LIBS-to-Libs.Private.patch @@ -0,0 +1,32 @@ +From 0181fd5fa0d75c5a6339dee9a8eaea95ff4bf0b0 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 20 Oct 2019 11:05:42 +0200 +Subject: [PATCH] proj.pc.in: add SQLITE3_LIBS to Libs.Private + +Add @SQLITE3_LIBS@ to Libs.Private so applications linking statically +with proj (such as libgeotiff) will know that they have to link with +-lsqlite3 + +Fixes: + - http://autobuild.buildroot.org/results/737db533c16f285a02118ab048e8427d3e35803d + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/OSGeo/PROJ/pull/1686] +--- + proj.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/proj.pc.in b/proj.pc.in +index 001f08a1..67a432f1 100644 +--- a/proj.pc.in ++++ b/proj.pc.in +@@ -9,5 +9,5 @@ Description: Cartographic Projections Library. + Requires: + Version: @VERSION@ + Libs: -L${libdir} -lproj +-Libs.Private: -lstdc++ ++Libs.Private: @SQLITE3_LIBS@ -lstdc++ + Cflags: -I${includedir} +-- +2.23.0 +