Subject: Re: wine trouble
To: Stephen Nelson <st3phen@paradise.net.nz>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-pkg
Date: 01/06/2004 21:43:52
--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Tue, Jan 06, 2004 at 01:58:18PM +0100, Thomas Klausner wrote:
> The updated patch does not work with the current wine package,
> because of "bash: /usr/pkg/bin/wine: Cannot allocate memory"
When I do an
ulimit -d 300000
before starting wine, and apply the attached patch to the
package, the current version (20031212) works too.
Not sure why the ulimit is necessary -- 300m is quite a lot
of memory.
Thomas
--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="wine.patch"
? wine.patch
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/wine/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile 3 Jan 2004 18:49:40 -0000 1.60
+++ Makefile 6 Jan 2004 20:43:26 -0000
@@ -32,6 +32,7 @@
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-curses #--disable-debug --disable-trace
+CONFIGURE_ARGS+= --without-opengl
CONFIGURE_ENV+= ac_cv_path_ARTSCCONFIG=${TRUE}
CONFIGURE_ENV+= ac_cv_prog_sane_devel=no
@@ -64,8 +65,8 @@
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
-.include "../../graphics/glut/buildlink2.mk"
+#.include "../../graphics/glu/buildlink2.mk"
+#.include "../../graphics/glut/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/libungif/buildlink2.mk"
.include "../../textproc/icu/buildlink2.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/wine/PLIST,v
retrieving revision 1.19
diff -u -r1.19 PLIST
--- PLIST 16 Dec 2003 11:10:47 -0000 1.19
+++ PLIST 6 Jan 2004 20:43:26 -0000
@@ -304,10 +304,7 @@
lib/wine/ctl3d.dll.so
lib/wine/ctl3d32.dll.so
lib/wine/ctl3dv2.dll.so
-lib/wine/d3d8.dll.so
-lib/wine/d3d9.dll.so
lib/wine/d3dim.dll.so
-lib/wine/d3dx8.dll.so
lib/wine/dciman32.dll.so
lib/wine/ddeml.dll.so
lib/wine/ddraw.dll.so
@@ -332,8 +329,8 @@
lib/wine/expand.exe.so
lib/wine/gdi.exe.so
lib/wine/gdi32.dll.so
-lib/wine/glu32.dll.so
-lib/wine/glut32.dll.so
+@comment lib/wine/glu32.dll.so
+@comment lib/wine/glut32.dll.so
lib/wine/icinfo.exe.so
lib/wine/icmp.dll.so
lib/wine/imaadp32.acm.so
@@ -500,7 +497,6 @@
lib/wine/olepro32.dll.so
lib/wine/olesvr.dll.so
lib/wine/olesvr32.dll.so
-lib/wine/opengl32.dll.so
lib/wine/progman.exe.so
lib/wine/psapi.dll.so
lib/wine/qcap.dll.so
@@ -555,7 +551,6 @@
lib/wine/wineboot.exe.so
lib/wine/winecfg.exe.so
lib/wine/wineconsole.exe.so
-lib/wine/wined3d.dll.so
lib/wine/winedbg.exe.so
lib/wine/winedos.dll.so
lib/wine/winefile.exe.so
--IS0zKkzwUGydFO0o--