From 54addd02ee64e5ce9e997c823de92153f30bd350 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 27 Oct 2004 19:51:58 +0000 Subject: [PATCH] Version bump to move wine into the normal prefix of things (/usr). The winex ebuilds have long been punted from portage and the prebuilt solutions from transgaming come in nicely bundled formats so there wont be any collisions. Indirectly, we solve #33174 and #43550. Also, update our config files #59134, make sure the default registry is created properly #58976, and clean up our wrappers #63376. --- app-emulation/wine/ChangeLog | 13 +- app-emulation/wine/Manifest | 7 +- .../wine/files/20041019-load-wrappers.patch | 44 ++++++ .../wine/files/digest-wine-20041019-r1 | 3 + app-emulation/wine/wine-20041019-r1.ebuild | 132 ++++++++++++++++++ 5 files changed, 196 insertions(+), 3 deletions(-) create mode 100644 app-emulation/wine/files/20041019-load-wrappers.patch create mode 100644 app-emulation/wine/files/digest-wine-20041019-r1 create mode 100644 app-emulation/wine/wine-20041019-r1.ebuild diff --git a/app-emulation/wine/ChangeLog b/app-emulation/wine/ChangeLog index 0e72522661ac..8dd6f1664de3 100644 --- a/app-emulation/wine/ChangeLog +++ b/app-emulation/wine/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for app-emulation/wine # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.78 2004/10/27 12:45:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.79 2004/10/27 19:51:57 vapier Exp $ + +*wine-20041019-r1 (27 Oct 2004) + + 27 Oct 2004; Mike Frysinger + +files/20041019-load-wrappers.patch, +wine-20041019-r1.ebuild: + Version bump to move wine into the normal prefix of things (/usr). The winex + ebuilds have long been punted from portage and the prebuilt solutions from + transgaming come in nicely bundled formats so there wont be any collisions. + Indirectly, we solve #33174 and #43550. Also, update our config files + #59134, make sure the default registry is created properly #58976, and clean + up our wrappers #63376. *wine-20041019 (27 Oct 2004) diff --git a/app-emulation/wine/Manifest b/app-emulation/wine/Manifest index 5595fedc106a..a5a7fae7e6a0 100644 --- a/app-emulation/wine/Manifest +++ b/app-emulation/wine/Manifest @@ -1,8 +1,11 @@ -MD5 878ccf9a45f17e6b3d0f80894a730588 ChangeLog 13679 +MD5 0a0219ff573492e115baf933263ad85b ChangeLog 14239 MD5 6525c48ba09d08599432ea6c299e52f4 metadata.xml 354 +MD5 ba6fc68ac42bffafc1b2b0a0ccdf99b6 wine-20041019-r1.ebuild 3455 MD5 c34592b921795c2afde7e0e6cb5fbafd wine-20041019.ebuild 3652 MD5 0b8a40b373bf8ab6c0368dd5a64f5449 wine-20040716.ebuild 3443 -MD5 64c9b939319110b4f44ef6f431262181 files/digest-wine-20041019 212 +MD5 f619ca99f68a2d81076b45b3c19ddbc5 files/20041019-load-wrappers.patch 1402 MD5 1668a758aa2007cb99a773b3c5c844c9 files/winearts-kdecvs-fix.patch 325 MD5 ae28341f05c0916661c1346a28720230 files/QueryActCtxw_Photoshop7.0.diff 686 +MD5 90d546d818e0470698ca6b743abe9fca files/digest-wine-20041019-r1 212 +MD5 64c9b939319110b4f44ef6f431262181 files/digest-wine-20041019 212 MD5 b1893ef0ed5c38dabcbea9fcc3d35f59 files/digest-wine-20040716 212 diff --git a/app-emulation/wine/files/20041019-load-wrappers.patch b/app-emulation/wine/files/20041019-load-wrappers.patch new file mode 100644 index 000000000000..35a54a797749 --- /dev/null +++ b/app-emulation/wine/files/20041019-load-wrappers.patch @@ -0,0 +1,44 @@ +--- wine-20041019/loader/preloader.c.orig 2004-09-23 20:25:32.000000000 -0400 ++++ wine-20041019/loader/preloader.c 2004-10-27 11:06:46.914656000 -0400 +@@ -69,6 +69,7 @@ + #include + #include + #include ++#include + #include + #ifdef HAVE_SYS_MMAN_H + # include +@@ -495,6 +496,7 @@ + unsigned char buf[0x800]; + ElfW(Ehdr) *header = (ElfW(Ehdr)*)buf; + ElfW(Phdr) *phdr, *ph; ++ char altname[MAXPATHLEN]; + /* Scan the program header table, collecting its load commands. */ + struct loadcmd + { +@@ -503,9 +505,23 @@ + int prot; + } loadcmds[16], *c; + size_t nloadcmds = 0, maplength; ++ int i; + +- fd = wld_open( name, O_RDONLY ); +- if (fd == -1) fatal_error("%s: could not open\n", name ); ++ if (strlen(name)+5 >= MAXPATHLEN) ++ fatal_error("%s: path too long\n", name); ++ for (i=0; i