aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xen/detect_libiconv.patch
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@entel.upc.edu>2012-01-07 00:46:20 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-12 20:39:35 +0000
commit49beded59a8d56b930765c9af2bbf3e0983e892c (patch)
tree28f0ddbc9df8725c957e9339314cf072e54463d8 /testing/xen/detect_libiconv.patch
parent7ea9d9d7e0103e8ba8c023479de918206e52266a (diff)
downloadaports-49beded59a8d56b930765c9af2bbf3e0983e892c.tar.bz2
aports-49beded59a8d56b930765c9af2bbf3e0983e892c.tar.xz
testing/xen: add xen 4.1.2
Build full Xen distribution. Changes since v4: * Removed "opts=" from xencommons init script. * Backported upstream patch to boot Syslinux PV-DomUs with pygrub (allows booting Alpine PV-DomUs). Changes since v3: * Added bash as a runtime dependency, since some hotplug scripts use that instead of /bin/sh. Changes since v2: * Clean and updated init scripts to be as similar as possible to upstream version. Changes since v1: * Removed net from xencommons dependencies and added udev.
Diffstat (limited to 'testing/xen/detect_libiconv.patch')
-rw-r--r--testing/xen/detect_libiconv.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/xen/detect_libiconv.patch b/testing/xen/detect_libiconv.patch
new file mode 100644
index 0000000000..5b2359eb67
--- /dev/null
+++ b/testing/xen/detect_libiconv.patch
@@ -0,0 +1,22 @@
+# HG changeset patch
+# Parent 2bc60167b9f8791747d2cea09c5207a9c2d7ef7b
+build: detect is libiconv is present
+
+Detect if libiconv is present in the system, since we will have to
+link against it when using iconv.
+
+Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
+
+diff -r 2bc60167b9f8 Config.mk
+--- a/Config.mk Tue Dec 20 05:25:19 2011 +0100
++++ b/Config.mk Tue Dec 20 07:52:38 2011 +0100
+@@ -9,6 +9,10 @@
+ XEN_OS ?= $(shell uname -s)
+
+ CONFIG_$(XEN_OS) := y
++CONFIG_LIBICONV := $(shell export OS="`uname -s`"; \
++ export CHECK_LIB="$(CHECK_LIB)"; \
++ . $(XEN_ROOT)/tools/check/funcs.sh; \
++ has_lib libiconv.so && echo 'y' || echo 'n')
+
+ SHELL ?= /bin/sh