summaryrefslogtreecommitdiff
path: root/boot/syslinux/syslinux-build-fix-for-uuid.patch
diff options
context:
space:
mode:
authorAras Vaichas <aras.vaichas@gmail.com>2012-07-05 22:01:31 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-17 19:45:06 +0200
commitd2ff1ac2b34ed23273e1284255ba5970f47126d1 (patch)
treec826a92647939165c17e3a86d8216efc2f705f54 /boot/syslinux/syslinux-build-fix-for-uuid.patch
parent8278ed43ef159d8b9dfe1be2d41ad5bcd8241dcc (diff)
syslinux: bump to 4.05
* bump syslinux from 4.04 to 4.05 * add patch to fix build problem with 4.05, see http://old.nabble.com/syslinux-fails-to-build-td34112447.html * add util-linux dependency and make sure the build finds it Signed-off-by: Aras Vaichas <aras.vaichas@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/syslinux/syslinux-build-fix-for-uuid.patch')
-rw-r--r--boot/syslinux/syslinux-build-fix-for-uuid.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/boot/syslinux/syslinux-build-fix-for-uuid.patch b/boot/syslinux/syslinux-build-fix-for-uuid.patch
new file mode 100644
index 000000000..04ff56235
--- /dev/null
+++ b/boot/syslinux/syslinux-build-fix-for-uuid.patch
@@ -0,0 +1,15 @@
+Author: Micah Gersten <micahg@ubuntu.com>
+Description: Fix build failure with --as-needed (Closes: #654838).
+
+diff -Naurp syslinux.orig/utils/Makefile syslinux/utils/Makefile
+--- syslinux.orig/utils/Makefile 2011-12-23 14:53:26.653571511 +0100
++++ syslinux/utils/Makefile 2012-01-22 18:55:03.849466924 +0100
+@@ -51,7 +51,7 @@ isohdpfx.c: $(ISOHDPFX) isohdpfxarray.pl
+ $(PERL) isohdpfxarray.pl $(ISOHDPFX) > $@
+
+ isohybrid: isohybrid.o isohdpfx.o
+- $(CC) $(LDFLAGS) -luuid -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^ -luuid
+
+ gethostip: gethostip.o
+ $(CC) $(LDFLAGS) -o $@ $^