head 1.9; access; symbols pkgsrc-2013Q4:1.8.0.22 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.20 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.18 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.16 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.14 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.12 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.10 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.8 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.6 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.4 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.7.0.40 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.38 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.36 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.34 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.32 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.30 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.28 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.26 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.24 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.22 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.20 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.18 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.16 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.14 pkgsrc-2008Q1:1.7.0.12 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.10 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.8 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.6 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.4 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.2 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.5.0.12 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.10 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.8 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.6 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.4 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.2 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.9 date 2014.01.17.09.01.58; author adam; state dead; branches; next 1.8; commitid Rg5oZxqUQPN1Urlx; 1.8 date 2011.05.04.20.31.40; author adam; state Exp; branches; next 1.7; 1.7 date 2006.10.21.08.22.54; author wiz; state Exp; branches; next 1.6; 1.6 date 2006.10.18.20.37.21; author adam; state dead; branches; next 1.5; 1.5 date 2005.06.05.06.14.17; author minskim; state Exp; branches; next 1.4; 1.4 date 2005.05.25.08.23.43; author adam; state Exp; branches; next 1.3; 1.3 date 2002.03.15.04.10.21; author junyoung; state dead; branches 1.3.12.1; next 1.2; 1.2 date 98.08.07.10.40.36; author agc; state Exp; branches; next 1.1; 1.1 date 98.06.18.23.48.54; author tron; state Exp; branches; next ; 1.3.12.1 date 2005.06.02.23.00.30; author snj; state Exp; branches; next ; desc @@ 1.9 log @Changes 1.6.2: - Color management support updated to liblcms version 2. - Various bug fixes. @ text @$NetBSD: patch-ag,v 1.8 2011/05/04 20:31:40 adam Exp $ --- dlls/ntdll/signal_x86_64.c.orig 2011-04-08 17:09:51.000000000 +0000 +++ dlls/ntdll/signal_x86_64.c @@@@ -212,6 +212,53 @@@@ extern int arch_prctl(int func, void *pt #error You must define the signal context functions for your platform #endif +#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200000000) +# include +# include +# include + +typedef ucontext_t SIGCONTEXT; + +#define RAX_sig(context) ((context)->uc_mcontext.__gregs[_REG_RAX]) +#define RBX_sig(context) ((context)->uc_mcontext.__gregs[_REG_RBX]) +#define RCX_sig(context) ((context)->uc_mcontext.__gregs[_REG_RCX]) +#define RDX_sig(context) ((context)->uc_mcontext.__gregs[_REG_RDX]) +#define RSI_sig(context) ((context)->uc_mcontext.__gregs[_REG_RSI]) +#define RDI_sig(context) ((context)->uc_mcontext.__gregs[_REG_RDI]) +#define RBP_sig(context) ((context)->uc_mcontext.__gregs[_REG_RBP]) +#define R8_sig(context) ((context)->uc_mcontext.__gregs[_REG_R8]) +#define R9_sig(context) ((context)->uc_mcontext.__gregs[_REG_R9]) +#define R10_sig(context) ((context)->uc_mcontext.__gregs[_REG_R10]) +#define R11_sig(context) ((context)->uc_mcontext.__gregs[_REG_R11]) +#define R12_sig(context) ((context)->uc_mcontext.__gregs[_REG_R12]) +#define R13_sig(context) ((context)->uc_mcontext.__gregs[_REG_R13]) +#define R14_sig(context) ((context)->uc_mcontext.__gregs[_REG_R14]) +#define R15_sig(context) ((context)->uc_mcontext.__gregs[_REG_R15]) + +#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 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_RFL]) + +#define RIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.__gregs[_REG_RIP])) +#define RSP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.__gregs[_REG_URSP])) + +#define TRAP_sig(context) ((context)->uc_mcontext.__gregs[_REG_TRAPNO]) +#define ERROR_sig(context) ((context)->uc_mcontext.__gregs[_REG_ERR]) + +#define FAULT_CODE (__siginfo->si_code) +#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) ((XMM_SAVE_AREA32 *)((context)->uc_mcontext.__fpregs)) +#endif /* __NetBSD__ */ + enum i386_trap_code { TRAP_x86_UNKNOWN = -1, /* Unknown fault (TRAP_sig not defined) */ @@@@ -2338,7 +2338,7 @@@@ void signal_init_thread( TEB *teb ) #elif defined __FreeBSD__ amd64_set_gsbase( teb ); #else -# error Please define setting %gs for your architecture +# warning Please define setting %gs for your architecture #endif ss.ss_sp = (char *)teb + teb_size; @ 1.8 log @Changes 1.2.3: * Translation updates * Various bug fixes @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Add patch to make this compile a bit further on amd64. It now fails in oaidl_p.c:11403:2: error: #error Invalid build platform for this stub. @ text @d3 1 a3 1 --- dlls/ntdll/signal_x86_64.c.orig 2006-10-13 14:43:39.000000000 +0000 d5 3 a7 3 @@@@ -93,6 +93,53 @@@@ typedef struct ucontext SIGCONTEXT; #endif /* linux */ d59 9 @ 1.6 log @Changes 0.9.23: - Massive update of printf formats for Win64 compatibility. - Dynamic drive support on MacOSX. - Still more MSI fixes and improvements. - Lots of bug fixes. Changes 0.9.22: - The usual assortment of MSI improvements. - Several bug fixes to the various common controls. - Pixel shaders enabled by default in D3D. - Various improvements to the build process. - Many translation updates. - Lots of bug fixes. Changes 0.9.20: - XEmbed system tray support. - Many improvements to NTLM support. - Many messages made localizable instead of hardcoded to English. - Improved support for various OpenGL platforms. - More improvements to the IDL compiler. - Lots of bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2005/06/05 06:14:17 minskim Exp $ d3 3 a5 9 --- dlls/kernel/sync.c.orig 2005-04-24 12:36:34.000000000 -0500 +++ dlls/kernel/sync.c @@@@ -40,6 +40,9 @@@@ #endif #include #include +#ifdef HAVE_MACHINE_LIMITS_H +#include +#endif d7 52 a58 2 #define NONAMELESSUNION #define NONAMELESSSTRUCT @ 1.5 log @Include machine/limits.h only when it is available. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Changes 20050419: - Mailslot support. - Support for side mouse buttons (X buttons). - More Richedit improvements. - Loading of Windows registry files disabled for now. - Many code cleanups. - Lots of bug fixes. Changes 20050524: - Many MSI improvements. - More features in the file manager. - Better compatibility for Winelib import libraries. - SGML documentation moved out of the source tree. - Header files cleanups. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/kernel/sync.c.orig 2005-04-20 11:06:24.000000000 +0000 d5 1 a5 1 @@@@ -40,6 +40,7 @@@@ d9 1 d11 1 @ 1.3 log @Update Wine to 20020228 snapshot. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 1998/08/07 10:40:36 agc Exp $ d3 3 a5 15 --- multimedia/mmaux.c.orig Sun May 31 18:14:58 1998 +++ multimedia/mmaux.c Wed Jun 17 00:56:12 1998 @@@@ -16,11 +16,15 @@@@ #include "mmsystem.h" #include "debug.h" +#ifdef __NetBSD__ +#include +#else #ifdef HAVE_SYS_SOUNDCARD_H # include #endif #ifdef HAVE_MACHINE_SOUNDCARD_H # include +#endif d7 3 d11 2 a12 1 #define MIXER_DEV "/dev/mixer" @ 1.3.12.1 log @Pullup ticket 531 - requested by Lubomir Sedlacik security fix for wine Apply patch from Lubomir Sedlacik. "it fixes insecure tempfile creation in /tmp, patches are from Wine bugzilla: http://bugs.winehq.org/show_bug.cgi?id=2715" @ text @d1 1 a1 1 $NetBSD$ d3 18 a20 11 --- misc/registry.c.orig 2004-08-25 02:48:47.000000000 +0200 +++ misc/registry.c 2005-06-01 15:23:10.000000000 +0200 @@@@ -1227,7 +1227,7 @@@@ ret = _xmalloc(50); for (count = 0;;) { sprintf(ret,"/tmp/reg%lx%04x.tmp",(long)getpid(),count++); - if ((tmp_fd = open(ret,O_CREAT | O_EXCL | O_WRONLY,0666)) != -1) break; + if ((tmp_fd = open(ret,O_CREAT | O_EXCL | O_WRONLY,0600)) != -1) break; if (errno != EEXIST) { ERR("Unexpected error while open() call: %s\n",strerror(errno)); free(ret); @ 1.2 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update Wine to 14-Jun-98 snapshot. XXX Audio support is probably broken due to massive use of unsupported XXX Linux stuff in the OSS interface which I commented out. However XXX I don't have an application to test it. @ text @d1 2 @