pkgsrc/emulators/xmess/patches/patch-ab
kristerw cf1d4415f0 Update xmess to 0.95.
Changes since 0.90 includes:
- Everything from MAME 0.95 (http://x.mame.net/changes-mame.html) and
  MESS 0.95 (http://x.mame.net/changes-mess.html).
- Forcing Xv to use YV12 ("-force-yuv 2") no longer causes rotated
  games to segfault.  Fixes Bugzilla bug 679.
- Fixed the aspect ratio of the MESS SuperVision driver so that it's
  quadratic.  (PeT)
- Fixed several problems with the front-end "-list" commands: The MESS
  commands could segfault, some commands' headers were misaligned, and
  "-listpalettesize" was causing the ROM list to print.
- Worked around or fixed a double-free on exit in xmess.
- Fixed a segfault on startup that occurred when four or more joysticks
  devices were found.
- The SDL joystick driver now works with multiple joysticks attached.
- The SDL sound driver should produce much better output.  Also fixed a
  potential deadlock.
2005-04-02 20:57:10 +00:00

32 lines
1.1 KiB
Text

$NetBSD: patch-ab,v 1.20 2005/04/02 20:57:10 kristerw Exp $
--- src/unix/unix.mak.orig 2005-04-02 20:38:46.000000000 +0200
+++ src/unix/unix.mak 2005-04-02 20:50:17.000000000 +0200
@@ -258,7 +258,7 @@
$(COREDEFS) $(SOUNDDEFS) $(CPUDEFS) $(ASMDEFS) \
$(INCLUDES) $(INCLUDE_PATH)
-MY_LIBS = $(LIBS) $(LIBS.$(ARCH)) $(LIBS.$(DISPLAY_METHOD)) -lz
+MY_LIBS = $(LIBS.$(ARCH)) $(LIBS.$(DISPLAY_METHOD)) -lz -lexpat
ifdef SEPARATE_LIBM
MY_LIBS += -lm
@@ -578,15 +578,15 @@
romcmp: $(OBJ)/romcmp.o $(OBJ)/unzip.o $(ZLIB)
$(CC_COMMENT) @echo 'Linking $@...'
- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz -o $@
chdman: $(OBJ)/chdman.o $(OBJ)/chd.o $(OBJ)/chdcd.o $(OBJ)/cdrom.o $(OBJ)/md5.o $(OBJ)/sha1.o $(OBJ)/version.o $(ZLIB)
$(CC_COMMENT) @echo 'Linking $@...'
- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz -o $@
xml2info: $(OBJ)/xml2info.o $(EXPAT)
$(CC_COMMENT) @echo 'Linking $@...'
- $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
+ $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lexpat -lz -o $@
dat2html: $(DAT2HTML_OBJS)
$(CC_COMMENT) @echo 'Compiling $@...'