summaryrefslogtreecommitdiff
path: root/system/wine/no-pie.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-11 20:30:30 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-11 20:30:30 -0500
commitfd061d5e17abb4c06e7a5e99c60b5013cc0a84de (patch)
tree9b1ded528fd43f2ab2a32b7f3e4159a77608bd98 /system/wine/no-pie.patch
parentfbe788af631dda3912a35927451f03e54db84e42 (diff)
downloadpackages-fd061d5e17abb4c06e7a5e99c60b5013cc0a84de.tar.gz
packages-fd061d5e17abb4c06e7a5e99c60b5013cc0a84de.tar.bz2
packages-fd061d5e17abb4c06e7a5e99c60b5013cc0a84de.tar.xz
packages-fd061d5e17abb4c06e7a5e99c60b5013cc0a84de.zip
system/wine: new package, based on Alpine
Diffstat (limited to 'system/wine/no-pie.patch')
-rw-r--r--system/wine/no-pie.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/wine/no-pie.patch b/system/wine/no-pie.patch
new file mode 100644
index 000000000..5fb5d87b6
--- /dev/null
+++ b/system/wine/no-pie.patch
@@ -0,0 +1,14 @@
+diff --git a/loader/Makefile.in b/loader/Makefile.in
+index 8190037..437d4d9 100644
+--- a/loader/Makefile.in
++++ b/loader/Makefile.in
+@@ -26,7 +26,7 @@ wine64_DEPS = $(WINELOADER_DEPENDS)
+ wine64_LDFLAGS = $(LDEXECFLAGS) -lwine $(PTHREAD_LIBS)
+
+ wine_preloader_OBJS = preloader.o
+-wine_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000
++wine_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 -no-pie
+
+ wine64_preloader_OBJS = preloader.o
+-wine64_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000
++wine64_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 -no-pie