aboutsummaryrefslogtreecommitdiffstats
path: root/testing/refind/10-refind-disable-fortify.patch
diff options
context:
space:
mode:
authorEric Molitor <emolitor@molitor.org>2019-01-01 20:45:10 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-02-05 10:30:15 +0000
commit105aa1551d9ca9191a0a99078666c580d155f6b1 (patch)
tree30cad037930b01c07cfa32093098505aad1b2302 /testing/refind/10-refind-disable-fortify.patch
parent7e23c2ea670378e2b90c34a70c190a6eb0326ef0 (diff)
downloadaports-105aa1551d9ca9191a0a99078666c580d155f6b1.tar.bz2
aports-105aa1551d9ca9191a0a99078666c580d155f6b1.tar.xz
testing/refind: new aport
https://www.rodsbooks.com/refind A fork of the rEFIt boot manager for computers based on the Extensible Firmware Interface (EFI) and Unified EFI (UEFI).
Diffstat (limited to 'testing/refind/10-refind-disable-fortify.patch')
-rw-r--r--testing/refind/10-refind-disable-fortify.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/refind/10-refind-disable-fortify.patch b/testing/refind/10-refind-disable-fortify.patch
new file mode 100644
index 0000000000..b59b711473
--- /dev/null
+++ b/testing/refind/10-refind-disable-fortify.patch
@@ -0,0 +1,11 @@
+--- refind-0.11.4-orig/libeg/Makefile
++++ refind-0.11.4/libeg/Makefile
+@@ -12,7 +12,7 @@
+
+ VPATH = $(SRCDIR)
+
+-LOCAL_GNUEFI_CFLAGS = -I$(SRCDIR) -I$(SRCDIR)/../include
++LOCAL_GNUEFI_CFLAGS = -D_FORTIFY_SOURCE=0 -I$(SRCDIR) -I$(SRCDIR)/../include
+
+ OBJS = nanojpeg.o nanojpeg_xtra.o screen.o image.o text.o load_bmp.o load_icns.o lodepng.o lodepng_xtra.o
+ TARGET = libeg.a