summaryrefslogtreecommitdiffstats
path: root/patches/xmlrpc-c-1.06.38
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-02-02 19:22:56 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-02-02 19:26:21 +0100
commitbb35b68fe5791b075265e828e6a39d0234b58362 (patch)
tree72cb9f000147044a0c6a904c39d002f627078d45 /patches/xmlrpc-c-1.06.38
parenta728000d61d808f51b3e9020ddf774320b3bd197 (diff)
downloadptxdist-bb35b68fe5791b075265e828e6a39d0234b58362.tar.gz
ptxdist-bb35b68fe5791b075265e828e6a39d0234b58362.tar.xz
[xmlrpc] new package
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'patches/xmlrpc-c-1.06.38')
-rw-r--r--patches/xmlrpc-c-1.06.38/0001-xmlrpc-c-config.in-use-pkg-config-to-get-curl-s-libs.patch26
-rw-r--r--patches/xmlrpc-c-1.06.38/0002-xmlrpc-c-config.in-add-SYSROOT-support.patch35
-rw-r--r--patches/xmlrpc-c-1.06.38/series2
3 files changed, 63 insertions, 0 deletions
diff --git a/patches/xmlrpc-c-1.06.38/0001-xmlrpc-c-config.in-use-pkg-config-to-get-curl-s-libs.patch b/patches/xmlrpc-c-1.06.38/0001-xmlrpc-c-config.in-use-pkg-config-to-get-curl-s-libs.patch
new file mode 100644
index 000000000..e8e039753
--- /dev/null
+++ b/patches/xmlrpc-c-1.06.38/0001-xmlrpc-c-config.in-use-pkg-config-to-get-curl-s-libs.patch
@@ -0,0 +1,26 @@
+From b972a59785cfe7631a642cac1cf7b9c87aa4529c Mon Sep 17 00:00:00 2001
+From: Marc Kleine-Budde <mkl@pengutronix.de>
+Date: Tue, 2 Feb 2010 18:57:47 +0100
+Subject: [PATCH 1/2] xmlrpc-c-config.in: use pkg-config to get curl's libs
+
+Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
+---
+ xmlrpc-c-config.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/xmlrpc-c-config.in b/xmlrpc-c-config.in
+index db6afdb..2baafe9 100644
+--- a/xmlrpc-c-config.in
++++ b/xmlrpc-c-config.in
+@@ -116,7 +116,7 @@ while test $# -gt 0; do
+ the_wl_rpath="@WININET_WL_RPATH@ $the_wl_rpath"
+ fi
+ if test "${MUST_BUILD_CURL_CLIENT}" = "yes"; then
+- the_libs="$the_libs @CURL_LDADD@"
++ the_libs="$the_libs $(pkg-config --libs libcurl)"
+ the_rpath="@CURL_RPATH@ $the_rpath"
+ the_wl_rpath="@CURL_WL_RPATH@ $the_wl_rpath"
+ fi
+--
+1.6.6.1
+
diff --git a/patches/xmlrpc-c-1.06.38/0002-xmlrpc-c-config.in-add-SYSROOT-support.patch b/patches/xmlrpc-c-1.06.38/0002-xmlrpc-c-config.in-add-SYSROOT-support.patch
new file mode 100644
index 000000000..44e9538c8
--- /dev/null
+++ b/patches/xmlrpc-c-1.06.38/0002-xmlrpc-c-config.in-add-SYSROOT-support.patch
@@ -0,0 +1,35 @@
+From 8d411623fef991c234712c4c6a87033253a821c6 Mon Sep 17 00:00:00 2001
+From: Marc Kleine-Budde <mkl@pengutronix.de>
+Date: Tue, 2 Feb 2010 18:59:27 +0100
+Subject: [PATCH 2/2] xmlrpc-c-config.in: add SYSROOT support
+
+Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
+---
+ xmlrpc-c-config.in | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/xmlrpc-c-config.in b/xmlrpc-c-config.in
+index 2baafe9..699f697 100644
+--- a/xmlrpc-c-config.in
++++ b/xmlrpc-c-config.in
+@@ -56,7 +56,7 @@ the_libdirs=
+
+ # If Xmlrpc-c libraries are installed in the standard linker search
+ # path on this system, you should remove the following line:
+-the_libdirs="-L$libdir $the_libdirs"
++the_libdirs="-L${SYSROOT}$libdir $the_libdirs"
+
+ the_libs="-lxmlrpc -lxmlrpc_util ${LIBXML}"
+ the_rpath=
+@@ -66,7 +66,7 @@ cpp_libs=
+ cflags=
+ # If Xmlrpc-c library interface header files are installed in the standard
+ # compiler search path on this system, you should remove the following line:
+-cflags="-I$includedir $cflags"
++cflags="-I${SYSROOT}$includedir $cflags"
+
+ while test $# -gt 0; do
+ case $1 in
+--
+1.6.6.1
+
diff --git a/patches/xmlrpc-c-1.06.38/series b/patches/xmlrpc-c-1.06.38/series
new file mode 100644
index 000000000..096dfba1a
--- /dev/null
+++ b/patches/xmlrpc-c-1.06.38/series
@@ -0,0 +1,2 @@
+0001-xmlrpc-c-config.in-use-pkg-config-to-get-curl-s-libs.patch
+0002-xmlrpc-c-config.in-add-SYSROOT-support.patch