Subject: pkg/31367
To: None <tech-pkg@NetBSD.org>
From: David Griffith <dgriffi@cs.csubak.edu>
List: tech-pkg
Date: 11/30/2005 16:57:10
I tried to get this into GNATS, but it didn't seem to go anywhere.
Would someone please help me out?

---------- Forwarded message ----------
Date: Mon, 28 Nov 2005 01:13:31 -0800 (PST)
From: David Griffith <dgriffi@cs.csubak.edu>
To: gnats-bugs@NetBSD.org
Cc: hauke@Espresso.Rhein-Neckar.DE
Subject: pkg/31367


patch-aa should be changed as follows.  However, Wine still won't
work, at least for me.  Anything I do gives this:

$ winemine
wine: failed to initialize: mmap of entire address space failed: Cannot
allocate memory

Anyhow, here's the patch:

--- Make.rules.in.orig  2005-11-28 00:24:48.000000000 -0800
+++ Make.rules.in       2005-11-28 00:25:11.000000000 -0800
@@ -25,7 +25,7 @@
 CC        = @CC@
 CFLAGS    = @CFLAGS@
 CPPFLAGS  = @CPPFLAGS@
-LIBS      = @LIBS@
+LIBS      = @LIBS@ -lcompat
 BISON     = @BISON@
 LEX       = @LEX@
 LEXLIB    = @LEXLIB@
@@ -109,7 +109,7 @@
 CLEAN_FILES     = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#*
*.bak *.
orig *.rej \
                   *.flc *.tab.c *.tab.h @LEX_OUTPUT_ROOT@.c core

-OBJS = $(C_SRCS:.c=.o) $(EXTRA_OBJS)
+OBJS = $(EXTRA_OBJS) $(C_SRCS:.c=.o)

 RCOBJS = $(RC_SRCS:.rc=.res.o)
 LINTS  = $(C_SRCS:.c=.ln)