head 1.12; access; symbols pkgsrc-2013Q2:1.12.0.32 pkgsrc-2013Q2-base:1.12 pkgsrc-2012Q4:1.12.0.30 pkgsrc-2012Q4-base:1.12 pkgsrc-2011Q4:1.12.0.28 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q2:1.12.0.26 pkgsrc-2011Q2-base:1.12 pkgsrc-2009Q4:1.12.0.24 pkgsrc-2009Q4-base:1.12 pkgsrc-2008Q4:1.12.0.22 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.20 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.18 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.16 pkgsrc-2008Q2-base:1.12 pkgsrc-2008Q1:1.12.0.14 pkgsrc-2008Q1-base:1.12 pkgsrc-2007Q4:1.12.0.12 pkgsrc-2007Q4-base:1.12 pkgsrc-2007Q3:1.12.0.10 pkgsrc-2007Q3-base:1.12 pkgsrc-2007Q2:1.12.0.8 pkgsrc-2007Q2-base:1.12 pkgsrc-2007Q1:1.12.0.6 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.12.0.4 pkgsrc-2006Q4-base:1.12 pkgsrc-2006Q3:1.12.0.2 pkgsrc-2006Q3-base:1.12 pkgsrc-2006Q2:1.10.0.2 pkgsrc-2006Q2-base:1.10 pkgsrc-2006Q1:1.8.0.2 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.2 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.4 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.12 date 2006.07.28.13.04.35; author adam; state dead; branches; next 1.11; 1.11 date 2006.07.10.21.12.03; author adam; state Exp; branches; next 1.10; 1.10 date 2006.04.14.09.06.49; author adam; state dead; branches; next 1.9; 1.9 date 2006.03.31.10.48.00; author adam; state Exp; branches; next 1.8; 1.8 date 2006.03.06.13.46.01; author adam; state Exp; branches; next 1.7; 1.7 date 2005.10.26.08.32.59; author adam; state Exp; branches; next 1.6; 1.6 date 2005.09.07.14.28.38; author adam; state Exp; branches; next 1.5; 1.5 date 2005.07.26.13.24.36; author adam; state Exp; branches; next 1.4; 1.4 date 2002.03.15.04.10.21; author junyoung; state dead; branches 1.4.12.1; next 1.3; 1.3 date 98.12.14.02.17.11; author tv; state Exp; branches; 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.4.12.1 date 2005.06.02.23.00.30; author snj; state Exp; branches; next ; desc @@ 1.12 log @Changes 0.9.18: - Still more work on Direct3D. - A lot of MSI bug fixes and improvements. - More compatible memory management. - Several fixes for Win64 support. - Some performance improvements. - Lots of bug fixes. @ text @$NetBSD: patch-ah,v 1.11 2006/07/10 21:12:03 adam Exp $ --- libs/wine/loader.c.orig 2006-07-10 22:43:42.000000000 +0200 +++ libs/wine/loader.c @@@@ -632,7 +632,9 @@@@ void wine_init( int argc, char *argv[], /* force a few limits that are set too low on some platforms */ set_max_limit( RLIMIT_NOFILE ); +#if !defined(__NetBSD__) set_max_limit( RLIMIT_AS ); +#endif wine_init_argv0_path( argv[0] ); build_dll_path(); @ 1.11 log @Changes 0.9.17: - Still more work on Direct3D shaders. - Now using the Gecko engine directly for MSHTML. - Better support for apps switching to full screen mode. - Support for multiple joysticks. - Lots of bug fixes. @ text @d1 1 a1 1 $NetBSD$ @ 1.10 log @Changes 0.9.12: - New Winelib Internet Explorer application (all 5 lines of it). - Several improvements to the font support. - More work on the IDL compiler. - Faster drawing of the cards in Solitaire (very important feature). - A number of fixes for issues found by the Coverity code cheker. - Lots of bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.9 2006/03/31 10:48:00 adam Exp $ d3 9 a11 4 --- tools/Makefile.in.orig 2006-03-15 15:50:51.000000000 +0100 +++ tools/Makefile.in @@@@ -55,19 +55,19 @@@@ make_ctests$(EXEEXT): make_ctests.o $(CC) $(CFLAGS) -o $@@ make_ctests.o d13 2 a14 22 fnt2bdf$(EXEEXT): fnt2bdf.o - $(CC) $(CFLAGS) -o $@@ fnt2bdf.o $(LIBPORT) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ fnt2bdf.o $(LIBPORT) fnt2fon$(EXEEXT): fnt2fon.o - $(CC) $(CFLAGS) -o $@@ fnt2fon.o $(LIBPORT) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ fnt2fon.o $(LIBPORT) relpath$(EXEEXT): relpath.o - $(CC) $(CFLAGS) -o $@@ relpath.o $(LIBPORT) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ relpath.o $(LIBPORT) sfnt2fnt$(EXEEXT): sfnt2fnt.o - $(CC) $(CFLAGS) -o $@@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS) bin2res$(EXEEXT): bin2res.o - $(CC) $(CFLAGS) -o $@@ bin2res.o $(LIBPORT) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ bin2res.o $(LIBPORT) wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT) sed -e "s,@@bintodlldir\@@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@@bintodatadir\@@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@@ || ($(RM) $@@ && false) @ 1.9 log @Changes 0.9.10: - Improved ESD audio driver. - More Web browser improvements in mshtml and wininet. - Direct3D fixes and preparation for ddraw code migration. - Explorer process now managing the desktop window. - Lots of bug fixes. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Changes 0.9.9: - Many new features and improvements in Richedit. - More Web browser support. - Recursive directory change notifications. - Wine installation is now fully relocatable. - Direct3D 8 and 9 now use the same code. - Many debugger improvements. - Systray is now handled by the explorer process. - Lots of bug fixes @ text @d3 1 a3 1 --- tools/Makefile.in.orig 2006-03-02 18:16:57.000000000 +0100 d28 2 a29 2 wineprefixcreate: wineprefixcreate.in sed -e 's,@@dlldir\@@,$(dlldir),g' -e 's,@@datadir\@@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@@ || ($(RM) $@@ && false) @ 1.7 log @Changes 0.9: This is release 0.9 of Wine, a free implementation of Windows on Unix. After 12 years of development, this release marks the beginning of the beta testing phase. Everybody is encouraged to try it; while there are still bugs, most applications are expected to at least install and do something useful. @ text @d3 1 a3 1 --- tools/Makefile.in.orig 2005-10-06 16:10:02.000000000 +0000 d5 1 a5 1 @@@@ -53,16 +53,16 @@@@ make_ctests$(EXEEXT): make_ctests.o d16 4 @ 1.6 log @Changes 20050830: - A lot more theming support. - Many improvements to the various crypto dlls. - More LDAP support. - Beginnings of an MSXML implementation. - Better MSHTML support. - Emulated version now set to Windows 2000 by default. - Direct3D fixes and improvements. - Lots of bug fixes. @ text @d3 1 a3 1 --- tools/Makefile.in.orig 2005-08-08 15:02:29.000000000 +0000 d5 1 a5 1 @@@@ -50,16 +50,16 @@@@ make_ctests$(EXEEXT): make_ctests.o @ 1.5 log @Changes 20050725: * Beginnings of theme support in common controls. * Many MSHTML improvements. * A bunch of OLE fixes for InstallShield installers. * Many Direct3D fixes and improvements. * Beginnings of LDAP support. * Various cleanups after removal of the config file. * Lots of bug fixes. @ text @d3 1 a3 1 --- tools/Makefile.in.orig 2005-07-26 12:12:26.000000000 +0000 d5 2 a6 2 @@@@ -49,16 +49,16 @@@@ make_ctests: make_ctests.o $(CC) $(CFLAGS) -o make_ctests make_ctests.o d8 3 a10 3 fnt2bdf: fnt2bdf.o - $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT) + $(CC) $(CFLAGS) $(LDFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT) d12 3 a14 3 fnt2fon: fnt2fon.o - $(CC) $(CFLAGS) -o fnt2fon fnt2fon.o $(LIBPORT) + $(CC) $(CFLAGS) $(LDFLAGS) -o fnt2fon fnt2fon.o $(LIBPORT) d16 3 a18 3 sfnt2fnt: sfnt2fnt.o - $(CC) $(CFLAGS) -o sfnt2fnt sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o sfnt2fnt sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS) d20 3 a22 3 bin2res: bin2res.o - $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT) + $(CC) $(CFLAGS) $(LDFLAGS) -o bin2res bin2res.o $(LIBPORT) @ 1.4 log @Update Wine to 20020228 snapshot. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.3 1998/12/14 02:17:11 tv Exp $ d3 4 a6 4 --- console/xterm.c.orig Sun Dec 13 08:49:50 1998 +++ console/xterm.c Sun Dec 13 08:50:33 1998 @@@@ -116,9 +116,9 @@@@ *slave = fds; d8 3 a10 6 if (term != NULL) - tcsetattr((*slave)->_fileno, TCSANOW, term); + tcsetattr(fileno(*slave), TCSANOW, term); if (winsize != NULL) - ioctl((*slave)->_fileno, TIOCSWINSZ, winsize); + ioctl(fileno(*slave), TIOCSWINSZ, winsize); d12 3 a14 4 if (name != NULL) strcpy(name, pts_name); @@@@ -143,8 +143,8 @@@@ return FALSE; d16 3 a18 14 if ((*pid=fork()) == 0) { - tcsetattr((*slave)->_fileno, TCSADRAIN, &term); - sprintf(buf, "-Sxx%d", (*master)->_fileno); + tcsetattr(fileno(*slave), TCSADRAIN, &term); + sprintf(buf, "-Sxx%d", fileno(*master)); execlp("xterm", "xterm", buf, NULL); ERR(console, "error creating AllocConsole xterm\n"); exit(1); @@@@ -168,7 +168,7 @@@@ } } term.c_lflag |= ECHO; - tcsetattr((*master)->_fileno, TCSADRAIN, &term); + tcsetattr(fileno(*master), TCSADRAIN, &term); d20 6 a25 2 return TRUE; } @ 1.4.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 34 a36 11 --- server/registry.c.orig 2004-11-30 22:38:57.000000000 +0100 +++ server/registry.c 2005-06-01 15:24:40.000000000 +0200 @@@@ -1615,7 +1615,7 @@@@ for (;;) { sprintf( p, "reg%lx%04x.tmp", (long) getpid(), count++ ); - if ((fd = open( tmp, O_CREAT | O_EXCL | O_WRONLY, 0666 )) != -1) break; + if ((fd = open( tmp, O_CREAT | O_EXCL | O_WRONLY, 0600 )) != -1) break; if (errno != EEXIST) goto done; close( fd ); } @ 1.3 log @Update to 981211. Works even better now, though the compile-for-native still does not work quite right (the global constructors created by wrc don't work). @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 4 a6 5 --- misc/lstr.c.orig Thu Jun 18 00:22:09 1998 +++ misc/lstr.c Thu Jun 18 00:27:01 1998 @@@@ -43,13 +43,13 @@@@ /* FIXME: should probably get rid of wctype.h altogether */ #include "casemap.h" d8 28 a35 5 -WCHAR _towupper(WCHAR code) +WCHAR towupper(WCHAR code) { const WCHAR * ptr = uprtable[HIBYTE(code)]; return ptr ? ptr[LOBYTE(code)] : code; a36 6 -WCHAR _towlower(WCHAR code) +WCHAR towlower(WCHAR code) { const WCHAR * ptr = lwrtable[HIBYTE(code)]; return ptr ? ptr[LOBYTE(code)] : code; @ 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 @