From fb2965d5c9e3daf9e736aaad3c51308f62c1d543 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Wed, 1 Nov 2006 11:23:57 +0000 Subject: - fix build on FreeBSD 6.x --- emulators/stonx/Makefile | 5 +++++ emulators/stonx/files/patch-audio.c | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 emulators/stonx/files/patch-audio.c (limited to 'emulators/stonx') diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile index c160e73e3f2a..91e253327d76 100644 --- a/emulators/stonx/Makefile +++ b/emulators/stonx/Makefile @@ -20,6 +20,7 @@ RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT} RESTRICTED= "tos.img is copyrighted" TOSIMG?= tos.img +#USE_XLIB= yes USE_X_PREFIX= yes HAS_CONFIGURE= yes @@ -87,4 +88,8 @@ IGNORE="Please get a ROM dump from your AtariST and save it as"\ "\"${TOSIMG}\" in \"${DISTDIR}\" manually, and then make install again" .endif +.if ${X_WINDOW_SYSTEM:L} == xorg +BUILD_DEPENDS+= ${X11BASE}/lib/X11/fonts/misc/fonts.alias:${PORTSDIR}/x11-fonts/xorg-fonts-miscbitmaps +.endif + .include diff --git a/emulators/stonx/files/patch-audio.c b/emulators/stonx/files/patch-audio.c new file mode 100644 index 000000000000..28a63044dd47 --- /dev/null +++ b/emulators/stonx/files/patch-audio.c @@ -0,0 +1,11 @@ +--- audio.c.orig Mon May 5 03:07:05 1997 ++++ audio.c Wed Oct 25 19:33:27 2006 +@@ -36,7 +36,7 @@ + #include + #endif + #else /* FreeBSD? */ +-#include ++#include + #endif + #include + #define LINUX_DEFAULT_FREQ (22050) -- cgit v1.2.3