From 35cde02ab6efb6fdc5c9c549b2c631a7a5bcddf3 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Thu, 17 Jun 2004 10:51:52 +0000 Subject: [PATCH] Rene Rebe: * fixed wine for PowerPC (and adapted the [R] tag - only x86 and powerpc locking is implemented - sparc does only work on Solaris ...) [2004060422330431529] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3288 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/rene/wine/powerpc.patch | 36 +++++++++++++++++++++++++++++++++ package/rene/wine/wine.desc | 3 ++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 package/rene/wine/powerpc.patch diff --git a/package/rene/wine/powerpc.patch b/package/rene/wine/powerpc.patch new file mode 100644 index 000000000..808d63187 --- /dev/null +++ b/package/rene/wine/powerpc.patch @@ -0,0 +1,36 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/rene/wine/powerpc.patch +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +Fixes compilation on PowerPC - I do not yet know if the resulting binaries +work, too. + + - Rene Rebe + +diff -ur wine-20040505/tools/winebuild/import.c wine-20040505-fixed/tools/winebuild/import.c +--- wine-20040505/tools/winebuild/import.c 2004-04-08 06:41:14.000000000 +0200 ++++ wine-20040505-fixed/tools/winebuild/import.c 2004-06-04 21:33:53.207386280 +0200 +@@ -121,7 +121,7 @@ + "r16","r17","r18","r19","r20","r21","r22","r23", + "r24","r25","r26","r27","r28","r29","r30","r31" }; + # else /* __APPLE__ */ +-# define ppc_high(mem) "(" mem ")@hi" ++# define ppc_high(mem) "(" mem ")@h" + # define ppc_low(mem) "(" mem ")@l" + static const char * const ppc_reg[32] = { "0", "1", "2", "3", "4", "5", "6", "7", + "8", "9", "10","11","12","13","14","15", diff --git a/package/rene/wine/wine.desc b/package/rene/wine/wine.desc index aab01607c..19bdff09c 100644 --- a/package/rene/wine/wine.desc +++ b/package/rene/wine/wine.desc @@ -34,7 +34,8 @@ [M] Rene Rebe [C] extra/emulator -[R] + x86 +# for the others the locking functionality is not implemented ... +[R] + x86 powerpc [L] LGPL [S] Beta