summaryrefslogtreecommitdiff
path: root/emulators/wine/patches
diff options
context:
space:
mode:
authordholland <dholland>2008-06-22 23:38:18 +0000
committerdholland <dholland>2008-06-22 23:38:18 +0000
commit1d504d0ce8216d5241d9fa179f7a0af651385ebe (patch)
treef1e3ff594e4b69617c21af20f80cbdb8371d1e54 /emulators/wine/patches
parent964621e6b8d5f3ad55d4deb21c3de4b7932604ef (diff)
downloadpkgsrc-1d504d0ce8216d5241d9fa179f7a0af651385ebe.tar.gz
Update emulators/wine to 1.0, as requested in PR pkg/38985.
Add missing dep on libxml2. Also merge some stuff from wip/wine: - more options (esound, ldap, dbus, ssl, x11) - split PLIST to accomodate extra files on Linux and FreeBSD (PR pkg/36320) This also fixes the broken build against current openldap. (PR pkg/38025)
Diffstat (limited to 'emulators/wine/patches')
-rw-r--r--emulators/wine/patches/patch-aa12
-rw-r--r--emulators/wine/patches/patch-af26
2 files changed, 17 insertions, 21 deletions
diff --git a/emulators/wine/patches/patch-aa b/emulators/wine/patches/patch-aa
index 49360e39ad4..c91b16a24b6 100644
--- a/emulators/wine/patches/patch-aa
+++ b/emulators/wine/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.28 2007/07/01 10:04:26 adam Exp $
+$NetBSD: patch-aa,v 1.29 2008/06/22 23:38:18 dholland Exp $
---- Make.rules.in.orig 2007-06-29 19:36:20.000000000 +0200
-+++ Make.rules.in
-@@ -119,7 +119,7 @@ CLEAN_TARGETS = $(IDL_GEN_C_SRCS) $(IDL_
- $(BISON_SRCS:.y=.tab.c) $(BISON_SRCS:.y=.tab.h) $(LEX_SRCS:.l=.yy.c) \
- $(MC_SRCS:.mc=.mc.rc) $(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res)
+--- Make.rules.in.orig 2008-06-17 10:07:31.000000000 -0400
++++ Make.rules.in 2008-06-22 12:22:40.000000000 -0400
+@@ -120,7 +120,7 @@
+ CLEAN_TARGETS = $(IDL_GEN_C_SRCS) $(IDL_GEN_HEADERS) $(IDL_TLB_SRCS:.idl=.tlb) $(IDL_P_SRCS:%=dlldata.c) \
+ $(BISON_SRCS:.y=.tab.c) $(BISON_SRCS:.y=.tab.h) $(LEX_SRCS:.l=.yy.c) $(MC_SRCS:.mc=.mc.rc)
-OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_SRCS:.c=.o) $(EXTRA_OBJS)
+OBJS = $(EXTRA_OBJS) $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_SRCS:.c=.o)
diff --git a/emulators/wine/patches/patch-af b/emulators/wine/patches/patch-af
index d3ce5c2b078..39cf8aaa84d 100644
--- a/emulators/wine/patches/patch-af
+++ b/emulators/wine/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.23 2007/05/12 20:40:43 adam Exp $
+$NetBSD: patch-af,v 1.24 2008/06/22 23:38:18 dholland Exp $
---- dlls/ntdll/signal_i386.c.orig 2007-05-11 19:35:02.000000000 +0200
-+++ dlls/ntdll/signal_i386.c
-@@ -167,7 +167,7 @@ typedef struct trapframe SIGCONTEXT;
+--- dlls/ntdll/signal_i386.c.orig 2008-06-17 10:07:31.000000000 -0400
++++ dlls/ntdll/signal_i386.c 2008-06-22 13:19:30.000000000 -0400
+@@ -199,7 +199,7 @@ typedef struct trapframe SIGCONTEXT;
#endif /* bsdi */
@@ -11,7 +11,7 @@ $NetBSD: patch-af,v 1.23 2007/05/12 20:40:43 adam Exp $
typedef struct sigcontext SIGCONTEXT;
-@@ -290,6 +290,43 @@ typedef ucontext_t SIGCONTEXT;
+@@ -332,6 +332,39 @@ typedef ucontext_t SIGCONTEXT;
#endif /* __APPLE__ */
@@ -29,33 +29,29 @@ $NetBSD: patch-af,v 1.23 2007/05/12 20:40:43 adam Exp $
+#define ESI_sig(context) ((context)->uc_mcontext.__gregs[_REG_ESI])
+#define EDI_sig(context) ((context)->uc_mcontext.__gregs[_REG_EDI])
+#define EBP_sig(context) ((context)->uc_mcontext.__gregs[_REG_EBP])
++#define ESP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.__gregs[_REG_ESP]))
+
+#define CS_sig(context) ((context)->uc_mcontext.__gregs[_REG_CS])
+#define DS_sig(context) ((context)->uc_mcontext.__gregs[_REG_DS])
+#define ES_sig(context) ((context)->uc_mcontext.__gregs[_REG_ES])
++#define SS_sig(context) ((context)->uc_mcontext.__gregs[_REG_SS])
+#define FS_sig(context) ((context)->uc_mcontext.__gregs[_REG_FS])
+#define GS_sig(context) ((context)->uc_mcontext.__gregs[_REG_GS])
-+#define SS_sig(context) ((context)->uc_mcontext.__gregs[_REG_SS])
+
+#define EFL_sig(context) ((context)->uc_mcontext.__gregs[_REG_EFL])
-+
+#define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.__gregs[_REG_EIP]))
-+#define ESP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.__gregs[_REG_ESP]))
-+
+#define TRAP_sig(context) ((context)->uc_mcontext.__gregs[_REG_TRAPNO])
+#define ERROR_sig(context) ((context)->uc_mcontext.__gregs[_REG_ERR])
+
-+#define FAULT_ADDRESS (__siginfo->si_addr)
-+
-+#define HANDLER_DEF(name) void name( int __signal, siginfo_t *__siginfo, SIGCONTEXT *__context )
-+#define HANDLER_CONTEXT (__context)
++#define FPU_sig(context) NULL
++#define FPUX_sig(context) ((XMM_SAVE_AREA32 *)&((context)->uc_mcontext.__fpregs))
+
+#endif /* __NetBSD__ */
+
WINE_DEFAULT_DEBUG_CHANNEL(seh);
typedef int (*wine_signal_handler)(unsigned int sig);
-@@ -322,8 +359,13 @@ enum i386_trap_code
+@@ -366,8 +399,13 @@ enum i386_trap_code
TRAP_x86_PAGEFLT = T_PAGEFLT, /* Page fault */
TRAP_x86_ARITHTRAP = T_ARITHTRAP, /* Floating point exception */
TRAP_x86_ALIGNFLT = T_ALIGNFLT, /* Alignment check exception */
@@ -69,7 +65,7 @@ $NetBSD: patch-af,v 1.23 2007/05/12 20:40:43 adam Exp $
#else
TRAP_x86_DIVIDE = 0, /* Division by zero exception */
TRAP_x86_TRCTRAP = 1, /* Single-step exception */
-@@ -1385,7 +1427,11 @@ BOOL SIGNAL_Init(void)
+@@ -1561,7 +1599,11 @@ BOOL SIGNAL_Init(void)
#endif /* HAVE_SIGALTSTACK */
sig_act.sa_mask = server_block_set;