summaryrefslogtreecommitdiffstats
path: root/testing/xen/busybox-sed.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-13 13:42:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-13 13:42:26 +0000
commitaaf7501518d7db71e8bdb626dfba002306cea940 (patch)
tree5942c969d154ab67266cedb107110814686c2f96 /testing/xen/busybox-sed.patch
parent67a31c02220ce28b7b87464e3a687f2effdcc083 (diff)
downloadaports-aaf7501518d7db71e8bdb626dfba002306cea940.tar.bz2
aports-aaf7501518d7db71e8bdb626dfba002306cea940.tar.xz
testing/xen: patch for busybox sed
So we don't need GNU sed. Discussed on busybox mailing list: http://lists.busybox.net/pipermail/busybox/2012-January/077160.html enable parallell build of xen while there.
Diffstat (limited to 'testing/xen/busybox-sed.patch')
-rw-r--r--testing/xen/busybox-sed.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/xen/busybox-sed.patch b/testing/xen/busybox-sed.patch
new file mode 100644
index 000000000..e1a953157
--- /dev/null
+++ b/testing/xen/busybox-sed.patch
@@ -0,0 +1,11 @@
+--- ./xen/arch/x86/boot/Makefile.orig
++++ ./xen/arch/x86/boot/Makefile
+@@ -2,7 +2,7 @@
+
+ head.o: reloc.S
+
+-BOOT_TRAMPOLINE := $(shell sed -n 's,^\#define[[:space:]]\{1\,\}BOOT_TRAMPOLINE[[:space:]]\{1\,\},,p' $(BASEDIR)/include/asm-x86/config.h)
++BOOT_TRAMPOLINE := $(shell sed -n 's,^\#define[[:space:]]\+BOOT_TRAMPOLINE[[:space:]]\+,,p' $(BASEDIR)/include/asm-x86/config.h)
+ %.S: %.c
+ RELOC=$(BOOT_TRAMPOLINE) $(MAKE) -f build32.mk $@
+