From patchwork Sun Oct 20 18:33:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1180056 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.136; helo=silver.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="bH9TA9XA"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46x7gb4Y4pz9sPh for ; Mon, 21 Oct 2019 05:33:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 475382013C; Sun, 20 Oct 2019 18:33:10 +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 U4cMMJMGsApe; Sun, 20 Oct 2019 18:33:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 23752203DB; Sun, 20 Oct 2019 18:33:09 +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 80D8C1BF399 for ; Sun, 20 Oct 2019 18:33:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6EA7F85C05 for ; Sun, 20 Oct 2019 18:33: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 80Xn9fL5947O for ; Sun, 20 Oct 2019 18:33:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 967E585BE4 for ; Sun, 20 Oct 2019 18:33:07 +0000 (UTC) Received: by mail-wm1-f48.google.com with SMTP id 14so3907750wmu.0 for ; Sun, 20 Oct 2019 11:33:07 -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=mEzwNtyQxk3bcVcGLXWuzfiXc7rLBL6ABGXJnT/gm5M=; b=bH9TA9XA4+uFJB/O9whko7W17YGbA3M/3+N9EwSJcR5XqcIQtvl6OS2o2WQs6xZGUq 3sHF/OKpOzKKVAPc+/XN87QOUeKQsbEQgocALETSSpq5mZo0pE30193XblxvPICa6rGt zJZ9+Xwk10lop28NdltcQUr8CTtuOKys3tBdNfEa4RaStUFUvKawvBRbD6RRBdlnuPZN aSiYdGHUAWVOvMzp+2gUsBOnj2/cLAMUtlShwWOVr/mvpDAAPzYEM7QXaoEzHTRD8vZJ LIGQu3gg0hGwzGenOnI/wAed4Fia7R92NH3Y2AkqORuKuFPdYobhOfnIL4BLw93vN6do laVA== 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=mEzwNtyQxk3bcVcGLXWuzfiXc7rLBL6ABGXJnT/gm5M=; b=uKJ6JSnW5Zh5iwwR4AGtgya0/28PPcGQh3CFSAssqFsSiBD6Phi2KNOPTMVmfFbd/v 8WpOYczmSWADFnLL8blUFiG9m32rGiUhJfTyL7y+GwuX5asec0E9+ZA7jCCKVpjqRj8b e9QxUVls0iHqMaLwHAYK6MtHXhItXJ6JTggXu8m4LLTxOmQCsOHu8Zua2TntPtXuxZCn dueTVHuLM9/Rk+dyn6r1Bm+64UL1Vf9ndmj9suCIyw3BOxx4uLpBvo/DjRvCR9IFlPW1 fX/f+u7d8P25K2Y+n2U7sD+eDCjdNEGGwcCNsNEEKkvV7A6vL6yVrt/MHLIbplLCNopt MSlw== X-Gm-Message-State: APjAAAXhHVAZC/59RB+y16I0Q8KgJdc4EZB6sjaTP+Hf6QFJya1tLVzB AnlqJfTciliyfTbaB3bor2/UfmRC X-Google-Smtp-Source: APXvYqzIrFQ3oUcznKw6DbQghTF+Df6AyIUHtc9LuU7F2nsTutBWwKifjLNj5pJDhTpYOC40mj1e/Q== X-Received: by 2002:a05:600c:219:: with SMTP id 25mr2717453wmi.174.1571596385574; Sun, 20 Oct 2019 11:33:05 -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 z9sm13168372wrl.35.2019.10.20.11.33.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 11:33:03 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 20 Oct 2019 20:33:36 +0200 Message-Id: <20191020183336.13455-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/libtorrent: add Libs.Private to libtorrent.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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This will fix a static build failure with rtorrent Fixes: - http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86 Signed-off-by: Fabrice Fontaine --- ...01-libtorrent.pc.in-add-Libs.Private.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch diff --git a/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch b/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch new file mode 100644 index 0000000000..7d363d2939 --- /dev/null +++ b/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch @@ -0,0 +1,30 @@ +From a86219e725441eb87321fa3e24531dafa54ee674 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 20 Oct 2019 20:23:19 +0200 +Subject: [PATCH] libtorrent.pc.in: add Libs.Private + +Add Libs.Private: -lz so applications that want to link statically with +libtorrent (such as rtorrent) will know that they must link with -lz + +Fixes: + - http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/rakshasa/libtorrent/pull/202] +--- + libtorrent.pc.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libtorrent.pc.in b/libtorrent.pc.in +index cf6612bc..6108f7e9 100644 +--- a/libtorrent.pc.in ++++ b/libtorrent.pc.in +@@ -7,4 +7,5 @@ Name: libtorrent + Description: A BitTorrent library + Version: @VERSION@ + Libs: -L${libdir} -ltorrent ++Libs.Private: -lz + Cflags: -I${includedir} +-- +2.23.0 +