diff options
author | adam <adam@pkgsrc.org> | 2008-11-21 17:40:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2008-11-21 17:40:29 +0000 |
commit | 1a680a023912492cd7afe64193dd1ca450fb75e7 (patch) | |
tree | defea5f1ceb9923cbf3ee1b192088c256d68aad1 | |
parent | d5032da6d67f43cfb6c0a63df9a29323dcc6c5c3 (diff) | |
download | pkgsrc-1a680a023912492cd7afe64193dd1ca450fb75e7.tar.gz |
Wine is a program which allows running Microsoft Windows programs
(including DOS, Windows 3.x and Win32 executables) on Unix. It consists
of a program loader which loads and executes an Microsoft Windows binary,
and a library that implements Windows API calls using their Unix or X11
equivalents. The library may also be used for porting Win32 code into
native Unix executables.
24 files changed, 1765 insertions, 0 deletions
diff --git a/emulators/wine-devel/DESCR b/emulators/wine-devel/DESCR new file mode 100644 index 00000000000..451e0373278 --- /dev/null +++ b/emulators/wine-devel/DESCR @@ -0,0 +1,6 @@ +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. It consists +of a program loader which loads and executes an Microsoft Windows binary, +and a library that implements Windows API calls using their Unix or X11 +equivalents. The library may also be used for porting Win32 code into +native Unix executables. diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile new file mode 100644 index 00000000000..0c7362351de --- /dev/null +++ b/emulators/wine-devel/Makefile @@ -0,0 +1,52 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/11/21 17:40:29 adam Exp $ + +DISTNAME= wine-1.1.8 +CATEGORIES= emulators +MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \ + ${MASTER_SITE_SOURCEFORGE:=wine/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= adam@NetBSD.org +HOMEPAGE= http://www.winehq.com/ +COMMENT= Free implementation of Windows on Unix + +BUILD_DEPENDS+= fontforge-[0-9]*:../../fonts/fontforge + +#ONLY_FOR_PLATFORM= NetBSD-1.5Z*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386 +#ONLY_FOR_PLATFORM+= FreeBSD-*-i386 Linux-*-i386 SunOS-*-i386 Darwin-*-i386 +#ONLY_FOR_PLATFORM+= *-*-x86_64 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_DIRS+= xdg-1.1 +USE_LANGUAGES= c +USE_LIBTOOL= yes +USE_NCURSES= yes +USE_TOOLS+= bison flex gmake mktemp +GNU_CONFIGURE= yes +UNLIMIT_RESOURCES= datasize + +REPLACE_PERL+= tools/winemaker tools/winedump/function_grep.pl + +# The Wine configure script has problems locating the libraries in the +# buildlink directory, so prepend all of the LDFLAGS necessary to link +# against the libraries. +# +CONFIGURE_ENV+= X_LIBS=${LDFLAGS:M*:Q} +CONFIGURE_ENV+= CFLAGS=${CFLAGS:M*:Q}\ -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" +LIBS+= ${LDFLAGS} + +.include "options.mk" + +post-install: +.for tool in fnt2bdf + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/tools/${tool} \ + ${DESTDIR}${PREFIX}/bin +.endfor + +.include "../../devel/ncurses/buildlink3.mk" +.include "../../textproc/libxslt/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/oss.buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/wine-devel/PLIST.FreeBSD b/emulators/wine-devel/PLIST.FreeBSD new file mode 100644 index 00000000000..3da0237b09c --- /dev/null +++ b/emulators/wine-devel/PLIST.FreeBSD @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST.FreeBSD,v 1.1.1.1 2008/11/21 17:40:29 adam Exp $ +bin/wine-pthread diff --git a/emulators/wine-devel/PLIST.Linux b/emulators/wine-devel/PLIST.Linux new file mode 100644 index 00000000000..83f044d9052 --- /dev/null +++ b/emulators/wine-devel/PLIST.Linux @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST.Linux,v 1.1.1.1 2008/11/21 17:40:29 adam Exp $ +bin/wine-kthread +bin/wine-preloader +bin/wine-pthread diff --git a/emulators/wine-devel/PLIST.NetBSD b/emulators/wine-devel/PLIST.NetBSD new file mode 100644 index 00000000000..17f7852674e --- /dev/null +++ b/emulators/wine-devel/PLIST.NetBSD @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST.NetBSD,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ +bin/wine-pthread diff --git a/emulators/wine-devel/PLIST.common b/emulators/wine-devel/PLIST.common new file mode 100644 index 00000000000..a4e9a771fb3 --- /dev/null +++ b/emulators/wine-devel/PLIST.common @@ -0,0 +1,1131 @@ +@comment $NetBSD: PLIST.common,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ +bin/fnt2bdf +bin/function_grep.pl +bin/msiexec +bin/notepad +bin/progman +bin/regedit +bin/regsvr32 +bin/uninstaller +bin/widl +bin/wine +bin/wineboot +bin/winebrowser +bin/winebuild +bin/winecfg +bin/wineconsole +bin/winecpp +bin/winedbg +bin/winedump +bin/winefile +bin/wineg++ +bin/winegcc +bin/winemaker +bin/winemine +bin/winepath +bin/wineprefixcreate +bin/wineserver +bin/wineshelllink +bin/wmc +bin/wrc +include/wine/debug.h +include/wine/exception.h +include/wine/itss.h +include/wine/itss.idl +include/wine/library.h +include/wine/msvcrt/conio.h +include/wine/msvcrt/crtdbg.h +include/wine/msvcrt/ctype.h +include/wine/msvcrt/direct.h +include/wine/msvcrt/dirent.h +include/wine/msvcrt/dos.h +include/wine/msvcrt/eh.h +include/wine/msvcrt/errno.h +include/wine/msvcrt/fcntl.h +include/wine/msvcrt/float.h +include/wine/msvcrt/io.h +include/wine/msvcrt/limits.h +include/wine/msvcrt/locale.h +include/wine/msvcrt/malloc.h +include/wine/msvcrt/math.h +include/wine/msvcrt/mbctype.h +include/wine/msvcrt/mbstring.h +include/wine/msvcrt/process.h +include/wine/msvcrt/search.h +include/wine/msvcrt/setjmp.h +include/wine/msvcrt/share.h +include/wine/msvcrt/signal.h +include/wine/msvcrt/stddef.h +include/wine/msvcrt/stdio.h +include/wine/msvcrt/stdlib.h +include/wine/msvcrt/string.h +include/wine/msvcrt/sys/locking.h +include/wine/msvcrt/sys/stat.h +include/wine/msvcrt/sys/timeb.h +include/wine/msvcrt/sys/types.h +include/wine/msvcrt/sys/unistd.h +include/wine/msvcrt/sys/utime.h +include/wine/msvcrt/time.h +include/wine/msvcrt/unistd.h +include/wine/msvcrt/wchar.h +include/wine/msvcrt/wctype.h +include/wine/svcctl.h +include/wine/svcctl.idl +include/wine/unicode.h +include/wine/windows/accctrl.h +include/wine/windows/aclapi.h +include/wine/windows/activaut.h +include/wine/windows/activaut.idl +include/wine/windows/activdbg.h +include/wine/windows/activdbg.idl +include/wine/windows/activscp.h +include/wine/windows/activscp.idl +include/wine/windows/adshlp.h +include/wine/windows/advpub.h +include/wine/windows/amstream.h +include/wine/windows/amstream.idl +include/wine/windows/amvideo.h +include/wine/windows/amvideo.idl +include/wine/windows/appmgmt.h +include/wine/windows/audevcod.h +include/wine/windows/austream.h +include/wine/windows/austream.idl +include/wine/windows/aviriff.h +include/wine/windows/axcore.idl +include/wine/windows/axextend.idl +include/wine/windows/basetsd.h +include/wine/windows/basetyps.h +include/wine/windows/bcrypt.h +include/wine/windows/bits.h +include/wine/windows/bits.idl +include/wine/windows/bits1_5.h +include/wine/windows/bits1_5.idl +include/wine/windows/bitsmsg.h +include/wine/windows/cderr.h +include/wine/windows/cfgmgr32.h +include/wine/windows/cguid.h +include/wine/windows/cierror.h +include/wine/windows/clusapi.h +include/wine/windows/comcat.h +include/wine/windows/comcat.idl +include/wine/windows/commctrl.h +include/wine/windows/commctrl.rh +include/wine/windows/commdlg.h +include/wine/windows/compobj.h +include/wine/windows/control.h +include/wine/windows/control.idl +include/wine/windows/cor.h +include/wine/windows/corerror.h +include/wine/windows/corhdr.h +include/wine/windows/cpl.h +include/wine/windows/cryptdlg.h +include/wine/windows/cryptuiapi.h +include/wine/windows/custcntl.h +include/wine/windows/cvconst.h +include/wine/windows/d3d.h +include/wine/windows/d3d10.h +include/wine/windows/d3d10.idl +include/wine/windows/d3d10misc.h +include/wine/windows/d3d8.h +include/wine/windows/d3d8caps.h +include/wine/windows/d3d8types.h +include/wine/windows/d3d9.h +include/wine/windows/d3d9caps.h +include/wine/windows/d3d9types.h +include/wine/windows/d3dcaps.h +include/wine/windows/d3dhal.h +include/wine/windows/d3drm.h +include/wine/windows/d3drmdef.h +include/wine/windows/d3drmobj.h +include/wine/windows/d3dtypes.h +include/wine/windows/d3dvec.inl +include/wine/windows/d3dx8.h +include/wine/windows/d3dx8core.h +include/wine/windows/d3dx8math.h +include/wine/windows/d3dx8math.inl +include/wine/windows/d3dx8mesh.h +include/wine/windows/d3dx9.h +include/wine/windows/d3dx9core.h +include/wine/windows/d3dx9math.h +include/wine/windows/d3dx9math.inl +include/wine/windows/d3dx9shader.h +include/wine/windows/d3dx9tex.h +include/wine/windows/dbghelp.h +include/wine/windows/dbinit.idl +include/wine/windows/dbprop.idl +include/wine/windows/dbs.idl +include/wine/windows/dbt.h +include/wine/windows/dciddi.h +include/wine/windows/dciman.h +include/wine/windows/dde.h +include/wine/windows/ddeml.h +include/wine/windows/ddk/compstui.h +include/wine/windows/ddk/hidsdi.h +include/wine/windows/ddk/imm.h +include/wine/windows/ddk/mountmgr.h +include/wine/windows/ddk/ntddcdvd.h +include/wine/windows/ddk/ntddk.h +include/wine/windows/ddk/ntddser.h +include/wine/windows/ddk/ntddtape.h +include/wine/windows/ddk/usb.h +include/wine/windows/ddk/usb100.h +include/wine/windows/ddk/usb200.h +include/wine/windows/ddk/usbdlib.h +include/wine/windows/ddk/wdm.h +include/wine/windows/ddk/winddiui.h +include/wine/windows/ddk/winsplp.h +include/wine/windows/ddraw.h +include/wine/windows/ddrawi.h +include/wine/windows/ddstream.h +include/wine/windows/ddstream.idl +include/wine/windows/devenum.idl +include/wine/windows/devguid.h +include/wine/windows/digitalv.h +include/wine/windows/dimm.h +include/wine/windows/dimm.idl +include/wine/windows/dinput.h +include/wine/windows/dispdib.h +include/wine/windows/dispex.h +include/wine/windows/dispex.idl +include/wine/windows/dlgs.h +include/wine/windows/dls1.h +include/wine/windows/dls2.h +include/wine/windows/dmdls.h +include/wine/windows/dmerror.h +include/wine/windows/dmo.h +include/wine/windows/dmoreg.h +include/wine/windows/dmort.h +include/wine/windows/dmplugin.h +include/wine/windows/dmusbuff.h +include/wine/windows/dmusicc.h +include/wine/windows/dmusicf.h +include/wine/windows/dmusici.h +include/wine/windows/dmusics.h +include/wine/windows/docobj.h +include/wine/windows/docobj.idl +include/wine/windows/downloadmgr.h +include/wine/windows/downloadmgr.idl +include/wine/windows/dpaddr.h +include/wine/windows/dplay.h +include/wine/windows/dplay8.h +include/wine/windows/dplobby.h +include/wine/windows/dplobby8.h +include/wine/windows/dpnathlp.h +include/wine/windows/dsconf.h +include/wine/windows/dsdriver.h +include/wine/windows/dsgetdc.h +include/wine/windows/dshow.h +include/wine/windows/dsound.h +include/wine/windows/dsrole.h +include/wine/windows/dvdmedia.h +include/wine/windows/dwmapi.h +include/wine/windows/dxdiag.h +include/wine/windows/dxerr8.h +include/wine/windows/dxerr9.h +include/wine/windows/dxfile.h +include/wine/windows/dxgi.h +include/wine/windows/dxgi.idl +include/wine/windows/dxgitype.h +include/wine/windows/dxgitype.idl +include/wine/windows/dyngraph.idl +include/wine/windows/errorrep.h +include/wine/windows/errors.h +include/wine/windows/evcode.h +include/wine/windows/evntrace.h +include/wine/windows/excpt.h +include/wine/windows/exdisp.h +include/wine/windows/exdisp.idl +include/wine/windows/exdispid.h +include/wine/windows/fci.h +include/wine/windows/fdi.h +include/wine/windows/fusion.h +include/wine/windows/fusion.idl +include/wine/windows/gdiplus.h +include/wine/windows/gdipluscolor.h +include/wine/windows/gdipluscolormatrix.h +include/wine/windows/gdiplusenums.h +include/wine/windows/gdiplusflat.h +include/wine/windows/gdiplusgpstubs.h +include/wine/windows/gdiplusimaging.h +include/wine/windows/gdiplusinit.h +include/wine/windows/gdiplusmem.h +include/wine/windows/gdiplusmetaheader.h +include/wine/windows/gdipluspixelformats.h +include/wine/windows/gdiplustypes.h +include/wine/windows/guiddef.h +include/wine/windows/hlguids.h +include/wine/windows/hlink.h +include/wine/windows/hlink.idl +include/wine/windows/htiframe.h +include/wine/windows/htiframe.idl +include/wine/windows/htmlhelp.h +include/wine/windows/i_cryptasn1tls.h +include/wine/windows/iads.h +include/wine/windows/iads.idl +include/wine/windows/icftypes.h +include/wine/windows/icftypes.idl +include/wine/windows/icm.h +include/wine/windows/icmpapi.h +include/wine/windows/idispids.h +include/wine/windows/imagehlp.h +include/wine/windows/imm.h +include/wine/windows/imnact.h +include/wine/windows/imnact.idl +include/wine/windows/imnxport.h +include/wine/windows/imnxport.idl +include/wine/windows/indexsrv.h +include/wine/windows/indexsrv.idl +include/wine/windows/initguid.h +include/wine/windows/intshcut.h +include/wine/windows/ipexport.h +include/wine/windows/iphlpapi.h +include/wine/windows/ipifcons.h +include/wine/windows/iprtrmib.h +include/wine/windows/iptypes.h +include/wine/windows/isguids.h +include/wine/windows/ks.h +include/wine/windows/ksguid.h +include/wine/windows/ksmedia.h +include/wine/windows/lm.h +include/wine/windows/lmaccess.h +include/wine/windows/lmapibuf.h +include/wine/windows/lmbrowsr.h +include/wine/windows/lmcons.h +include/wine/windows/lmerr.h +include/wine/windows/lmjoin.h +include/wine/windows/lmmsg.h +include/wine/windows/lmserver.h +include/wine/windows/lmshare.h +include/wine/windows/lmstats.h +include/wine/windows/lmuse.h +include/wine/windows/lmuseflg.h +include/wine/windows/lmwksta.h +include/wine/windows/lzexpand.h +include/wine/windows/mapi.h +include/wine/windows/mapicode.h +include/wine/windows/mapidefs.h +include/wine/windows/mapiform.h +include/wine/windows/mapiguid.h +include/wine/windows/mapitags.h +include/wine/windows/mapiutil.h +include/wine/windows/mapival.h +include/wine/windows/mapix.h +include/wine/windows/mciavi.h +include/wine/windows/mcx.h +include/wine/windows/mediaerr.h +include/wine/windows/mediaobj.h +include/wine/windows/mediaobj.idl +include/wine/windows/midles.h +include/wine/windows/mimeinfo.h +include/wine/windows/mimeinfo.idl +include/wine/windows/mimeole.h +include/wine/windows/mimeole.idl +include/wine/windows/minmax.h +include/wine/windows/mlang.h +include/wine/windows/mlang.idl +include/wine/windows/mmddk.h +include/wine/windows/mmreg.h +include/wine/windows/mmstream.h +include/wine/windows/mmstream.idl +include/wine/windows/mmsystem.h +include/wine/windows/mprapi.h +include/wine/windows/msacm.h +include/wine/windows/msacmdlg.h +include/wine/windows/msacmdrv.h +include/wine/windows/mscat.h +include/wine/windows/mscoree.h +include/wine/windows/mscoree.idl +include/wine/windows/mshtmcid.h +include/wine/windows/mshtmdid.h +include/wine/windows/mshtmhst.h +include/wine/windows/mshtmhst.idl +include/wine/windows/mshtml.h +include/wine/windows/mshtml.idl +include/wine/windows/msi.h +include/wine/windows/msidefs.h +include/wine/windows/msinkaut.h +include/wine/windows/msinkaut.idl +include/wine/windows/msiquery.h +include/wine/windows/mssip.h +include/wine/windows/mstask.h +include/wine/windows/mstask.idl +include/wine/windows/mswsock.h +include/wine/windows/msxml.h +include/wine/windows/msxml.idl +include/wine/windows/msxml2.h +include/wine/windows/msxml2.idl +include/wine/windows/msxml2did.h +include/wine/windows/msxmldid.h +include/wine/windows/nb30.h +include/wine/windows/ndrtypes.h +include/wine/windows/netfw.h +include/wine/windows/netfw.idl +include/wine/windows/npapi.h +include/wine/windows/nspapi.h +include/wine/windows/ntddcdrm.h +include/wine/windows/ntddscsi.h +include/wine/windows/ntddstor.h +include/wine/windows/ntdsapi.h +include/wine/windows/ntquery.h +include/wine/windows/ntsecapi.h +include/wine/windows/ntsecpkg.h +include/wine/windows/ntstatus.h +include/wine/windows/oaidl.h +include/wine/windows/oaidl.idl +include/wine/windows/objbase.h +include/wine/windows/objidl.h +include/wine/windows/objidl.idl +include/wine/windows/objsafe.h +include/wine/windows/objsafe.idl +include/wine/windows/objsel.h +include/wine/windows/ocidl.h +include/wine/windows/ocidl.idl +include/wine/windows/ocmm.h +include/wine/windows/ocmm.idl +include/wine/windows/odbcinst.h +include/wine/windows/ole2.h +include/wine/windows/ole2ver.h +include/wine/windows/oleacc.h +include/wine/windows/oleacc.idl +include/wine/windows/oleauto.h +include/wine/windows/olectl.h +include/wine/windows/oledb.h +include/wine/windows/oledb.idl +include/wine/windows/oledlg.h +include/wine/windows/oleidl.h +include/wine/windows/oleidl.idl +include/wine/windows/optary.h +include/wine/windows/optary.idl +include/wine/windows/pdh.h +include/wine/windows/pdhmsg.h +include/wine/windows/pktdef.h +include/wine/windows/poppack.h +include/wine/windows/powrprof.h +include/wine/windows/profinfo.h +include/wine/windows/propidl.h +include/wine/windows/propidl.idl +include/wine/windows/propvarutil.h +include/wine/windows/prsht.h +include/wine/windows/psapi.h +include/wine/windows/pshpack1.h +include/wine/windows/pshpack2.h +include/wine/windows/pshpack4.h +include/wine/windows/pshpack8.h +include/wine/windows/pstore.h +include/wine/windows/pstore.idl +include/wine/windows/qedit.h +include/wine/windows/qedit.idl +include/wine/windows/ras.h +include/wine/windows/raserror.h +include/wine/windows/reason.h +include/wine/windows/regstr.h +include/wine/windows/richedit.h +include/wine/windows/richole.h +include/wine/windows/richole.idl +include/wine/windows/rmxfguid.h +include/wine/windows/rpc.h +include/wine/windows/rpcasync.h +include/wine/windows/rpcdce.h +include/wine/windows/rpcdcep.h +include/wine/windows/rpcndr.h +include/wine/windows/rpcnterr.h +include/wine/windows/rpcproxy.h +include/wine/windows/scarderr.h +include/wine/windows/schannel.h +include/wine/windows/schemadef.h +include/wine/windows/schnlsp.h +include/wine/windows/sddl.h +include/wine/windows/secext.h +include/wine/windows/security.h +include/wine/windows/sensapi.h +include/wine/windows/sensevts.h +include/wine/windows/sensevts.idl +include/wine/windows/servprov.h +include/wine/windows/servprov.idl +include/wine/windows/setupapi.h +include/wine/windows/sfc.h +include/wine/windows/shdispid.h +include/wine/windows/shellapi.h +include/wine/windows/shldisp.h +include/wine/windows/shldisp.idl +include/wine/windows/shlguid.h +include/wine/windows/shlobj.h +include/wine/windows/shlwapi.h +include/wine/windows/shobjidl.h +include/wine/windows/shobjidl.idl +include/wine/windows/shtypes.h +include/wine/windows/shtypes.idl +include/wine/windows/sipbase.h +include/wine/windows/slerror.h +include/wine/windows/slpublic.h +include/wine/windows/snmp.h +include/wine/windows/softpub.h +include/wine/windows/sql.h +include/wine/windows/sqlext.h +include/wine/windows/sqltypes.h +include/wine/windows/srrestoreptapi.h +include/wine/windows/sspi.h +include/wine/windows/stdole2.idl +include/wine/windows/stdole2.tlb +include/wine/windows/storage.h +include/wine/windows/strmif.h +include/wine/windows/strmif.idl +include/wine/windows/svrapi.h +include/wine/windows/tapi.h +include/wine/windows/tchar.h +include/wine/windows/textserv.h +include/wine/windows/tlhelp32.h +include/wine/windows/tmschema.h +include/wine/windows/tom.h +include/wine/windows/tom.idl +include/wine/windows/twain.h +include/wine/windows/unknwn.h +include/wine/windows/unknwn.idl +include/wine/windows/urlhist.h +include/wine/windows/urlhist.idl +include/wine/windows/urlmon.h +include/wine/windows/urlmon.idl +include/wine/windows/userenv.h +include/wine/windows/usp10.h +include/wine/windows/uuids.h +include/wine/windows/uxtheme.h +include/wine/windows/vdmdbg.h +include/wine/windows/ver.h +include/wine/windows/vfw.h +include/wine/windows/vfwmsgs.h +include/wine/windows/vmr9.h +include/wine/windows/vmr9.idl +include/wine/windows/vmrender.idl +include/wine/windows/wfext.h +include/wine/windows/winbase.h +include/wine/windows/wincon.h +include/wine/windows/wincred.h +include/wine/windows/wincrypt.h +include/wine/windows/windef.h +include/wine/windows/windns.h +include/wine/windows/windows.h +include/wine/windows/windowsx.h +include/wine/windows/winerror.h +include/wine/windows/wingdi.h +include/wine/windows/winhttp.h +include/wine/windows/wininet.h +include/wine/windows/winineti.h +include/wine/windows/winioctl.h +include/wine/windows/winldap.h +include/wine/windows/winnetwk.h +include/wine/windows/winnls.h +include/wine/windows/winnls32.h +include/wine/windows/winnt.h +include/wine/windows/winperf.h +include/wine/windows/winreg.h +include/wine/windows/winresrc.h +include/wine/windows/winscard.h +include/wine/windows/winsmcrd.h +include/wine/windows/winsock.h +include/wine/windows/winsock2.h +include/wine/windows/winspool.h +include/wine/windows/winsvc.h +include/wine/windows/wintab.h +include/wine/windows/wintabx.h +include/wine/windows/winternl.h +include/wine/windows/wintrust.h +include/wine/windows/winuser.h +include/wine/windows/winuser.rh +include/wine/windows/winver.h +include/wine/windows/wmistr.h +include/wine/windows/wnaspi32.h +include/wine/windows/wownt32.h +include/wine/windows/ws2spi.h +include/wine/windows/ws2tcpip.h +include/wine/windows/wshisotp.h +include/wine/windows/wsipx.h +include/wine/windows/wsnwlink.h +include/wine/windows/wtsapi32.h +include/wine/windows/wtypes.h +include/wine/windows/wtypes.idl +include/wine/windows/xcmc.h +include/wine/windows/xinput.h +include/wine/windows/xmldom.h +include/wine/windows/xmldom.idl +include/wine/windows/xmldomdid.h +include/wine/windows/xmldso.h +include/wine/windows/xmldso.idl +include/wine/windows/xmldsodid.h +include/wine/windows/zmouse.h +lib/libwine.so +lib/libwine.so.1 +lib/libwine.so.1.0 +lib/wine/acledit.dll.so +lib/wine/activeds.dll.so +lib/wine/actxprxy.dll.so +lib/wine/advapi32.dll.so +lib/wine/advpack.dll.so +lib/wine/amstream.dll.so +lib/wine/appwiz.cpl.so +lib/wine/atl.dll.so +lib/wine/avicap32.dll.so +lib/wine/avifil32.dll.so +lib/wine/avifile.dll16 +lib/wine/browseui.dll.so +lib/wine/cabinet.dll.so +lib/wine/capi2032.dll.so +lib/wine/cards.dll.so +lib/wine/cfgmgr32.dll.so +lib/wine/clock.exe.so +lib/wine/clusapi.dll.so +lib/wine/cmd.exe.so +lib/wine/comcat.dll.so +lib/wine/comctl32.dll.so +lib/wine/comdlg32.dll.so +lib/wine/comm.drv16 +lib/wine/commdlg.dll16 +lib/wine/compobj.dll16 +lib/wine/compstui.dll.so +lib/wine/control.exe.so +lib/wine/credui.dll.so +lib/wine/crtdll.dll.so +lib/wine/crypt32.dll.so +lib/wine/cryptdlg.dll.so +lib/wine/cryptdll.dll.so +lib/wine/cryptnet.dll.so +lib/wine/cryptui.dll.so +lib/wine/ctapi32.dll.so +lib/wine/ctl3d.dll16 +lib/wine/ctl3d32.dll.so +lib/wine/ctl3dv2.dll16 +lib/wine/d3d10.dll.so +lib/wine/d3d8.dll.so +lib/wine/d3d9.dll.so +lib/wine/d3dim.dll.so +lib/wine/d3drm.dll.so +lib/wine/d3dx8.dll.so +lib/wine/d3dx9_24.dll.so +lib/wine/d3dx9_25.dll.so +lib/wine/d3dx9_26.dll.so +lib/wine/d3dx9_27.dll.so +lib/wine/d3dx9_28.dll.so +lib/wine/d3dx9_29.dll.so +lib/wine/d3dx9_30.dll.so +lib/wine/d3dx9_31.dll.so +lib/wine/d3dx9_32.dll.so +lib/wine/d3dx9_33.dll.so +lib/wine/d3dx9_34.dll.so +lib/wine/d3dx9_35.dll.so +lib/wine/d3dx9_36.dll.so +lib/wine/d3dx9_37.dll.so +lib/wine/d3dxof.dll.so +lib/wine/dbghelp.dll.so +lib/wine/dciman32.dll.so +lib/wine/ddeml.dll16 +lib/wine/ddraw.dll.so +lib/wine/ddrawex.dll.so +lib/wine/devenum.dll.so +lib/wine/dinput.dll.so +lib/wine/dinput8.dll.so +lib/wine/dispdib.dll16 +lib/wine/display.drv16 +lib/wine/dmband.dll.so +lib/wine/dmcompos.dll.so +lib/wine/dmime.dll.so +lib/wine/dmloader.dll.so +lib/wine/dmscript.dll.so +lib/wine/dmstyle.dll.so +lib/wine/dmsynth.dll.so +lib/wine/dmusic.dll.so +lib/wine/dmusic32.dll.so +lib/wine/dnsapi.dll.so +lib/wine/dplay.dll.so +lib/wine/dplayx.dll.so +lib/wine/dpnaddr.dll.so +lib/wine/dpnet.dll.so +lib/wine/dpnhpast.dll.so +lib/wine/dpnlobby.dll.so +lib/wine/dpwsockx.dll.so +lib/wine/dsound.dll.so +lib/wine/dssenh.dll.so +lib/wine/dswave.dll.so +lib/wine/dwmapi.dll.so +lib/wine/dxdiagn.dll.so +lib/wine/dxgi.dll.so +lib/wine/eject.exe.so +lib/wine/expand.exe.so +lib/wine/explorer.exe.so +lib/wine/faultrep.dll.so +lib/wine/fusion.dll.so +lib/wine/gdi.exe16 +lib/wine/gdi32.dll.so +lib/wine/gdiplus.dll.so +${PLIST.opengl}lib/wine/glu32.dll.so +lib/wine/gphoto2.ds.so +lib/wine/gpkcsp.dll.so +lib/wine/hal.dll.so +lib/wine/hh.exe.so +lib/wine/hhctrl.ocx.so +lib/wine/hid.dll.so +lib/wine/hlink.dll.so +lib/wine/hnetcfg.dll.so +lib/wine/iccvid.dll.so +lib/wine/icinfo.exe.so +lib/wine/icmp.dll.so +lib/wine/iexplore.exe.so +lib/wine/ifsmgr.vxd.so +lib/wine/imaadp32.acm.so +lib/wine/imagehlp.dll.so +lib/wine/imm.dll16 +lib/wine/imm32.dll.so +lib/wine/inetcomm.dll.so +lib/wine/inetmib1.dll.so +lib/wine/infosoft.dll.so +lib/wine/initpki.dll.so +lib/wine/inkobj.dll.so +lib/wine/inseng.dll.so +lib/wine/iphlpapi.dll.so +lib/wine/itircl.dll.so +lib/wine/itss.dll.so +lib/wine/jscript.dll.so +lib/wine/kernel32.dll.so +lib/wine/keyboard.drv16 +lib/wine/krnl386.exe16 +lib/wine/libactiveds.def +lib/wine/libadsiid.a +lib/wine/libadvapi32.def +lib/wine/libadvpack.def +lib/wine/libatl.def +lib/wine/libavicap32.def +lib/wine/libavifil32.def +lib/wine/libcabinet.def +lib/wine/libcapi2032.def +lib/wine/libcards.def +lib/wine/libcfgmgr32.def +lib/wine/libclusapi.def +lib/wine/libcomctl32.def +lib/wine/libcomdlg32.def +lib/wine/libcompstui.def +lib/wine/libcredui.def +lib/wine/libcrtdll.def +lib/wine/libcrypt32.def +lib/wine/libcryptdll.def +lib/wine/libcryptnet.def +lib/wine/libcryptui.def +lib/wine/libctl3d32.def +lib/wine/libd3d10.def +lib/wine/libd3d8.def +lib/wine/libd3d9.def +lib/wine/libd3dim.def +lib/wine/libd3drm.def +lib/wine/libd3dx8.def +lib/wine/libd3dx9.def +lib/wine/libd3dxof.def +lib/wine/libdbghelp.def +lib/wine/libdciman32.def +lib/wine/libddraw.def +lib/wine/libdinput.def +lib/wine/libdinput.def.a +lib/wine/libdinput8.def +lib/wine/libdmusic32.def +lib/wine/libdnsapi.def +lib/wine/libdplay.def +lib/wine/libdplayx.def +lib/wine/libdpnet.def +lib/wine/libdsound.def +lib/wine/libdwmapi.def +lib/wine/libdxerr8.a +lib/wine/libdxerr9.a +lib/wine/libdxgi.def +lib/wine/libdxguid.a +lib/wine/libgdi32.def +lib/wine/libgdiplus.def +${PLIST.opengl}lib/wine/libglu32.def +lib/wine/libhid.def +lib/wine/libhlink.def +lib/wine/libimagehlp.def +lib/wine/libimm32.def +lib/wine/libinetcomm.def +lib/wine/libiphlpapi.def +lib/wine/libkernel32.def +lib/wine/liblz32.def +lib/wine/libmapi32.def +lib/wine/libmlang.def +lib/wine/libmpr.def +lib/wine/libmprapi.def +lib/wine/libmsacm32.def +lib/wine/libmscms.def +lib/wine/libmsdmo.def +lib/wine/libmshtml.def +lib/wine/libmsi.def +lib/wine/libmsimg32.def +lib/wine/libmsvcr71.def +lib/wine/libmsvcrt.def +lib/wine/libmsvcrt20.def +lib/wine/libmsvcrt40.def +lib/wine/libmsvcrtd.def +lib/wine/libmsvfw32.def +lib/wine/libmswsock.def +lib/wine/libnddeapi.def +lib/wine/libnetapi32.def +lib/wine/libnewdev.def +lib/wine/libntdll.def +lib/wine/libntdsapi.def +lib/wine/libntoskrnl.exe.def +lib/wine/libodbc32.def +lib/wine/libodbccp32.def +lib/wine/libole32.def +lib/wine/liboleacc.def +lib/wine/liboleaut32.def +lib/wine/libolecli32.def +lib/wine/liboledlg.def +lib/wine/libolepro32.def +lib/wine/libolesvr32.def +${PLIST.opengl}lib/wine/libopengl32.def +lib/wine/libpdh.def +lib/wine/libpowrprof.def +lib/wine/libpsapi.def +lib/wine/libquartz.def +lib/wine/librasapi32.def +lib/wine/libresutils.def +lib/wine/libriched20.def +lib/wine/librpcrt4.def +lib/wine/librsaenh.def +lib/wine/libsecur32.def +lib/wine/libsensapi.def +lib/wine/libserialui.def +lib/wine/libsetupapi.def +lib/wine/libsfc.def +lib/wine/libsfc_os.def +lib/wine/libshdocvw.def +lib/wine/libshell32.def +lib/wine/libshfolder.def +lib/wine/libshlwapi.def +lib/wine/libslc.def +lib/wine/libsnmpapi.def +lib/wine/libspoolss.def +lib/wine/libsti.def +lib/wine/libstrmiids.a +lib/wine/libtapi32.def +lib/wine/libunicows.def +lib/wine/liburl.def +lib/wine/liburlmon.def +lib/wine/libuser32.def +lib/wine/libuserenv.def +lib/wine/libusp10.def +lib/wine/libuuid.a +lib/wine/libuxtheme.def +lib/wine/libvdmdbg.def +lib/wine/libversion.def +lib/wine/libwinecrt0.a +lib/wine/libwined3d.def +lib/wine/libwinedos.def +lib/wine/libwinhttp.def +lib/wine/libwininet.def +lib/wine/libwinmm.def +lib/wine/libwinnls32.def +lib/wine/libwinscard.def +lib/wine/libwinspool.def +lib/wine/libwintab32.def +lib/wine/libwintrust.def +lib/wine/libwldap32.def +lib/wine/libwnaspi32.def +lib/wine/libwow32.def +lib/wine/libws2_32.def +lib/wine/libwsock32.def +lib/wine/libwtsapi32.def +lib/wine/localspl.dll.so +lib/wine/localui.dll.so +lib/wine/lz32.dll.so +lib/wine/lzexpand.dll16 +lib/wine/mapi32.dll.so +lib/wine/mciavi32.dll.so +lib/wine/mcicda.dll.so +lib/wine/mciseq.dll.so +lib/wine/mciwave.dll.so +lib/wine/midimap.dll.so +lib/wine/mlang.dll.so +lib/wine/mmdevldr.vxd.so +lib/wine/mmsystem.dll16 +lib/wine/monodebg.vxd.so +lib/wine/mountmgr.sys.so +lib/wine/mouse.drv16 +lib/wine/mpr.dll.so +lib/wine/mprapi.dll.so +lib/wine/msacm.dll16 +lib/wine/msacm32.dll.so +lib/wine/msacm32.drv.so +lib/wine/msadp32.acm.so +lib/wine/mscat32.dll.so +lib/wine/mscms.dll.so +lib/wine/mscoree.dll.so +lib/wine/msdmo.dll.so +lib/wine/msftedit.dll.so +lib/wine/msg711.acm.so +lib/wine/mshtml.dll.so +lib/wine/mshtml.tlb.so +lib/wine/msi.dll.so +lib/wine/msiexec.exe.so +lib/wine/msimg32.dll.so +lib/wine/msimtf.dll.so +lib/wine/msisip.dll.so +lib/wine/msisys.ocx.so +lib/wine/msnet32.dll.so +lib/wine/msrle32.dll.so +lib/wine/mssip32.dll.so +lib/wine/mstask.dll.so +lib/wine/msvcirt.dll.so +lib/wine/msvcr71.dll.so +lib/wine/msvcrt.dll.so +lib/wine/msvcrt20.dll.so +lib/wine/msvcrt40.dll.so +lib/wine/msvcrtd.dll.so +lib/wine/msvfw32.dll.so +lib/wine/msvidc32.dll.so +lib/wine/msvideo.dll16 +lib/wine/mswsock.dll.so +lib/wine/msxml3.dll.so +lib/wine/nddeapi.dll.so +lib/wine/net.exe.so +lib/wine/netapi32.dll.so +lib/wine/newdev.dll.so +lib/wine/notepad.exe.so +lib/wine/ntdll.dll.so +lib/wine/ntdsapi.dll.so +lib/wine/ntoskrnl.exe.so +lib/wine/ntprint.dll.so +lib/wine/objsel.dll.so +lib/wine/odbc32.dll.so +lib/wine/odbccp32.dll.so +lib/wine/ole2.dll16 +lib/wine/ole2conv.dll16 +lib/wine/ole2disp.dll16 +lib/wine/ole2nls.dll16 +lib/wine/ole2prox.dll16 +lib/wine/ole2thk.dll16 +lib/wine/ole32.dll.so +lib/wine/oleacc.dll.so +lib/wine/oleaut32.dll.so +lib/wine/olecli.dll16 +lib/wine/olecli32.dll.so +lib/wine/oledlg.dll.so +lib/wine/olepro32.dll.so +lib/wine/olesvr.dll16 +lib/wine/olesvr32.dll.so +lib/wine/olethk32.dll.so +lib/wine/oleview.exe.so +${PLIST.opengl}lib/wine/opengl32.dll.so +lib/wine/pdh.dll.so +lib/wine/powrprof.dll.so +lib/wine/printui.dll.so +lib/wine/progman.exe.so +lib/wine/propsys.dll.so +lib/wine/psapi.dll.so +lib/wine/pstorec.dll.so +lib/wine/qcap.dll.so +lib/wine/qedit.dll.so +lib/wine/qmgr.dll.so +lib/wine/qmgrprxy.dll.so +lib/wine/quartz.dll.so +lib/wine/query.dll.so +lib/wine/rasapi16.dll16 +lib/wine/rasapi32.dll.so +lib/wine/reg.exe.so +lib/wine/regedit.exe.so +lib/wine/regsvr32.exe.so +lib/wine/resutils.dll.so +lib/wine/riched20.dll.so +lib/wine/riched32.dll.so +lib/wine/rpcrt4.dll.so +lib/wine/rpcss.exe.so +lib/wine/rsabase.dll.so +lib/wine/rsaenh.dll.so +lib/wine/rundll32.exe.so +lib/wine/sane.ds.so +lib/wine/sccbase.dll.so +lib/wine/schannel.dll.so +lib/wine/secedit.exe.so +lib/wine/secur32.dll.so +lib/wine/security.dll.so +lib/wine/sensapi.dll.so +lib/wine/serialui.dll.so +lib/wine/services.exe.so +lib/wine/setupapi.dll.so +lib/wine/setupx.dll16 +lib/wine/sfc.dll.so +lib/wine/sfc_os.dll.so +lib/wine/shdoclc.dll.so +lib/wine/shdocvw.dll.so +lib/wine/shell.dll16 +lib/wine/shell32.dll.so +lib/wine/shfolder.dll.so +lib/wine/shlwapi.dll.so +lib/wine/slbcsp.dll.so +lib/wine/slc.dll.so +lib/wine/snmpapi.dll.so +lib/wine/softpub.dll.so +lib/wine/sound.drv16 +lib/wine/spoolss.dll.so +lib/wine/spoolsv.exe.so +lib/wine/start.exe.so +lib/wine/stdole2.tlb.so +lib/wine/stdole32.tlb.so +lib/wine/sti.dll.so +lib/wine/storage.dll16 +lib/wine/stress.dll16 +lib/wine/svchost.exe.so +lib/wine/svrapi.dll.so +lib/wine/sxs.dll.so +lib/wine/system.drv16 +lib/wine/tapi32.dll.so +lib/wine/taskmgr.exe.so +lib/wine/toolhelp.dll16 +lib/wine/twain.dll16 +lib/wine/twain_32.dll.so +lib/wine/typelib.dll16 +lib/wine/unicows.dll.so +lib/wine/uninstaller.exe.so +lib/wine/url.dll.so +lib/wine/urlmon.dll.so +lib/wine/user.exe16 +lib/wine/user32.dll.so +lib/wine/userenv.dll.so +lib/wine/usp10.dll.so +lib/wine/uxtheme.dll.so +lib/wine/vdhcp.vxd.so +lib/wine/vdmdbg.dll.so +lib/wine/ver.dll16 +lib/wine/version.dll.so +lib/wine/vmm.vxd.so +lib/wine/vnbt.vxd.so +lib/wine/vnetbios.vxd.so +lib/wine/vtdapi.vxd.so +lib/wine/vwin32.vxd.so +lib/wine/w32skrnl.dll.so +lib/wine/w32sys.dll16 +lib/wine/win32s16.dll16 +lib/wine/win87em.dll16 +lib/wine/winaspi.dll16 +lib/wine/windebug.dll16 +lib/wine/winealsa.drv.so +lib/wine/wineaudioio.drv.so +lib/wine/wineboot.exe.so +lib/wine/winebrowser.exe.so +lib/wine/winecfg.exe.so +lib/wine/wineconsole.exe.so +lib/wine/winecoreaudio.drv.so +lib/wine/wined3d.dll.so +lib/wine/winedbg.exe.so +lib/wine/winedevice.exe.so +lib/wine/winedos.dll.so +lib/wine/wineesd.drv.so +lib/wine/winefile.exe.so +lib/wine/winejack.drv.so +lib/wine/winejoystick.drv.so +lib/wine/winemenubuilder.exe.so +lib/wine/winemine.exe.so +lib/wine/winemp3.acm.so +lib/wine/winenas.drv.so +lib/wine/wineoss.drv.so +lib/wine/winepath.exe.so +lib/wine/wineps.drv.so +lib/wine/wineps16.drv16 +lib/wine/winevdm.exe.so +${PLIST.x11}lib/wine/winex11.drv.so +lib/wine/wing.dll16 +lib/wine/wing32.dll.so +lib/wine/winhelp.exe16 +lib/wine/winhlp32.exe.so +lib/wine/winhttp.dll.so +lib/wine/wininet.dll.so +lib/wine/winmm.dll.so +lib/wine/winnls.dll16 +lib/wine/winnls32.dll.so +lib/wine/winoldap.mod16 +lib/wine/winscard.dll.so +lib/wine/winsock.dll16 +lib/wine/winspool.drv.so +lib/wine/wintab.dll16 +lib/wine/wintab32.dll.so +lib/wine/wintrust.dll.so +lib/wine/winver.exe.so +lib/wine/wldap32.dll.so +lib/wine/wmi.dll.so +lib/wine/wnaspi32.dll.so +lib/wine/wordpad.exe.so +lib/wine/wow32.dll.so +lib/wine/wprocs.dll16 +lib/wine/write.exe.so +lib/wine/ws2_32.dll.so +lib/wine/wsock32.dll.so +lib/wine/wtsapi32.dll.so +lib/wine/xcopy.exe.so +man/de.UTF-8/man1/wine.1 +man/fr.UTF-8/man1/wine.1 +man/fr.UTF-8/man1/wineserver.1 +man/man1/widl.1 +man/man1/wine.1 +man/man1/winebuild.1 +man/man1/winedbg.1 +man/man1/winedump.1 +man/man1/wineg++.1 +man/man1/winegcc.1 +man/man1/winemaker.1 +man/man1/wineprefixcreate.1 +man/man1/wineserver.1 +man/man1/wmc.1 +man/man1/wrc.1 +share/aclocal/wine.m4 +share/applications/wine.desktop +${PLIST.x11}share/wine/fonts/coue1255.fon +${PLIST.x11}share/wine/fonts/coue1256.fon +${PLIST.x11}share/wine/fonts/coue1257.fon +${PLIST.x11}share/wine/fonts/coure.fon +${PLIST.x11}share/wine/fonts/couree.fon +${PLIST.x11}share/wine/fonts/coureg.fon +${PLIST.x11}share/wine/fonts/courer.fon +${PLIST.x11}share/wine/fonts/couret.fon +${PLIST.x11}share/wine/fonts/cvgasys.fon +${PLIST.x11}share/wine/fonts/hvgasys.fon +${PLIST.x11}share/wine/fonts/jsmalle.fon +${PLIST.x11}share/wine/fonts/jvgasys.fon +${PLIST.x11}share/wine/fonts/marlett.ttf +${PLIST.x11}share/wine/fonts/smae1255.fon +${PLIST.x11}share/wine/fonts/smae1256.fon +${PLIST.x11}share/wine/fonts/smae1257.fon +${PLIST.x11}share/wine/fonts/smalle.fon +${PLIST.x11}share/wine/fonts/smallee.fon +${PLIST.x11}share/wine/fonts/smalleg.fon +${PLIST.x11}share/wine/fonts/smaller.fon +${PLIST.x11}share/wine/fonts/smallet.fon +${PLIST.x11}share/wine/fonts/ssee1255.fon +${PLIST.x11}share/wine/fonts/ssee1256.fon +${PLIST.x11}share/wine/fonts/ssee1257.fon +${PLIST.x11}share/wine/fonts/ssee874.fon +${PLIST.x11}share/wine/fonts/sserife.fon +${PLIST.x11}share/wine/fonts/sserifee.fon +${PLIST.x11}share/wine/fonts/sserifeg.fon +${PLIST.x11}share/wine/fonts/sserifer.fon +${PLIST.x11}share/wine/fonts/sserifet.fon +${PLIST.x11}share/wine/fonts/svgasys.fon +${PLIST.x11}share/wine/fonts/tahoma.ttf +${PLIST.x11}share/wine/fonts/tahomabd.ttf +${PLIST.x11}share/wine/fonts/vgas1255.fon +${PLIST.x11}share/wine/fonts/vgas1256.fon +${PLIST.x11}share/wine/fonts/vgas1257.fon +${PLIST.x11}share/wine/fonts/vgas874.fon +${PLIST.x11}share/wine/fonts/vgasys.fon +${PLIST.x11}share/wine/fonts/vgasyse.fon +${PLIST.x11}share/wine/fonts/vgasysg.fon +${PLIST.x11}share/wine/fonts/vgasysr.fon +${PLIST.x11}share/wine/fonts/vgasyst.fon +share/wine/generic.ppd +share/wine/wine.inf +${PLIST.x11}@dirrm share/wine/fonts +@dirrm share/wine +@comment in xdg-dirs: @dirrm share/applications +@dirrm man/fr.UTF-8/man1 +@dirrm man/fr.UTF-8 +@dirrm man/de.UTF-8/man1 +@dirrm man/de.UTF-8 +@dirrm lib/wine +@dirrm include/wine/windows/ddk +@dirrm include/wine/windows +@dirrm include/wine/msvcrt/sys +@dirrm include/wine/msvcrt +@dirrm include/wine diff --git a/emulators/wine-devel/buildlink3.mk b/emulators/wine-devel/buildlink3.mk new file mode 100644 index 00000000000..be31710e53c --- /dev/null +++ b/emulators/wine-devel/buildlink3.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +WINE_BUILDLINK3_MK:= ${WINE_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= wine +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwine} +BUILDLINK_PACKAGES+= wine +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wine + +.if ${WINE_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.wine+= wine>=0.9.6nb1 +BUILDLINK_PKGSRCDIR.wine?= ../../emulators/wine +.endif # WINE_BUILDLINK3_MK + +pkgbase:= wine +.include "../../mk/pkg-build-options.mk" + +.include "../../graphics/freetype2/buildlink3.mk" +.if !empty(PKG_BUILD_OPTIONS.wine:Mopengl) +.include "../../graphics/glu/buildlink3.mk" +.include "../../graphics/glut/buildlink3.mk" +.endif +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/libungif/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo new file mode 100644 index 00000000000..fce3f6921ea --- /dev/null +++ b/emulators/wine-devel/distinfo @@ -0,0 +1,20 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/11/21 17:40:29 adam Exp $ + +SHA1 (wine-1.1.8.tar.bz2) = a01bea15352e4c9026109f8ba0cfe66e7167c3d6 +RMD160 (wine-1.1.8.tar.bz2) = 13501a94f3eeeb8e75be25e4dc5c178414d473c3 +Size (wine-1.1.8.tar.bz2) = 14665390 bytes +SHA1 (patch-aa) = 0d8512f767119d7b258e32e04c78e919879e0ba6 +SHA1 (patch-ab) = 90cb810b02d22f8e96389e6c1d4f230c11fb1d8c +SHA1 (patch-ac) = 5c9ddce81a3d7cc6d42136ad8f5f73d4ad47aefe +SHA1 (patch-ad) = 140e86db716cd1b1ab256bff0c7edec9423f9384 +SHA1 (patch-ae) = 23bd992e3b56e1838e27753d8cc48112d7de7bcb +SHA1 (patch-af) = 91407e84abd72e9951704fd3f7f090fdad9b87fb +SHA1 (patch-ag) = c4bf5a592ad5cad67ff933c5da418c58d6e1367a +SHA1 (patch-ah) = 29053353a24d28a5b5d30a8bfe9387116b6255d3 +SHA1 (patch-ai) = 54453ed21f52d1da6a7f89bc437f7b318db5058f +SHA1 (patch-aj) = fa9d3baad8d3b895edc6275c2b6da23daa941a09 +SHA1 (patch-ak) = ff41f617d2ae7bbff57af52dda85647bc4fba354 +SHA1 (patch-ba) = 60f4683c26a9c975cb8e779d28205aaf1134c0de +SHA1 (patch-bb) = 77cad41a7e8e34f12243e53f6c1cec998bedefda +SHA1 (patch-bc) = 1542a59718229a41e23aff93e4571bf7127a276b +SHA1 (patch-ca) = 1383c03cc83cefe6099b58340db2bc468c7524bb diff --git a/emulators/wine-devel/options.mk b/emulators/wine-devel/options.mk new file mode 100644 index 00000000000..6abcb979e7b --- /dev/null +++ b/emulators/wine-devel/options.mk @@ -0,0 +1,72 @@ +# $NetBSD: options.mk,v 1.1.1.1 2008/11/21 17:40:29 adam Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.wine +PKG_SUPPORTED_OPTIONS= cups opengl sane esound ldap dbus ssl x11 +PKG_SUGGESTED_OPTIONS= opengl esound ldap dbus ssl x11 + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= opengl x11 + +.if !empty(PKG_OPTIONS:Mesound) +.include "../../audio/esound/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mldap) +.include "../../databases/openldap-client/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-ldap +.endif + +.if !empty(PKG_OPTIONS:Mdbus) +.include "../../sysutils/dbus/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-dbus +.endif + +.if !empty(PKG_OPTIONS:Mssl) +.include "../../security/openssl/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-openssl +.endif + +.if !empty(PKG_OPTIONS:Mcups) +.include "../../print/cups/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-cups +.endif + +.if !empty(PKG_OPTIONS:Mx11) +PLIST.x11= yes +.include "../../fonts/fontconfig/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/lcms/buildlink3.mk" +.include "../../graphics/libungif/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../x11/libICE/buildlink3.mk" +.include "../../x11/libSM/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXcomposite/buildlink3.mk" +.include "../../x11/libXcursor/buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXi/buildlink3.mk" +.include "../../x11/libXinerama/buildlink3.mk" +.include "../../x11/libXrandr/buildlink3.mk" +.include "../../x11/libXrender/buildlink3.mk" +.include "../../x11/libXxf86vm/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-x --without-freetype +.endif + +.if !empty(PKG_OPTIONS:Mopengl) && !empty(PKG_OPTIONS:Mx11) +PLIST.opengl= yes +.include "../../graphics/glu/buildlink3.mk" +.include "../../graphics/glut/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-opengl +.endif + +.if !empty(PKG_OPTIONS:Msane) +.include "../../graphics/sane-backends/buildlink3.mk" +.endif diff --git a/emulators/wine-devel/patches/patch-aa b/emulators/wine-devel/patches/patch-aa new file mode 100644 index 00000000000..47753f77977 --- /dev/null +++ b/emulators/wine-devel/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- Make.rules.in.orig 2008-06-27 16:24:42.000000000 +0200 ++++ Make.rules.in +@@ -121,7 +121,7 @@ IDL_GEN_HEADERS = $(IDL_H_SRCS:.idl=.h) + 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) + + RCOBJS = $(RC_SRCS:.rc=.res.o) + LINTS = $(C_SRCS:.c=.ln) diff --git a/emulators/wine-devel/patches/patch-ab b/emulators/wine-devel/patches/patch-ab new file mode 100644 index 00000000000..c9ff016802a --- /dev/null +++ b/emulators/wine-devel/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/ntdll/cdrom.c.orig 2008-06-27 16:24:42.000000000 +0200 ++++ dlls/ntdll/cdrom.c +@@ -65,6 +65,16 @@ + #endif + #ifdef HAVE_LINUX_CDROM_H + # include <linux/cdrom.h> ++#else ++# ifndef CD_FRAMES ++# define CD_FRAMES 75 ++# endif ++# ifndef CDROM_MSF ++# define CDROM_MSF 0x02 ++# endif ++# ifndef CD_SECS ++# define CD_SECS 60 ++# endif + #endif + #ifdef HAVE_LINUX_UCDROM_H + # include <linux/ucdrom.h> diff --git a/emulators/wine-devel/patches/patch-ac b/emulators/wine-devel/patches/patch-ac new file mode 100644 index 00000000000..adc615da831 --- /dev/null +++ b/emulators/wine-devel/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/ntdll/directory.c.orig 2008-06-27 16:24:42.000000000 +0200 ++++ dlls/ntdll/directory.c +@@ -127,6 +127,20 @@ static inline int getdents64( int fd, ch + #endif /* linux */ + + #define IS_OPTION_TRUE(ch) ((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1') ++#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 399000800 ++/* ++ * workaround for obsolete getdirentries() which returns ++ * the old 32-bit inode struct dirent, while dirent.h has the ++ * new 64-bit inode struct dirent inode since 3.99.8 ++ */ ++int compat_netbsd_getdirentries(int fd, char *buf, int nbytes, long *basep) ++{ ++ *basep = (long)lseek(fd, 0, SEEK_CUR); ++ return getdents(fd, buf, (size_t)nbytes); ++} ++#define getdirentries compat_netbsd_getdirentries ++#endif ++ + #define IS_SEPARATOR(ch) ((ch) == '\\' || (ch) == '/') + + #define INVALID_NT_CHARS '*','?','<','>','|','"' diff --git a/emulators/wine-devel/patches/patch-ad b/emulators/wine-devel/patches/patch-ad new file mode 100644 index 00000000000..9906ccbd629 --- /dev/null +++ b/emulators/wine-devel/patches/patch-ad @@ -0,0 +1,85 @@ +$NetBSD: patch-ad,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/iphlpapi/ipstats.c.orig 2008-07-11 17:55:55.000000000 +0200 ++++ dlls/iphlpapi/ipstats.c +@@ -28,6 +28,10 @@ + #include <stdlib.h> + #include <string.h> + #include <sys/types.h> ++#if defined(__NetBSD__) ++#include <sys/param.h> ++#endif ++#include <unistd.h> + #ifdef HAVE_ALIAS_H + #include <alias.h> + #endif +@@ -463,7 +467,7 @@ DWORD getICMPStats(MIB_ICMP *stats) + + DWORD getIPStats(PMIB_IPSTATS stats) + { +-#if defined(HAVE_SYS_SYSCTL_H) && defined(IPCTL_STATS) ++#if defined(HAVE_SYS_SYSCTL_H) && defined(IPCTL_STATS) && !defined(__NetBSD__) + int mib[] = {CTL_NET, PF_INET, IPPROTO_IP, IPCTL_STATS}; + #define MIB_LEN (sizeof(mib) / sizeof(mib[0])) + int ip_ttl, ip_forwarding; +@@ -632,7 +636,7 @@ DWORD getIPStats(PMIB_IPSTATS stats) + + DWORD getTCPStats(MIB_TCPSTATS *stats) + { +-#if defined(HAVE_SYS_SYSCTL_H) && defined(UDPCTL_STATS) ++#if defined(HAVE_SYS_SYSCTL_H) && defined(UDPCTL_STATS) && !defined(__NetBSD__) + #ifndef TCPTV_MIN /* got removed in Mac OS X for some reason */ + #define TCPTV_MIN 2 + #define TCPTV_REXMTMAX 128 +@@ -769,7 +773,7 @@ DWORD getTCPStats(MIB_TCPSTATS *stats) + + DWORD getUDPStats(MIB_UDPSTATS *stats) + { +-#if defined(HAVE_SYS_SYSCTL_H) && defined(UDPCTL_STATS) ++#if defined(HAVE_SYS_SYSCTL_H) && defined(UDPCTL_STATS) && !defined(__NetBSD__) + int mib[] = {CTL_NET, PF_INET, IPPROTO_UDP, UDPCTL_STATS}; + #define MIB_LEN (sizeof(mib) / sizeof(mib[0])) + struct udpstat udp_stat; +@@ -1011,7 +1015,11 @@ DWORD getNumRoutes(void) + + /* Ignore all entries except for gateway routes which aren't + multicast */ ++#if !defined(RTF_MULTICAST) ++ if (!(rtm->rtm_flags & RTF_GATEWAY)) ++#else + if (!(rtm->rtm_flags & RTF_GATEWAY) || (rtm->rtm_flags & RTF_MULTICAST)) ++#endif + continue; + + RouteCount++; +@@ -1087,8 +1095,12 @@ DWORD getRouteTable(PMIB_IPFORWARDTABLE + + /* Ignore all entries except for gateway routes which aren't + multicast */ ++#if !defined(RTF_MULTICAST) ++ if (!(rtm->rtm_flags & RTF_GATEWAY)) ++#else + if (!(rtm->rtm_flags & RTF_GATEWAY) || + (rtm->rtm_flags & RTF_MULTICAST)) ++#endif + continue; + + memset (&table->table[table->dwNumEntries], 0, +@@ -1249,7 +1261,7 @@ DWORD getRouteTable(PMIB_IPFORWARDTABLE + + DWORD getNumArpEntries(void) + { +-#if defined(HAVE_SYS_SYSCTL_H) && defined(NET_RT_DUMP) ++#if defined(HAVE_SYS_SYSCTL_H) && defined(NET_RT_DUMP) && !defined(__NetBSD__) + int mib[] = {CTL_NET, PF_ROUTE, 0, AF_INET, NET_RT_FLAGS, RTF_LLINFO}; + #define MIB_LEN (sizeof(mib) / sizeof(mib[0])) + DWORD arpEntries = 0; +@@ -1305,7 +1317,7 @@ DWORD getArpTable(PMIB_IPNETTABLE *ppIpN + if (numEntries > 1) + size += (numEntries - 1) * sizeof(MIB_IPNETROW); + table = HeapAlloc(heap, flags, size); +-#if defined(HAVE_SYS_SYSCTL_H) && defined(NET_RT_DUMP) ++#if defined(HAVE_SYS_SYSCTL_H) && defined(NET_RT_DUMP) && !defined(__NetBSD__) + if (table) + { + int mib[] = {CTL_NET, PF_ROUTE, 0, AF_INET, NET_RT_FLAGS, RTF_LLINFO}; diff --git a/emulators/wine-devel/patches/patch-ae b/emulators/wine-devel/patches/patch-ae new file mode 100644 index 00000000000..742a373df4b --- /dev/null +++ b/emulators/wine-devel/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/winex11.drv/opengl.c.orig 2008-06-27 16:24:42.000000000 +0200 ++++ dlls/winex11.drv/opengl.c +@@ -47,6 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wgl); + #endif + #ifdef HAVE_GL_GLX_H + # include <GL/glx.h> ++# include <GL/glxext.h> + #endif + #ifdef HAVE_GL_GLEXT_H + # include <GL/glext.h> diff --git a/emulators/wine-devel/patches/patch-af b/emulators/wine-devel/patches/patch-af new file mode 100644 index 00000000000..785114cb1de --- /dev/null +++ b/emulators/wine-devel/patches/patch-af @@ -0,0 +1,79 @@ +$NetBSD: patch-af,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/ntdll/signal_i386.c.orig 2008-07-11 17:55:55.000000000 +0200 ++++ dlls/ntdll/signal_i386.c +@@ -199,7 +199,7 @@ typedef struct trapframe SIGCONTEXT; + + #endif /* bsdi */ + +-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) ++#if (defined(__NetBSD__) && (__NetBSD_Version__ < 200000000)) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) + + typedef struct sigcontext SIGCONTEXT; + +@@ -332,6 +332,39 @@ typedef ucontext_t SIGCONTEXT; + + #endif /* __APPLE__ */ + ++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200000000) ++# include <sys/ucontext.h> ++# include <sys/types.h> ++# include <signal.h> ++ ++typedef ucontext_t SIGCONTEXT; ++ ++#define EAX_sig(context) ((context)->uc_mcontext.__gregs[_REG_EAX]) ++#define EBX_sig(context) ((context)->uc_mcontext.__gregs[_REG_EBX]) ++#define ECX_sig(context) ((context)->uc_mcontext.__gregs[_REG_ECX]) ++#define EDX_sig(context) ((context)->uc_mcontext.__gregs[_REG_EDX]) ++#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) _UC_MACHINE_SP(context) ++ ++#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 EFL_sig(context) ((context)->uc_mcontext.__gregs[_REG_EFL]) ++#define EIP_sig(context) _UC_MACHINE_PC(context) ++#define TRAP_sig(context) ((context)->uc_mcontext.__gregs[_REG_TRAPNO]) ++#define ERROR_sig(context) ((context)->uc_mcontext.__gregs[_REG_ERR]) ++ ++#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); +@@ -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 */ ++#if defined(__NetBSD__) ++ TRAP_x86_MCHK = T_MCA, /* Machine check exception */ ++ TRAP_x86_CACHEFLT = T_XMM /* Cache flush exception */ ++#else + TRAP_x86_MCHK = T_MCHK, /* Machine check exception */ + TRAP_x86_CACHEFLT = T_XMMFLT /* Cache flush exception */ ++#endif + #else + TRAP_x86_DIVIDE = 0, /* Division by zero exception */ + TRAP_x86_TRCTRAP = 1, /* Single-step exception */ +@@ -1604,7 +1642,11 @@ void signal_init_process(void) + struct sigaction sig_act; + + sig_act.sa_mask = server_block_set; ++#if defined(__NetBSD__) && (__NetBSD_Version__ < 200000000) ++ sig_act.sa_flags = SA_RESTART; ++#else + sig_act.sa_flags = SA_SIGINFO | SA_RESTART; ++#endif + #ifdef SA_ONSTACK + sig_act.sa_flags |= SA_ONSTACK; + #endif diff --git a/emulators/wine-devel/patches/patch-ag b/emulators/wine-devel/patches/patch-ag new file mode 100644 index 00000000000..a90fb18d479 --- /dev/null +++ b/emulators/wine-devel/patches/patch-ag @@ -0,0 +1,58 @@ +$NetBSD: patch-ag,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/ntdll/signal_x86_64.c.orig 2006-10-13 14:43:39.000000000 +0000 ++++ dlls/ntdll/signal_x86_64.c +@@ -93,6 +93,53 @@ typedef struct ucontext SIGCONTEXT; + + #endif /* linux */ + ++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200000000) ++# include <sys/ucontext.h> ++# include <sys/types.h> ++# include <signal.h> ++ ++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) */ diff --git a/emulators/wine-devel/patches/patch-ah b/emulators/wine-devel/patches/patch-ah new file mode 100644 index 00000000000..454240012d6 --- /dev/null +++ b/emulators/wine-devel/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/jscript/parser.y.orig 2008-11-08 10:20:41.000000000 +0100 ++++ dlls/jscript/parser.y +@@ -317,7 +317,7 @@ StatementList_opt + /* ECMA-262 3rd Edition 12.1 */ + Block + : '{' StatementList '}' { $$ = new_block_statement(ctx, $2); } +- | '{' '}' { $$ = new_block_statement(ctx, NULL) } ++ | '{' '}' { $$ = new_block_statement(ctx, NULL); } + + /* ECMA-262 3rd Edition 12.2 */ + VariableStatement diff --git a/emulators/wine-devel/patches/patch-ai b/emulators/wine-devel/patches/patch-ai new file mode 100644 index 00000000000..8123a60d608 --- /dev/null +++ b/emulators/wine-devel/patches/patch-ai @@ -0,0 +1,14 @@ +$NetBSD: patch-ai,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- include/winternl.h.orig 2008-09-19 18:05:36.000000000 +0200 ++++ include/winternl.h +@@ -22,6 +22,9 @@ + #define __WINE_WINTERNL_H + + #include <windef.h> ++#ifndef va_list ++#define va_list __builtin_va_list ++#endif + + #ifdef __cplusplus + extern "C" { diff --git a/emulators/wine-devel/patches/patch-aj b/emulators/wine-devel/patches/patch-aj new file mode 100644 index 00000000000..59b80a1c829 --- /dev/null +++ b/emulators/wine-devel/patches/patch-aj @@ -0,0 +1,24 @@ +$NetBSD: patch-aj,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/wineoss.drv/oss.c.orig 2005-12-24 10:24:01.000000000 +0100 ++++ dlls/wineoss.drv/oss.c +@@ -42,7 +42,9 @@ static LRESULT OSS_drvLoad(void) + { + TRACE("()\n"); + OSS_WaveInit(); ++#ifdef HAVE_OSS_MIDI + OSS_MidiInit(); ++#endif + OSS_MixerInit(); + OSS_AuxInit(); + return 1; +@@ -55,7 +57,9 @@ static LRESULT OSS_drvFree(void) + { + TRACE("()\n"); + OSS_WaveExit(); ++#ifdef HAVE_OSS_MIDI + OSS_MidiExit(); ++#endif + OSS_MixerExit(); + OSS_AuxExit(); + return 1; diff --git a/emulators/wine-devel/patches/patch-ak b/emulators/wine-devel/patches/patch-ak new file mode 100644 index 00000000000..19c8197c96a --- /dev/null +++ b/emulators/wine-devel/patches/patch-ak @@ -0,0 +1,14 @@ +$NetBSD: patch-ak,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- include/winbase.h.orig 2008-09-19 18:05:36.000000000 +0200 ++++ include/winbase.h +@@ -20,6 +20,9 @@ + #define __WINE_WINBASE_H + + #include <winerror.h> ++#ifndef va_list ++#define va_list __builtin_va_list ++#endif + + #ifdef __cplusplus + extern "C" { diff --git a/emulators/wine-devel/patches/patch-ba b/emulators/wine-devel/patches/patch-ba new file mode 100644 index 00000000000..f5bc4fae282 --- /dev/null +++ b/emulators/wine-devel/patches/patch-ba @@ -0,0 +1,16 @@ +$NetBSD: patch-ba,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- configure.orig 2008-07-11 17:55:55.000000000 +0200 ++++ configure +@@ -16726,6 +16726,11 @@ MAIN_BINARY="wine-pthread" + + EXTRA_BINARIES="wine-pthread" + ;; ++ netbsd*) ++ MAIN_BINARY="wine-kthread" ++ ++ EXTRA_BINARIES="wine-pthread" ++ ;; + esac + ;; + esac diff --git a/emulators/wine-devel/patches/patch-bb b/emulators/wine-devel/patches/patch-bb new file mode 100644 index 00000000000..12bad634693 --- /dev/null +++ b/emulators/wine-devel/patches/patch-bb @@ -0,0 +1,19 @@ +$NetBSD: patch-bb,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- loader/kthread.c.orig 2008-06-17 10:07:31.000000000 -0400 ++++ loader/kthread.c 2008-06-27 07:32:03.000000000 -0400 +@@ -115,6 +115,14 @@ + pthread_descr descr = __pthread_thread_self(); + return &descr->thread_errno; + } ++ ++#ifdef __errno ++#undef __errno ++#endif ++#ifdef ___errno ++#undef ___errno ++#endif ++ + int *__error(void) { return __errno_location(); } /* FreeBSD */ + int *__errno(void) { return __errno_location(); } /* NetBSD */ + int *___errno(void) { return __errno_location(); } /* Solaris */ diff --git a/emulators/wine-devel/patches/patch-bc b/emulators/wine-devel/patches/patch-bc new file mode 100644 index 00000000000..d92076eed9d --- /dev/null +++ b/emulators/wine-devel/patches/patch-bc @@ -0,0 +1,32 @@ +$NetBSD: patch-bc,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/wineoss.drv/audio.c.orig 2008-06-26 22:44:15.000000000 -0400 ++++ dlls/wineoss.drv/audio.c 2008-06-26 22:45:02.000000000 -0400 +@@ -75,6 +75,12 @@ + + #include "audio.h" + ++#ifdef __NetBSD__ ++#define SOUND_DEV "/dev/sound" ++#else ++#define SOUND_DEV "/dev/dsp" ++#endif ++ + WINE_DEFAULT_DEBUG_CHANNEL(wave); + + /* Allow 1% deviation for sample rates (some ES137x cards) */ +@@ -1167,12 +1173,12 @@ + } + else + { +- WOutDev[0].ossdev.dev_name = WInDev[0].ossdev.dev_name = StrDup("/dev/dsp",NULL); ++ WOutDev[0].ossdev.dev_name = WInDev[0].ossdev.dev_name = StrDup(SOUND_DEV,NULL); + WOutDev[0].ossdev.mixer_name = WInDev[0].ossdev.mixer_name = StrDup("/dev/mixer",NULL); + for (i = 1; i < MAX_WAVEDRV; ++i) + { + WOutDev[i].ossdev.dev_name = WInDev[i].ossdev.dev_name = HeapAlloc(GetProcessHeap(),0,11); +- sprintf(WOutDev[i].ossdev.dev_name, "/dev/dsp%d", i); ++ sprintf(WOutDev[i].ossdev.dev_name, SOUND_DEV "%d", i); + WOutDev[i].ossdev.mixer_name = WInDev[i].ossdev.mixer_name = HeapAlloc(GetProcessHeap(),0,13); + sprintf(WOutDev[i].ossdev.mixer_name, "/dev/mixer%d", i); + } diff --git a/emulators/wine-devel/patches/patch-ca b/emulators/wine-devel/patches/patch-ca new file mode 100644 index 00000000000..7b2919b9420 --- /dev/null +++ b/emulators/wine-devel/patches/patch-ca @@ -0,0 +1,21 @@ +$NetBSD: patch-ca,v 1.1.1.1 2008/11/21 17:40:31 adam Exp $ + +--- dlls/winex11.drv/settings.c.orig 2008-06-27 11:42:50.000000000 -0400 ++++ dlls/winex11.drv/settings.c 2008-06-27 11:43:40.000000000 -0400 +@@ -431,6 +431,16 @@ + return DISP_CHANGE_SUCCESSFUL; + } + ++ if (devmode->dmPelsWidth == 800 && devmode->dmPelsHeight == 600) ++ { ++ DEVMODEW newdm = *devmode; ++ ++ ERR("800x600 not available, trying 800x480\n"); ++ newdm.dmPelsWidth = 800; ++ newdm.dmPelsHeight = 480; ++ return X11DRV_ChangeDisplaySettingsEx(devname, &newdm, hwnd, flags, lpvoid); ++ } ++ + /* no valid modes found */ + ERR("No matching mode found %ux%ux%u @%u! (%s)\n", + devmode->dmPelsWidth, devmode->dmPelsHeight, |