summaryrefslogtreecommitdiff
path: root/emulators/wine-devel/files/patch-loader::main.c
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2004-01-28 22:29:36 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2004-01-28 22:29:36 +0000
commit707a95b9e5a1c6a56d95bbe1698811563a4dbdd4 (patch)
tree85127589958cdbca8627c8e227d9829414fc9054 /emulators/wine-devel/files/patch-loader::main.c
parentUpdate to the 2004-01-28 snapshot of GCC 3.4. Merge in my 2004/01/26 (diff)
Revert an upstream change (which in turn reverted a fix which happened to
cause higher memory consumption). This should avoid errors of the following kind: err:virtual:map_image Standard load address for a Win32 program (0x00400000) not available Bump PORTREVISION. Problem reported by: pav, Benjamin Lutz <benlutz@datacomm.ch>
Diffstat (limited to '')
-rw-r--r--emulators/wine-devel/files/patch-loader::main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-loader::main.c b/emulators/wine-devel/files/patch-loader::main.c
new file mode 100644
index 000000000000..b7a60402ad5b
--- /dev/null
+++ b/emulators/wine-devel/files/patch-loader::main.c
@@ -0,0 +1,17 @@
+Index: loader/main.c
+===================================================================
+RCS file: /home/wine/wine/loader/main.c,v
+retrieving revision 1.90
+retrieving revision 1.89
+diff -u -3 -p -r1.90 -r1.89
+--- loader/main.c 20 Jan 2004 00:28:01 -0000 1.90
++++ loader/main.c 22 Nov 2003 00:08:26 -0000 1.89
+@@ -29,7 +29,7 @@ int main( int argc, char *argv[] )
+ {
+ char error[1024];
+
+-#if 0
++#ifdef __i386__
+ static char pe_load[256*1024*1024] __attribute__((aligned(4096)));
+ wine_set_pe_load_area( pe_load, sizeof(pe_load) );
+ #endif