From patchwork Tue Dec 30 09:36:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 424598 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 13C22140119 for ; Tue, 30 Dec 2014 20:36:44 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 96B6B2FC15; Tue, 30 Dec 2014 09:36:43 +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 CB6zySL403TV; Tue, 30 Dec 2014 09:36:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E1AFC262A1; Tue, 30 Dec 2014 09:36:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0DB3B1C0F18 for ; Tue, 30 Dec 2014 09:36:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 087198A601 for ; Tue, 30 Dec 2014 09:36:40 +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 8WSy3+0wdQ+u for ; Tue, 30 Dec 2014 09:36:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by whitealder.osuosl.org (Postfix) with ESMTPS id B50398A53D for ; Tue, 30 Dec 2014 09:36:38 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id a1so20309308wgh.23 for ; Tue, 30 Dec 2014 01:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=bsSxdZq+jYG7UhDqMNnBDNDU3j267ENTZtGyA3aNqxQ=; b=BsxjmA1J8Ot6GnafJ7AGhiqSTdfIQhe9F9D3wbi2lC1wyCWZ+pJzNrbKOrnoF4Tm1Y RxzhiJ/mnn18jVdy1inclzptWO7Ek7rpcjuVUnbL9ERn+B2ntvJgBRX3lC02v+OOSQYb 5B9xp8LHBKxxB9WD0fjepnT1X/4bfnALKWDW7/AG0wnl+UsO2aCQjMo4wld3YLB0ZJ8D RSQQjiA2D6Agf4AOem/9rseke2Yv6PVJ6OVmUTBKS34LrW6MlqNKVvOih6RM/SJrQBz9 wDtb93SORfntexDHlJ9A9eS7NSAG2YUHz/QZz3fH1ek+Ez7hbxtwc3qMV6eUS85dnGFF mw2w== X-Received: by 10.194.185.243 with SMTP id ff19mr115506538wjc.126.1419932197381; Tue, 30 Dec 2014 01:36:37 -0800 (PST) Received: from system-laptop.localdomain (ANantes-655-1-243-106.w2-1.abo.wanadoo.fr. [2.1.58.106]) by mx.google.com with ESMTPSA id hn2sm53178803wjc.5.2014.12.30.01.36.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Dec 2014 01:36:36 -0800 (PST) From: Samuel Martin To: buildroot@buildroot.org Date: Tue, 30 Dec 2014 10:36:26 +0100 Message-Id: <1419932187-2319-1-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 2.2.1 Subject: [Buildroot] [PATCH 1/2] package/libxml2: fix libxml2-config.cmake 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch aligns the libxml2-config.cmake module to what the libxml-2.0.pc set. This patch has already been sent upstream: https://mail.gnome.org/archives/xml/2014-December/msg00015.html Signed-off-by: Samuel Martin --- ...onfig.cmake.in-update-include-directories.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch diff --git a/package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch b/package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch new file mode 100644 index 0000000..589c8d6 --- /dev/null +++ b/package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch @@ -0,0 +1,28 @@ +From dd6125f4b58fe7bc270e51bc3fcf41cd228d22fc Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Mon, 29 Dec 2014 20:40:18 +0100 +Subject: [PATCH] libxml2-config.cmake.in: update include directories + +Align the include directories on those from the pkg-config module. + +Signed-off-by: Samuel Martin +--- + libxml2-config.cmake.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libxml2-config.cmake.in b/libxml2-config.cmake.in +index ac29329..6b16fc2 100644 +--- a/libxml2-config.cmake.in ++++ b/libxml2-config.cmake.in +@@ -21,7 +21,7 @@ set(LIBXML2_VERSION_MINOR @LIBXML_MINOR_VERSION@) + set(LIBXML2_VERSION_MICRO @LIBXML_MICRO_VERSION@) + set(LIBXML2_VERSION_STRING "@VERSION@") + set(LIBXML2_INSTALL_PREFIX ${_libxml2_rootdir}) +-set(LIBXML2_INCLUDE_DIRS ${_libxml2_rootdir}/include) ++set(LIBXML2_INCLUDE_DIRS ${_libxml2_rootdir}/include ${_libxml2_rootdir}/include/libxml2) + set(LIBXML2_LIBRARY_DIR ${_libxml2_rootdir}/lib) + set(LIBXML2_LIBRARIES -L${LIBXML2_LIBRARY_DIR} -lxml2) + +-- +2.2.1 +