summaryrefslogtreecommitdiff
path: root/libre/syslinux/0005-gnu-efi-version-compatibility.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2019-04-15 09:55:41 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2019-04-15 09:55:41 -0500
commit859c853ee4ecbb8ee958e3b61e12fca9aca8cd53 (patch)
tree6b69522fdd41a91da8a8b1d22c3e9bf5f4eb65dd /libre/syslinux/0005-gnu-efi-version-compatibility.patch
parent4106007657ac82b8df2219ea4b7c97686055f4f9 (diff)
downloadabslibre-859c853ee4ecbb8ee958e3b61e12fca9aca8cd53.tar.gz
abslibre-859c853ee4ecbb8ee958e3b61e12fca9aca8cd53.tar.bz2
abslibre-859c853ee4ecbb8ee958e3b61e12fca9aca8cd53.zip
syslinux-6.04.pre2.r11.gbf6db5b4-1.par1: updating version
Diffstat (limited to 'libre/syslinux/0005-gnu-efi-version-compatibility.patch')
-rw-r--r--libre/syslinux/0005-gnu-efi-version-compatibility.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/libre/syslinux/0005-gnu-efi-version-compatibility.patch b/libre/syslinux/0005-gnu-efi-version-compatibility.patch
new file mode 100644
index 000000000..f50ad006d
--- /dev/null
+++ b/libre/syslinux/0005-gnu-efi-version-compatibility.patch
@@ -0,0 +1,25 @@
+From: Lukas Schwaighofer <lukas@schwaighofer.name>
+Date: Mon, 3 Dec 2018 22:45:44 +0100
+Subject: Fix compatibility with new gnu-efi version
+
+Allow multiple definitions when linking the syslinux binary so the
+memset and memcpy symbols which are included by gnu-efi since 3.0.8 are
+ignored (we still use the definitions from syslinux) but linking
+succeeds.
+---
+ efi/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/efi/Makefile b/efi/Makefile
+index f4501e7..0d1a673 100644
+--- a/efi/Makefile
++++ b/efi/Makefile
+@@ -71,7 +71,7 @@ $(OBJS): | $(OBJ)/$(ARCH)
+ BTARGET = syslinux.efi
+
+ syslinux.so: $(OBJS) $(CORE_OBJS) $(LIB_OBJS)
+- $(LD) $(LDFLAGS) --strip-debug -o $@ $^ -lgnuefi -lefi
++ $(LD) $(LDFLAGS) -zmuldefs --strip-debug -o $@ $^ -lgnuefi -lefi
+
+ # We need to rename the .hash section because the EFI firmware
+ # linker really doesn't like it.