> > You're right. > > > other than that it also looks good to me. > > > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/games/ioquake3/Makefile,v > retrieving revision 1.25 > diff -u -p -u -p -r1.25 Makefile > --- Makefile 12 Jul 2019 20:46:19 -0000 1.25 > +++ Makefile 1 Jun 2020 07:58:25 -0000 > @@ -1,7 +1,7 @@ > # $OpenBSD: Makefile,v 1.25 2019/07/12 20:46:19 sthen Exp $ > > BROKEN-i386= need to free up a register > -ONLY_FOR_ARCHS= amd64 i386 > +ONLY_FOR_ARCHS= amd64 i386 macppc > > COMMENT= clone of the original Quake III Arena > > @@ -33,7 +33,7 @@ ALL_TARGET= "release" > USE_GMAKE= Yes > NO_TEST= Yes > > -QUAKE_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/} > +QUAKE_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/:S/macppc/ppc/} > SUBST_VARS+= QUAKE_ARCH > > do-install: > Index: patches/patch-Makefile > =================================================================== > RCS file: /cvs/ports/games/ioquake3/patches/patch-Makefile,v > retrieving revision 1.2 > diff -u -p -u -p -r1.2 patch-Makefile > --- patches/patch-Makefile 16 Apr 2018 13:12:22 -0000 1.2 > +++ patches/patch-Makefile 1 Jun 2020 07:58:25 -0000 > @@ -3,7 +3,16 @@ $OpenBSD: patch-Makefile,v 1.2 2018/04/1 > Index: Makefile > --- Makefile.orig > +++ Makefile > -@@ -743,16 +743,16 @@ ifeq ($(PLATFORM),openbsd) > +@@ -4,7 +4,7 @@ > + # GNU Make required > + # > + COMPILE_PLATFORM=$(shell uname | sed -e 's/_.*//' | tr '[:upper:]' > '[:lower:]' | sed -e 's/\//_/g') > +-COMPILE_ARCH=$(shell uname -m | sed -e 's/i.86/x86/' | sed -e > 's/^arm.*/arm/') > ++COMPILE_ARCH=$(shell uname -m | sed -e 's/i.86/x86/' | sed -e > 's/macppc/ppc/' | sed -e 's/^arm.*/arm/') > + > + ifeq ($(COMPILE_PLATFORM),sunos) > + # Solaris uname and GNU uname differ > +@@ -769,16 +769,16 @@ ifeq ($(PLATFORM),openbsd) > -pipe -DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON > CLIENT_CFLAGS += $(SDL_CFLAGS) > > @@ -23,7 +32,7 @@ Index: Makefile > OPTIMIZE = $(OPTIMIZEVM) -ffast-math > HAVE_VM_COMPILED=true > else > -@@ -1525,7 +1525,6 @@ Q3CPPOBJ = \ > +@@ -1562,7 +1562,6 @@ Q3CPPOBJ = \ > $(B)/tools/cpp/eval.o \ > $(B)/tools/cpp/include.o \ > $(B)/tools/cpp/hideset.o \ > Index: patches/patch-code_qcommon_q_platform_h > =================================================================== > RCS file: patches/patch-code_qcommon_q_platform_h > diff -N patches/patch-code_qcommon_q_platform_h > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-code_qcommon_q_platform_h 1 Jun 2020 07:58:25 -0000 > @@ -0,0 +1,14 @@ > +$OpenBSD$ > + > +Index: code/qcommon/q_platform.h > +--- code/qcommon/q_platform.h.orig > ++++ code/qcommon/q_platform.h > +@@ -223,6 +223,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, > + > + #ifdef __i386__ > + #define ARCH_STRING "x86" > ++#elif defined __ppc__ > ++#define ARCH_STRING "ppc" > + #elif defined __amd64__ > + #undef idx64 > + #define idx64 1 > Index: pkg/README > =================================================================== > RCS file: /cvs/ports/games/ioquake3/pkg/README,v > retrieving revision 1.5 > diff -u -p -u -p -r1.5 README > --- pkg/README 4 Sep 2018 12:46:13 -0000 1.5 > +++ pkg/README 1 Jun 2020 07:58:25 -0000 > @@ -19,3 +19,44 @@ rcctl enable ioq3ded && rcctl set ioq3de > > For more information on the dedicated server see here: > http://wiki.ioquake3.org/Sys_Admin_Guide#Configuration_Files > + > +Macppc specifics > +================ > + > +Additional configuration may be required, as noted below. > + > +OpenGL renderer > +--------------- > + > +The opengl2 renderer is not available on many of the supported graphics cards > +and will prevent ioquake3 from starting with the default configuration. > +Specifiying seta cl_renderer "opengl1" in the config file will allow use of > the > +opengl1 renderer. > + > +16-bit textures > +--------------- > + > +Graphical issues occur when using 16-bit textures on the Radeon 9200, 9600, > and > +9700. 32-bit textures should be used if this happens. > + > +Radeon 9700 > +----------- > + > +Weapons and fonts will not appear without specifying seta r_hdr "0" in the > +config file. The Radeon 9200 and 9600 do not have this issue. > + > +Extensions should also be turned off by specifying seta r_allowExtensions "0" > +in the config file. > + > +Radeon 9200 > +----------- > + > +Fullscreen requires the X11 resolution to match the one specified in the > +ioquake3 config file. This has been tested in FVWM and Window Maker, and only > +Window Maker displays fullscreen correctly out of the 2. > + > +The fastest graphics preset should be used in ioquake3. Resolution can then > be > +modified from there for a playable game. > + > +The main menu in ioquake3 has poor performance that other parts of the game > do > +not suffer from. > > > >
Excellent, thank you @charlene!