Date: Mon, 6 Jan 2003 22:35:53 +0100 From: Miguel Mendez <flynn@energyhq.homeip.net> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/46803: Unbreak emulators/basiliskII on 5.0 Message-ID: <20030106223553.71f7b51d.flynn@energyhq.homeip.net> In-Reply-To: <200301061530.h06FU2rt095537@freefall.freebsd.org> References: <200301061525.h06FPPUW062387@christine.energyhq.tk> <200301061530.h06FU2rt095537@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 Jan 2003 07:30:02 -0800 (PST) FreeBSD-gnats-submit@FreeBSD.org wrote: Please, use this diff instead, --enable-fpe=uae is needed, otherwise BasiliskII segfaults as soon as it tries to initialize the fpu. diff -ruN basiliskII.old/Makefile basiliskII/Makefile --- basiliskII.old/Makefile Fri Aug 30 15:41:05 2002 +++ basiliskII/Makefile Mon Jan 6 22:29:05 2003 @@ -14,7 +14,7 @@ MAINTAINER= sobomax@FreeBSD.org -LIB_DEPENDS= lthread.2:${PORTSDIR}/devel/linuxthreads +LIB_DEPENDS= lthread.3:${PORTSDIR}/devel/linuxthreads WRKSRC= ${WRKDIR}/BasiliskII-${PORTVERSION}/src/Unix @@ -23,7 +23,7 @@ USE_GNOME= esound gtk12 GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ARGS= --disable-fbdev-dga +CONFIGURE_ARGS= --disable-fbdev-dga --enable-fpe=uae CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include/pthread/linuxthreads diff -ruN basiliskII.old/files/patch-ab basiliskII/files/patch-ab --- basiliskII.old/files/patch-ab Thu Jan 1 01:00:00 1970 +++ basiliskII/files/patch-ab Mon Jan 6 16:05:46 2003 @@ -0,0 +1,11 @@ +--- audio_oss_esd.cpp.orig Mon Jan 6 16:02:10 2003 ++++ audio_oss_esd.cpp Mon Jan 6 16:02:27 2003 +@@ -31,7 +31,7 @@ + #endif + + #ifdef __FreeBSD__ +-#include <machine/soundcard.h> ++#include <sys/soundcard.h> + #endif + + #include "cpu_emulation.h" diff -ruN basiliskII.old/files/patch-ac basiliskII/files/patch-ac --- basiliskII.old/files/patch-ac Thu Jan 1 01:00:00 1970 +++ basiliskII/files/patch-ac Mon Jan 6 16:11:35 2003 @@ -0,0 +1,11 @@ +--- Makefile.in.orig Mon Jan 6 16:11:17 2003 ++++ Makefile.in Mon Jan 6 16:11:07 2003 +@@ -107,7 +107,7 @@ + $(OBJ_DIR)/build68k: $(OBJ_DIR)/build68k.o + $(CC) $(LDFLAGS) -o $(OBJ_DIR)/build68k $(OBJ_DIR)/build68k.o + $(OBJ_DIR)/gencpu: $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o +- $(CC) $(LDFLAGS) -o $(OBJ_DIR)/gencpu $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o ++ $(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencpu $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o + cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k + $(OBJ_DIR)/build68k <../uae_cpu/table68k >cpudefs.cpp + cpustbl.cpp: cpuemu.cpp -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Of course it runs NetBSD! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030106223553.71f7b51d.flynn>