Subject: Wine-991212
To: None <tech-pkg@netbsd.org>
From: Kazuki Sakamoto <sakamoto@cec.co.jp>
List: tech-pkg
Date: 12/17/1999 17:33:18
I've update wine-current for Wine-991212.
This version is able to compile even with i386-current/ELF.
But, doesn't work correctly :-(

Please test or fix this pkg.

sakamoto
--
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wine-current
#	wine-current/files
#	wine-current/files/patch-sum
#	wine-current/files/md5
#	wine-current/patches
#	wine-current/patches/patch-ac
#	wine-current/patches/patch-ae
#	wine-current/patches/patch-af
#	wine-current/patches/patch-ag
#	wine-current/pkg
#	wine-current/pkg/PLIST
#	wine-current/pkg/COMMENT
#	wine-current/pkg/DESCR
#	wine-current/pkg/MESSAGE
#	wine-current/Makefile
#
echo c - wine-current
mkdir -p wine-current > /dev/null 2>&1
echo c - wine-current/files
mkdir -p wine-current/files > /dev/null 2>&1
echo x - wine-current/files/patch-sum
sed 's/^X//' >wine-current/files/patch-sum << 'END-of-wine-current/files/patch-sum'
X$NetBSD$
X
XMD5 (patch-ac) = 4b06967d38636bdbd2701902bbd2ead2
XMD5 (patch-ae) = 7b0f197ed5cdb8d16938dee6ad96880c
XMD5 (patch-af) = c83bd273614d8be5c0d5ecb618dce12d
XMD5 (patch-ag) = 25b2f930df64157f9bee0eeee732d86d
END-of-wine-current/files/patch-sum
echo x - wine-current/files/md5
sed 's/^X//' >wine-current/files/md5 << 'END-of-wine-current/files/md5'
X$NetBSD$
X
XMD5 (Wine-991212.tar.gz) = 8bd88e0c3036a81b2f6995148bb2f0ac
END-of-wine-current/files/md5
echo c - wine-current/patches
mkdir -p wine-current/patches > /dev/null 2>&1
echo x - wine-current/patches/patch-ac
sed 's/^X//' >wine-current/patches/patch-ac << 'END-of-wine-current/patches/patch-ac'
X$NetBSD$
X
X+++ server/Makefile.in	Thu Dec 16 23:18:30 1999
X@@ -42,5 +42,5 @@
X 
X wineserver: $(OBJS) $(MAIN_OBJS)
X-	$(CC) -o $(PROGRAMS) $(OBJS) $(MAIN_OBJS) $(LIBS)
X+	$(CC) -o $(PROGRAMS) $(OBJS) $(MAIN_OBJS) $(LDOPTIONS) $(LIBS)
X 
X ### Dependencies:
END-of-wine-current/patches/patch-ac
echo x - wine-current/patches/patch-ae
sed 's/^X//' >wine-current/patches/patch-ae << 'END-of-wine-current/patches/patch-ae'
X$NetBSD$
X
X+++ dlls/dsound/dsound_main.c	Thu Dec 16 22:24:15 1999
X@@ -62,4 +62,7 @@
X #include <string.h>
X #include <math.h>	/* Insomnia - pow() function */
X+#ifdef __NetBSD__
X+#include <soundcard.h>
X+#endif
X #include "dsound.h"
X #include "winuser.h"
END-of-wine-current/patches/patch-ae
echo x - wine-current/patches/patch-af
sed 's/^X//' >wine-current/patches/patch-af << 'END-of-wine-current/patches/patch-af'
X$NetBSD$
X
X+++ dlls/winmm/wineoss/mixer.c	Thu Dec 16 22:33:25 1999
X@@ -15,4 +15,7 @@
X #include <fcntl.h>
X #include <sys/ioctl.h>
X+#ifdef __NetBSD__
X+#include <errno.h>
X+#endif
X #include "windef.h"
X #include "user.h"
END-of-wine-current/patches/patch-af
echo x - wine-current/patches/patch-ag
sed 's/^X//' >wine-current/patches/patch-ag << 'END-of-wine-current/patches/patch-ag'
X$NetBSD$
X
X+++ windows/x11drv/Makefile.in	Thu Dec 16 23:26:47 1999
X@@ -22,5 +22,5 @@
X 
X wineclipsrv: wineclipsrv.c
X-	$(CC) $(ALLCFLAGS) -o wineclipsrv $(SRCDIR)/wineclipsrv.c $(X_LIBS) $(XLIB) $(LIBS)
X+	$(CC) $(ALLCFLAGS) -o wineclipsrv $(SRCDIR)/wineclipsrv.c $(X_LIBS) $(XLIB) $(LDOPTIONS) $(LIBS)
X 
X @MAKE_RULES@
END-of-wine-current/patches/patch-ag
echo c - wine-current/pkg
mkdir -p wine-current/pkg > /dev/null 2>&1
echo x - wine-current/pkg/PLIST
sed 's/^X//' >wine-current/pkg/PLIST << 'END-of-wine-current/pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/15 20:50:47 tv Exp $
Xbin/dosmod
Xbin/wine
Xbin/wineclipsrv
Xbin/wineserver
Xetc/wine.conf.example
Xinclude/wine/windef.h
Xinclude/wine/windows.h
Xinclude/wine/wingdi.h
Xinclude/wine/winuser.h
Xlib/libwine.so.1.0
Xlib/wine.sym
Xman/man1/wine.1
Xman/man5/wine.conf.5
X@dirrm include/wine
END-of-wine-current/pkg/PLIST
echo x - wine-current/pkg/COMMENT
sed 's/^X//' >wine-current/pkg/COMMENT << 'END-of-wine-current/pkg/COMMENT'
XBeta Windows (3.1x, 95, NT) emulator
END-of-wine-current/pkg/COMMENT
echo x - wine-current/pkg/DESCR
sed 's/^X//' >wine-current/pkg/DESCR << 'END-of-wine-current/pkg/DESCR'
XWine is a program which allows running Microsoft Windows programs
X(including DOS, Windows 3.x and Win32 executables) on Unix.  It consists
Xof a program loader which loads and executes an Microsoft Windows binary,
Xand a library that implements Windows API calls using their Unix or X11
Xequivalents. The library may also be used for porting Win32 code into
Xnative Unix executables.
X
XWine is free software, and its license (contained in the file LICENSE) is
XBSD style.  Basically, you can do anything with it except claim that you
Xwrote it.
X
END-of-wine-current/pkg/DESCR
echo x - wine-current/pkg/MESSAGE
sed 's/^X//' >wine-current/pkg/MESSAGE << 'END-of-wine-current/pkg/MESSAGE'
X===========================================================================
X
XWine is capable of running most Win16 (Windows 3.11-compatible)
Xapplications under NetBSD 1.3 and 1.4.  It currently does not support
XWin32 applications, though it will do so under a later release of NetBSD.
X
X===========================================================================
END-of-wine-current/pkg/MESSAGE
echo x - wine-current/Makefile
sed 's/^X//' >wine-current/Makefile << 'END-of-wine-current/Makefile'
X# $NetBSD: Makefile,v 1.5 1999/08/27 15:28:47 agc Exp $
X
XDISTNAME=		Wine-991212
XPKGNAME=		wine-991212
XWRKSRC=			${WRKDIR}/${PKGNAME}
XCATEGORIES=		emulators
XMASTER_SITES=		${MASTER_SITE_SUNSITE:=ALPHA/wine/development/}
XONLY_FOR_PLATFORM=	NetBSD-*-i386
X
XMAINTAINER=		tv@netbsd.org
XHOMEPAGE=		http://www.winehq.com/
X
XDEPENDS+=		xpm-3.4k:../../graphics/xpm
XDEPENDS+=		ncurses-4.2:../../devel/ncurses
X
XUSE_X11=		yes
XUSE_GMAKE=		yes
XGNU_CONFIGURE=		yes
XCONFIGURE_ARGS=		--enable-dll
XCONFIGURE_ENV=		CC="${CC} -idirafter ${LOCALBASE}/include"
XMAKE_ENV+=		LDOPTIONS="${LDFLAGS}"
X
Xpost-install:
X	${INSTALL_DATA} ${WRKSRC}/wine.ini ${PREFIX}/etc/wine.conf.example
X
X.include "../../mk/bsd.pkg.mk"
END-of-wine-current/Makefile
exit