From db58686ea91f7276adbf68e9db40fba0a4112405 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 14 Jun 2009 19:42:51 +0100 Subject: Initial commit --- app-emulation/wine/files/wine-gentoo-no-ssp.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app-emulation/wine/files/wine-gentoo-no-ssp.patch (limited to 'app-emulation/wine/files/wine-gentoo-no-ssp.patch') diff --git a/app-emulation/wine/files/wine-gentoo-no-ssp.patch b/app-emulation/wine/files/wine-gentoo-no-ssp.patch new file mode 100644 index 0000000..ee33c4b --- /dev/null +++ b/app-emulation/wine/files/wine-gentoo-no-ssp.patch @@ -0,0 +1,16 @@ +support older ssp (gcc-3.4.x). this ssp was never in mainline gcc, thus +upstream wine wont accept it. can drop once hardened gets a stable gcc-4.x. + +http://bugs.gentoo.org/66002 + +--- loader/preloader.c ++++ loader/preloader.c +@@ -155,6 +155,8 @@ struct wld_link_map { + + /* similar to the above but for -fstack-protector */ + void *__stack_chk_guard = 0; ++void *__guard = 0; ++void __stack_smash_handler(void) { return; } + void __stack_chk_fail(void) { return; } + + * The _start function is the entry and exit point of this program -- cgit v1.2.3