pkgsrc/games/mirrormagic/patches/patch-ab
wiz 29cd175204 Update to 2.0.1, provided by Adam Ciarcinski, with minor fixes.
Changes:
	- icon for Windows executable added
	- bug when selecting default level series fixed
	- new IFF style file format for level files
	- fullscreen mode now works with Windows (workaround for bug in SDL)
	- /dev/dsp support for NetBSD added (thanks to Krister Walfridsson)
	- file permissions when saving files and creating directories changed
	- some small sound bugs fixed
2002-09-11 23:43:41 +00:00

22 lines
523 B
Text

$NetBSD: patch-ab,v 1.4 2002/09/11 23:43:42 wiz Exp $
--- src/Makefile.orig Tue Mar 19 02:58:57 2002
+++ src/Makefile Thu Mar 28 11:34:15 2002
@@ -17,7 +17,7 @@
XINC_PATH = $(X11_PATH)/include
XLIB_PATH = $(X11_PATH)/lib
X11_INCL = -I$(XINC_PATH)
-X11_LIBS = -L$(XLIB_PATH)
+X11_LIBS = -L$(XLIB_PATH) -Wl,-R$(XLIB_PATH)
endif
AR = ar
@@ -112,7 +112,7 @@
OPTIONS = -O3 -Wall
endif
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG)
+CFLAGS += $(SYS_CFLAGS) $(CONFIG)
LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm