From patchwork Thu Sep 15 06:40:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 670227 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 3sZTLt5ZG8z9s5g for ; Thu, 15 Sep 2016 16:40:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b=2+Br8qs6; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0C4418A9C2; Thu, 15 Sep 2016 06:40:37 +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 hFWdgA5-aiDW; Thu, 15 Sep 2016 06:40:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id CC9E58AA2A; Thu, 15 Sep 2016 06:40:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 07A951C11D2 for ; Thu, 15 Sep 2016 06:40:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F393F8A98A for ; Thu, 15 Sep 2016 06:40:13 +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 FcWg6Xrx4UZf for ; Thu, 15 Sep 2016 06:40:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4E43E8A97C for ; Thu, 15 Sep 2016 06:40:11 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3sZTLJ5mc3z1060 for ; Thu, 15 Sep 2016 08:40:08 +0200 (CEST) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1473921608; x=1474526409; bh=InzJRqh3Fera1eNvjiW5MQUIvJTfE94eqtk IY6r39Lo=; b=2+Br8qs6fSO1mViaAOdzqfWS9n7aTXnkwk60v/JTneLVsH2QZNE 7jwhTxbpQFLVwV7VxSW2pmojXfmR9X7DJVi4uKk+pA9ijKjlESlgs2abp/I1iTO+ m6bFTjajaLyHPerhU8CXp7ibCNcrF3m+ySrpQBsxpyg+EhRfPq7FMmfVFeNtQOXs 0s1e40n0LE0bsyvU8UQgLa2QlHnKiCBYhtqj4AgdWjwblZAjLmIELJOp1gc4kIaX Ci7u/3xGG0hpcSr5fjYsVqHyynr4fVj56iPVmDByfW7I5KuzzjZsDqJCwH3N7xlZ a0fu0lMLgED7O/IA8oxjIZYu9+5MmHG60+A== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id T9N3Qx0Wl5Fg; Thu, 15 Sep 2016 08:40:08 +0200 (CEST) Received: from nzxt.fritz.box (x4d02005d.dyn.telefonica.de [77.2.0.93]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 15 Sep 2016 08:40:07 +0200 (CEST) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 15 Sep 2016 08:40:01 +0200 Message-Id: <20160915064001.8684-7-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160915064001.8684-1-joerg.krause@embedded.rocks> References: <20160915064001.8684-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 6/6] package/upmpdcli: add patch to fix include path of log 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The "log.{h,hxx}" header files are included from libupnpp. As we are using the pkg-config file of libupnpp to get the header include path, instead of the hardcoded `{prefix}/include/libupnpp` these files are not found. Upstream-status: https://github.com/medoc92/upmpdcli/issues/46 Signed-off-by: Jörg Krause --- ...including-header-file-log.h-from-libupnpp.patch | 110 +++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 package/upmpdcli/0003-Fix-including-header-file-log.h-from-libupnpp.patch diff --git a/package/upmpdcli/0003-Fix-including-header-file-log.h-from-libupnpp.patch b/package/upmpdcli/0003-Fix-including-header-file-log.h-from-libupnpp.patch new file mode 100644 index 0000000..29e6492 --- /dev/null +++ b/package/upmpdcli/0003-Fix-including-header-file-log.h-from-libupnpp.patch @@ -0,0 +1,110 @@ +From 366e726821abce305ef2887effea443a24043511 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= +Date: Wed, 14 Sep 2016 11:46:22 +0200 +Subject: [PATCH] Fix including header file log.h from libupnpp +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The "log.{h,hxx}" header files are included from libupnpp. + +As we are using the pkg-config file of libupnpp to get the header include path, +instead of the hardcoded `{prefix}/include/libupnpp` these files are not found. + +Upstream-status: https://github.com/medoc92/upmpdcli/issues/46 + +Signed-off-by: Jörg Krause +--- + src/conftree.cpp | 2 +- + src/execmd.cpp | 4 ++-- + src/mediaserver/cdplugins/cmdtalk.cpp | 2 +- + src/mediaserver/cdplugins/plgwithslave.cxx | 2 +- + src/netcon.cpp | 4 ++-- + 5 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/src/conftree.cpp b/src/conftree.cpp +index 12eb4b5..8a79812 100644 +--- a/src/conftree.cpp ++++ b/src/conftree.cpp +@@ -42,7 +42,7 @@ + + #include "pathut.h" + #include "smallut.h" +-#include "log.h" ++#include "libupnpp/log.h" + + using namespace std; + +diff --git a/src/execmd.cpp b/src/execmd.cpp +index 0db9032..9bf2971 100644 +--- a/src/execmd.cpp ++++ b/src/execmd.cpp +@@ -53,7 +53,7 @@ + #include "netcon.h" + #include "closefrom.h" + #include "smallut.h" +-#include "log.h" ++#include "libupnpp/log.h" + + using namespace std; + +@@ -1135,7 +1135,7 @@ void ReExec::reexec() + #include + #include + +-#include "log.h" ++#include "libupnpp/log.h" + + #include "execmd.h" + #ifdef BUILDING_RECOLL +diff --git a/src/mediaserver/cdplugins/cmdtalk.cpp b/src/mediaserver/cdplugins/cmdtalk.cpp +index eddd68f..e19f7ea 100644 +--- a/src/mediaserver/cdplugins/cmdtalk.cpp ++++ b/src/mediaserver/cdplugins/cmdtalk.cpp +@@ -24,7 +24,7 @@ + + #include "smallut.h" + #include "execmd.h" +-#include "log.h" ++#include "libupnpp/log.h" + + using namespace std; + +diff --git a/src/mediaserver/cdplugins/plgwithslave.cxx b/src/mediaserver/cdplugins/plgwithslave.cxx +index 545805c..1ad44ef 100644 +--- a/src/mediaserver/cdplugins/plgwithslave.cxx ++++ b/src/mediaserver/cdplugins/plgwithslave.cxx +@@ -35,7 +35,7 @@ + #include "cmdtalk.h" + #include "pathut.h" + #include "smallut.h" +-#include "log.hxx" ++#include "libupnpp/log.hxx" + #include "main.hxx" + #include "conftree.h" + +diff --git a/src/netcon.cpp b/src/netcon.cpp +index 5674cf3..193d1cd 100644 +--- a/src/netcon.cpp ++++ b/src/netcon.cpp +@@ -47,7 +47,7 @@ + + #include + +-#include "log.h" ++#include "libupnpp/log.h" + + using namespace std; + +@@ -1031,7 +1031,7 @@ NetconServLis::checkperms(void *cl, int) + #include + #include + +-#include "log.h" ++#include "libupnpp/log.h" + + #include "netcon.h" + +-- +2.9.3 +