summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch')
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch17
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch b/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch
index 44cb153276..3665af9c49 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch
@@ -1,4 +1,4 @@
1From 951928f2cad5682c2844e6bd0f7201236c5d9b66 Mon Sep 17 00:00:00 2001 1From f2a5b64785958226c022cac9931b059b98f4e896 Mon Sep 17 00:00:00 2001
2From: Merlin Mathesius <mmathesi@redhat.com> 2From: Merlin Mathesius <mmathesi@redhat.com>
3Date: Wed, 13 May 2020 08:02:27 -0500 3Date: Wed, 13 May 2020 08:02:27 -0500
4Subject: [PATCH] Workaround multiple definition of symbol errors 4Subject: [PATCH] Workaround multiple definition of symbol errors
@@ -7,7 +7,6 @@ Lifted from Fedora https://src.fedoraproject.org/rpms/syslinux/blob/master/f/000
7 7
8Upstream-Status: Pending 8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11--- 10---
12 com32/cmenu/Makefile | 2 +- 11 com32/cmenu/Makefile | 2 +-
13 com32/elflink/ldlinux/Makefile | 2 +- 12 com32/elflink/ldlinux/Makefile | 2 +-
@@ -18,6 +17,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 efi/Makefile | 2 +- 17 efi/Makefile | 2 +-
19 7 files changed, 7 insertions(+), 7 deletions(-) 18 7 files changed, 7 insertions(+), 7 deletions(-)
20 19
20diff --git a/com32/cmenu/Makefile b/com32/cmenu/Makefile
21index b81b68e..2ae989c 100644
21--- a/com32/cmenu/Makefile 22--- a/com32/cmenu/Makefile
22+++ b/com32/cmenu/Makefile 23+++ b/com32/cmenu/Makefile
23@@ -49,7 +49,7 @@ makeoutputdirs: 24@@ -49,7 +49,7 @@ makeoutputdirs:
@@ -29,6 +30,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 -o $@ $^ 30 -o $@ $^
30 31
31 tidy dist: 32 tidy dist:
33diff --git a/com32/elflink/ldlinux/Makefile b/com32/elflink/ldlinux/Makefile
34index 87c0d36..2be2a01 100644
32--- a/com32/elflink/ldlinux/Makefile 35--- a/com32/elflink/ldlinux/Makefile
33+++ b/com32/elflink/ldlinux/Makefile 36+++ b/com32/elflink/ldlinux/Makefile
34@@ -33,7 +33,7 @@ endif 37@@ -33,7 +33,7 @@ endif
@@ -40,6 +43,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
40 43
41 LNXCFLAGS += -D__export='__attribute__((visibility("default")))' 44 LNXCFLAGS += -D__export='__attribute__((visibility("default")))'
42 LNXLIBOBJS = get_key.lo 45 LNXLIBOBJS = get_key.lo
46diff --git a/com32/gpllib/Makefile b/com32/gpllib/Makefile
47index 1fec914..2d764d0 100644
43--- a/com32/gpllib/Makefile 48--- a/com32/gpllib/Makefile
44+++ b/com32/gpllib/Makefile 49+++ b/com32/gpllib/Makefile
45@@ -24,7 +24,7 @@ makeoutputdirs: 50@@ -24,7 +24,7 @@ makeoutputdirs:
@@ -51,6 +56,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
51 56
52 tidy dist clean: 57 tidy dist clean:
53 find . \( -name \*.o -o -name .\*.d -o -name \*.tmp \) -print0 | \ 58 find . \( -name \*.o -o -name .\*.d -o -name \*.tmp \) -print0 | \
59diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile
60index 61736d0..1d94785 100644
54--- a/com32/hdt/Makefile 61--- a/com32/hdt/Makefile
55+++ b/com32/hdt/Makefile 62+++ b/com32/hdt/Makefile
56@@ -52,7 +52,7 @@ QEMU ?= qemu-kvm 63@@ -52,7 +52,7 @@ QEMU ?= qemu-kvm
@@ -62,6 +69,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
62 69
63 memtest: 70 memtest:
64 -[ ! -f $(FLOPPY_DIR)/$(MEMTEST) ] && $(WGET) $(MEMTEST_URL) -O $(FLOPPY_DIR)/$(MEMTEST) 71 -[ ! -f $(FLOPPY_DIR)/$(MEMTEST) ] && $(WGET) $(MEMTEST_URL) -O $(FLOPPY_DIR)/$(MEMTEST)
72diff --git a/core/Makefile b/core/Makefile
73index 50ff35a..f0a5562 100644
65--- a/core/Makefile 74--- a/core/Makefile
66+++ b/core/Makefile 75+++ b/core/Makefile
67@@ -156,7 +156,7 @@ LDSCRIPT = $(SRC)/$(ARCH)/syslinux.ld 76@@ -156,7 +156,7 @@ LDSCRIPT = $(SRC)/$(ARCH)/syslinux.ld
@@ -73,6 +82,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
73 -T $(LDSCRIPT) \ 82 -T $(LDSCRIPT) \
74 --unresolved-symbols=report-all \ 83 --unresolved-symbols=report-all \
75 -E --hash-style=gnu -M -o $@ $< \ 84 -E --hash-style=gnu -M -o $@ $< \
85diff --git a/dos/Makefile b/dos/Makefile
86index 4c930d1..5d1c72c 100644
76--- a/dos/Makefile 87--- a/dos/Makefile
77+++ b/dos/Makefile 88+++ b/dos/Makefile
78@@ -19,7 +19,7 @@ include $(MAKEDIR)/embedded.mk 89@@ -19,7 +19,7 @@ include $(MAKEDIR)/embedded.mk
@@ -84,6 +95,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
84 OPTFLAGS = -g 95 OPTFLAGS = -g
85 INCLUDES = -include code16.h -nostdinc -iwithprefix include \ 96 INCLUDES = -include code16.h -nostdinc -iwithprefix include \
86 -I$(SRC) -I$(SRC)/.. -I$(SRC)/../libfat \ 97 -I$(SRC) -I$(SRC)/.. -I$(SRC)/../libfat \
98diff --git a/efi/Makefile b/efi/Makefile
99index f4501e7..72e081e 100644
87--- a/efi/Makefile 100--- a/efi/Makefile
88+++ b/efi/Makefile 101+++ b/efi/Makefile
89@@ -71,7 +71,7 @@ $(OBJS): | $(OBJ)/$(ARCH) 102@@ -71,7 +71,7 @@ $(OBJS): | $(OBJ)/$(ARCH)