diff options
author | Nick White <git@njw.me.uk> | 2009-06-14 19:42:51 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-06-14 19:42:51 +0100 |
commit | db58686ea91f7276adbf68e9db40fba0a4112405 (patch) | |
tree | c1afdd244def5611db551bb25f9a319e7a2aa93b /app-emulation/wine/files/wine-gentoo-no-ssp.patch | |
download | njw-gentoo-local-db58686ea91f7276adbf68e9db40fba0a4112405.tar.bz2 njw-gentoo-local-db58686ea91f7276adbf68e9db40fba0a4112405.zip |
Initial commit
Diffstat (limited to 'app-emulation/wine/files/wine-gentoo-no-ssp.patch')
-rw-r--r-- | app-emulation/wine/files/wine-gentoo-no-ssp.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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 |