pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/ioquake3



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Sat Jan 25 20:13:50 UTC 2020

Modified Files:
        pkgsrc/games/ioquake3: Makefile PLIST distinfo
        pkgsrc/games/ioquake3/patches: patch-aa patch-ac
            patch-code_tools_lcc_cpp_unix.c
Removed Files:
        pkgsrc/games/ioquake3/patches: patch-ab patch-ad

Log Message:
Update ioquake3 to 1.36.20200125 (latest from Github).

The project seems to no longer do official releases.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/games/ioquake3/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/ioquake3/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/ioquake3/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/ioquake3/patches/patch-aa
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/games/ioquake3/patches/patch-ab
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/ioquake3/patches/patch-ac
cvs rdiff -u -r1.2 -r0 pkgsrc/games/ioquake3/patches/patch-ad
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/ioquake3/Makefile
diff -u pkgsrc/games/ioquake3/Makefile:1.8 pkgsrc/games/ioquake3/Makefile:1.9
--- pkgsrc/games/ioquake3/Makefile:1.8  Sat Jan 25 16:07:15 2020
+++ pkgsrc/games/ioquake3/Makefile      Sat Jan 25 20:13:49 2020
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2020/01/25 16:07:15 jmcneill Exp $
+# $NetBSD: Makefile,v 1.9 2020/01/25 20:13:49 jmcneill Exp $
 #
 
-DISTNAME=      ioquake3-1.36
-PKGREVISION=   3
+DISTNAME=      ioquake3-1.36.20200125
 CATEGORIES=    games
-MASTER_SITES=  http://ioquake3.org/files/1.36/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ioquake/}
+GITHUB_PROJECT=        ioq3
+GITHUB_TAG=    daae32ddfdab2172a628072ed3ff7dd1fc1563fe
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.ioquake3.org/
@@ -21,8 +21,10 @@ do-install:
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "NetBSD" && ${MACHINE:U} == "evbarm"
+.if ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm"
 QUAKE_ARCH!=   uname -m
+.elif ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "aarch64"
+QUAKE_ARCH=    ${MACHINE_CPU}
 .else
 QUAKE_ARCH=    ${MACHINE_ARCH}
 .endif
@@ -34,6 +36,7 @@ NOT_PAX_MPROTECT_SAFE+=       lib/ioquake3/ioq
 NOT_PAX_MPROTECT_SAFE+=        lib/ioquake3/ioquake3.${QUAKE_ARCH}
 
 .include "../../audio/openal-soft/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/games/ioquake3/PLIST
diff -u pkgsrc/games/ioquake3/PLIST:1.3 pkgsrc/games/ioquake3/PLIST:1.4
--- pkgsrc/games/ioquake3/PLIST:1.3     Sat Apr 18 20:44:08 2015
+++ pkgsrc/games/ioquake3/PLIST Sat Jan 25 20:13:49 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2015/04/18 20:44:08 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/01/25 20:13:49 jmcneill Exp $
 lib/ioquake3/baseq3/cgame${QUAKE_ARCH}.so
 lib/ioquake3/baseq3/qagame${QUAKE_ARCH}.so
 lib/ioquake3/baseq3/ui${QUAKE_ARCH}.so
@@ -7,3 +7,5 @@ lib/ioquake3/ioquake3.${QUAKE_ARCH}
 lib/ioquake3/missionpack/cgame${QUAKE_ARCH}.so
 lib/ioquake3/missionpack/qagame${QUAKE_ARCH}.so
 lib/ioquake3/missionpack/ui${QUAKE_ARCH}.so
+lib/ioquake3/renderer_opengl1_${QUAKE_ARCH}.so
+lib/ioquake3/renderer_opengl2_${QUAKE_ARCH}.so

Index: pkgsrc/games/ioquake3/distinfo
diff -u pkgsrc/games/ioquake3/distinfo:1.7 pkgsrc/games/ioquake3/distinfo:1.8
--- pkgsrc/games/ioquake3/distinfo:1.7  Sat Jan 25 16:07:15 2020
+++ pkgsrc/games/ioquake3/distinfo      Sat Jan 25 20:13:49 2020
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.7 2020/01/25 16:07:15 jmcneill Exp $
+$NetBSD: distinfo,v 1.8 2020/01/25 20:13:49 jmcneill Exp $
 
-SHA1 (ioquake3-1.36.tar.bz2) = 0f92891e2b174253d02f666fd22e147c886089b4
-RMD160 (ioquake3-1.36.tar.bz2) = af9f65bbde2fe5531fa371ec6d2023126a523293
-SHA512 (ioquake3-1.36.tar.bz2) = fdd8e0ab56966cdc614eff45ab478b87255cfb1b50ba10b3141bcfcc569fc620d281de93333d39119b2d7b43aac3900ecf826a0459fc89bb2f57e30ae2425645
-Size (ioquake3-1.36.tar.bz2) = 3503058 bytes
-SHA1 (patch-aa) = c259a5261704d3b71824de60667cdc4287fe7ae7
-SHA1 (patch-ab) = 7808f9c26160ae1931c96fe1bc5e898b69afbde2
-SHA1 (patch-ac) = 4631bdda582aa105b661f45e09e0d5eb68713978
-SHA1 (patch-ad) = 577ca1c8fab64289d6f91e9e02542094cf7f2800
-SHA1 (patch-code_tools_lcc_cpp_unix.c) = 7d9e4bf34dd0c6df0c0267449d3365604d972fdd
+SHA1 (ioquake3-1.36.20200125-daae32ddfdab2172a628072ed3ff7dd1fc1563fe.tar.gz) = 791bc69ea853ced457134ed4759a76b40cd0e008
+RMD160 (ioquake3-1.36.20200125-daae32ddfdab2172a628072ed3ff7dd1fc1563fe.tar.gz) = 10c18309b358b0b091073f96c3ddaeb7c1535aa5
+SHA512 (ioquake3-1.36.20200125-daae32ddfdab2172a628072ed3ff7dd1fc1563fe.tar.gz) = 
689a0efa6eaf88fcf98616c100df625b77617c55e351455cc25727fea525748855c58e2288f04d86372d392a556f2ef4926e2c808f75e104ac328baa9458c4d1
+Size (ioquake3-1.36.20200125-daae32ddfdab2172a628072ed3ff7dd1fc1563fe.tar.gz) = 7691640 bytes
+SHA1 (patch-aa) = b146df4f36fc7f9e0bfece50bd154c24e507dc2f
+SHA1 (patch-ac) = dc32068082c3493eb503811c2577b8fadb2745d3
+SHA1 (patch-code_tools_lcc_cpp_unix.c) = e80699461d92b9a659c88c0f5d66580ecf237f5f

Index: pkgsrc/games/ioquake3/patches/patch-aa
diff -u pkgsrc/games/ioquake3/patches/patch-aa:1.4 pkgsrc/games/ioquake3/patches/patch-aa:1.5
--- pkgsrc/games/ioquake3/patches/patch-aa:1.4  Sat Jan 25 16:07:15 2020
+++ pkgsrc/games/ioquake3/patches/patch-aa      Sat Jan 25 20:13:49 2020
@@ -1,17 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2020/01/25 16:07:15 jmcneill Exp $
+$NetBSD: patch-aa,v 1.5 2020/01/25 20:13:49 jmcneill Exp $
 
---- code/qcommon/q_platform.h.orig     2009-03-02 17:29:30.000000000 +0000
+--- code/qcommon/q_platform.h.orig     2019-12-07 13:16:15.000000000 +0000
 +++ code/qcommon/q_platform.h
-@@ -163,6 +163,8 @@ Foundation, Inc., 51 Franklin St, Fifth 
- #define ARCH_STRING "mips"
- #elif defined __sh__
- #define ARCH_STRING "sh"
-+#elif defined __arm__
-+#define ARCH_STRING "arm"
- #endif
- 
- #if __FLOAT_WORD_ORDER == __BIG_ENDIAN
-@@ -177,7 +179,7 @@ Foundation, Inc., 51 Franklin St, Fifth 
+@@ -201,7 +201,7 @@ Foundation, Inc., 51 Franklin St, Fifth 
  
  //=================================================================== BSD ===
  
@@ -20,7 +11,7 @@ $NetBSD: patch-aa,v 1.4 2020/01/25 16:07
  
  #include <sys/types.h>
  #include <machine/endian.h>
-@@ -192,6 +194,8 @@ Foundation, Inc., 51 Franklin St, Fifth 
+@@ -216,6 +216,8 @@ Foundation, Inc., 51 Franklin St, Fifth 
  #define OS_STRING "openbsd"
  #elif defined(__NetBSD__)
  #define OS_STRING "netbsd"
@@ -29,12 +20,10 @@ $NetBSD: patch-aa,v 1.4 2020/01/25 16:07
  #endif
  
  #define ID_INLINE inline
-@@ -201,6 +205,12 @@ Foundation, Inc., 51 Franklin St, Fifth 
- #define ARCH_STRING "i386"
+@@ -229,6 +231,10 @@ Foundation, Inc., 51 Franklin St, Fifth 
+ #define ARCH_STRING "x86_64"
  #elif defined __axp__
  #define ARCH_STRING "alpha"
-+#elif defined __x86_64__
-+#define ARCH_STRING "x86_64"
 +#elif defined __arm__
 +#define ARCH_STRING "arm"
 +#elif defined __aarch64__

Index: pkgsrc/games/ioquake3/patches/patch-ac
diff -u pkgsrc/games/ioquake3/patches/patch-ac:1.3 pkgsrc/games/ioquake3/patches/patch-ac:1.4
--- pkgsrc/games/ioquake3/patches/patch-ac:1.3  Mon Oct 28 23:45:59 2013
+++ pkgsrc/games/ioquake3/patches/patch-ac      Sat Jan 25 20:13:49 2020
@@ -1,298 +1,58 @@
-$NetBSD: patch-ac,v 1.3 2013/10/28 23:45:59 joerg Exp $
+$NetBSD: patch-ac,v 1.4 2020/01/25 20:13:49 jmcneill Exp $
 
---- Makefile.orig      2009-04-22 18:54:48.000000000 +0000
+--- Makefile.orig      2019-12-07 13:16:15.000000000 +0000
 +++ Makefile
-@@ -261,16 +261,13 @@ ifeq ($(PLATFORM),linux)
-   OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
+@@ -11,6 +11,13 @@ ifeq ($(COMPILE_PLATFORM),sunos)
+   COMPILE_ARCH=$(shell uname -p | sed -e 's/i.86/x86/')
+ endif
+ 
++ifeq ($(COMPILE_PLATFORM),netbsd)
++  COMPILE_CPU=$(shell uname -p)
++  ifeq ($(COMPILE_CPU),aarch64)
++    COMPILE_ARCH=$(COMPILE_CPU)
++  endif
++endif
++
+ ifndef BUILD_STANDALONE
+   BUILD_STANDALONE =
+ endif
+@@ -850,11 +857,38 @@ ifeq ($(PLATFORM),netbsd)
  
-   ifeq ($(ARCH),x86_64)
--    OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops \
--      -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
--      -fstrength-reduce
-+    OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops
-     # experimental x86_64 jit compiler! you need GNU as
-     HAVE_VM_COMPILED = true
-   else
-   ifeq ($(ARCH),i386)
-     OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
--      -funroll-loops -falign-loops=2 -falign-jumps=2 \
--      -falign-functions=2 -fstrength-reduce
-+      -funroll-loops
-     HAVE_VM_COMPILED=true
-   else
-   ifeq ($(ARCH),ppc)
-@@ -457,10 +454,7 @@ ifeq ($(PLATFORM),mingw32)
-     BASE_CFLAGS += -DUSE_CODEC_VORBIS
-   endif
+   BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
  
--  OPTIMIZE = -O3 -march=i586 -fno-omit-frame-pointer -ffast-math \
--    -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 \
--    -fstrength-reduce
--
-+  OPTIMIZE = -O3 -march=i586 -fno-omit-frame-pointer -ffast-math
-   HAVE_VM_COMPILED = true
- 
-   SHLIBEXT=dll
-@@ -550,8 +544,7 @@ ifeq ($(PLATFORM),freebsd)
-   ifeq ($(ARCH),i386)
-     RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro \
-       -march=pentium -fomit-frame-pointer -pipe -ffast-math \
--      -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
--      -funroll-loops -fstrength-reduce
-+      -funroll-loops
-     HAVE_VM_COMPILED=true
-   else
-     BASE_CFLAGS += -DNO_VM_COMPILED
-@@ -611,8 +604,7 @@ ifeq ($(PLATFORM),openbsd)
-   BASE_CFLAGS += -DNO_VM_COMPILED -I/usr/X11R6/include -I/usr/local/include
-   RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 \
-     -march=pentium -fomit-frame-pointer -pipe -ffast-math \
--    -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
--    -funroll-loops -fstrength-reduce
-+    -funroll-loops
-   HAVE_VM_COMPILED=false
- 
-   DEBUG_CFLAGS=$(BASE_CFLAGS) -g
-@@ -648,28 +640,211 @@ ifeq ($(PLATFORM),netbsd)
- 
-   ifeq ($(shell uname -m),i386)
-     ARCH=i386
-+  else
-+  ifeq ($(shell uname -m),amd64)
-+    ARCH=x86_64
-+  endif
-+  endif
-+
-+  USE_MUMBLE=0
-+
-+  BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-+    -pipe -DUSE_ICON $(shell sdl-config --cflags)
-+
-+  ifeq ($(USE_OPENAL),1)
-+    BASE_CFLAGS += -DUSE_OPENAL
-+    ifeq ($(USE_OPENAL_DLOPEN),1)
-+      BASE_CFLAGS += -DUSE_OPENAL_DLOPEN
-+    endif
-+  endif
-+
-+  ifeq ($(USE_CURL),1)
-+    BASE_CFLAGS += -DUSE_CURL
-+    ifeq ($(USE_CURL_DLOPEN),1)
-+      BASE_CFLAGS += -DUSE_CURL_DLOPEN
-+    endif
-+  endif
-+
-+  ifeq ($(USE_CODEC_VORBIS),1)
-+    BASE_CFLAGS += -DUSE_CODEC_VORBIS
-+  endif
-+
-+  OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
++  OPTIMIZEVM = -O3
++  OPTIMIZE = $(OPTIMIZEVM) -ffast-math
 +
 +  ifeq ($(ARCH),x86_64)
-+    OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops
-+    # experimental x86_64 jit compiler! you need GNU as
-+    HAVE_VM_COMPILED = true
-+  else
-+  ifeq ($(ARCH),i386)
-+    OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
-+      -funroll-loops
 +    HAVE_VM_COMPILED=true
 +  else
-+  ifeq ($(ARCH),ppc)
-+    BASE_CFLAGS += -maltivec
-+    HAVE_VM_COMPILED=true
-+  endif
-+  ifeq ($(ARCH),ppc64)
-+    BASE_CFLAGS += -maltivec
-+    HAVE_VM_COMPILED=true
-+  endif
-+  endif
-+  endif
-+
-+  ifneq ($(HAVE_VM_COMPILED),true)
-+    BASE_CFLAGS += -DNO_VM_COMPILED
+   ifeq ($(ARCH),x86)
+     HAVE_VM_COMPILED=true
    endif
- 
--  LIBS=-lm
-   SHLIBEXT=so
-   SHLIBCFLAGS=-fPIC
-   SHLIBLDFLAGS=-shared $(LDFLAGS)
++  endif
 +
-   THREAD_LIBS=-lpthread
-+  LIBS=-lm
- 
--  BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
-+  CLIENT_LIBS=$(shell sdl-config --libs) -lGL
- 
--  ifneq ($(ARCH),i386)
--    BASE_CFLAGS += -DNO_VM_COMPILED
-+  ifeq ($(USE_OPENAL),1)
-+    ifneq ($(USE_OPENAL_DLOPEN),1)
-+      CLIENT_LIBS += -lopenal
-+    endif
-   endif
- 
--  DEBUG_CFLAGS=$(BASE_CFLAGS) -g
 +  ifeq ($(USE_CURL),1)
-+    ifneq ($(USE_CURL_DLOPEN),1)
-+      CLIENT_LIBS += -lcurl
-+    endif
++    CLIENT_CFLAGS += $(CURL_CFLAGS)
++    USE_CURL_DLOPEN=0
 +  endif
  
 -  BUILD_CLIENT = 0
--  BUILD_GAME_QVM = 0
-+  ifeq ($(USE_CODEC_VORBIS),1)
-+    CLIENT_LIBS += -lvorbisfile -lvorbis -logg
-+  endif
-+
-+  ifeq ($(USE_MUMBLE),1)
-+    CLIENT_LIBS += -lrt
-+  endif
-+
-+  ifeq ($(USE_LOCAL_HEADERS),1)
-+    BASE_CFLAGS += -I$(SDLHDIR)/include
-+  endif
-+
-+  ifeq ($(ARCH),i386)
-+    # linux32 make ...
-+    BASE_CFLAGS += -m32
-+  else
-+  ifeq ($(ARCH),ppc64)
-+    BASE_CFLAGS += -m64
-+  endif
-+  endif
++  CLIENT_LIBS =
 +
-+  DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0
-+  RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE)
- 
- else # ifeq netbsd
- 
- #############################################################################
-+# SETUP AND BUILD -- DRAGONFLY
-+#############################################################################
-+
-+ifeq ($(PLATFORM),dragonfly)
-+
-+  ifeq ($(shell uname -m),i386)
-+    ARCH=i386
-+  else
-+  ifeq ($(shell uname -m),amd64)
-+    ARCH=x86_64
-+  endif
-+  endif
-+
-+  USE_MUMBLE=0
-+
-+  BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-+    -pipe -DUSE_ICON $(shell sdl-config --cflags)
-+
-+  ifeq ($(USE_OPENAL),1)
-+    BASE_CFLAGS += -DUSE_OPENAL
-+    ifeq ($(USE_OPENAL_DLOPEN),1)
-+      BASE_CFLAGS += -DUSE_OPENAL_DLOPEN
-+    endif
-+  endif
-+
-+  ifeq ($(USE_CURL),1)
-+    BASE_CFLAGS += -DUSE_CURL
-+    ifeq ($(USE_CURL_DLOPEN),1)
-+      BASE_CFLAGS += -DUSE_CURL_DLOPEN
-+    endif
-+  endif
-+
-+  ifeq ($(USE_CODEC_VORBIS),1)
-+    BASE_CFLAGS += -DUSE_CODEC_VORBIS
-+  endif
-+
-+  OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
-+
-+  ifeq ($(ARCH),x86_64)
-+    OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops
-+    # experimental x86_64 jit compiler! you need GNU as
-+    HAVE_VM_COMPILED = true
-+  else
-+  ifeq ($(ARCH),i386)
-+    OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
-+      -funroll-loops
-+    HAVE_VM_COMPILED=true
-+  endif
-+  endif
-+
-+  ifneq ($(HAVE_VM_COMPILED),true)
-+    BASE_CFLAGS += -DNO_VM_COMPILED
-+  endif
-+
-+  SHLIBEXT=so
-+  SHLIBCFLAGS=-fPIC
-+  SHLIBLDFLAGS=-shared $(LDFLAGS)
-+
-+  THREAD_LIBS=-lpthread
-+  LIBS=-lm
-+  CLIENT_LIBS = $(shell sdl-config --libs) -lGL
++  CLIENT_LIBS += $(SDL_LIBS)
++  RENDERER_LIBS = $(SDL_LIBS)
 +
 +  ifeq ($(USE_OPENAL),1)
 +    ifneq ($(USE_OPENAL_DLOPEN),1)
-+      CLIENT_LIBS += -lopenal
++      CLIENT_LIBS += $(THREAD_LIBS) $(OPENAL_LIBS)
 +    endif
 +  endif
 +
 +  ifeq ($(USE_CURL),1)
 +    ifneq ($(USE_CURL_DLOPEN),1)
-+      CLIENT_LIBS += -lcurl
++      CLIENT_LIBS += $(CURL_LIBS)
 +    endif
 +  endif
-+
-+  ifeq ($(USE_CODEC_VORBIS),1)
-+    CLIENT_LIBS += -lvorbisfile -lvorbis -logg
-+  endif
-+
-+  ifeq ($(USE_MUMBLE),1)
-+    CLIENT_LIBS += -lrt
-+  endif
-+
-+  ifeq ($(USE_LOCAL_HEADERS),1)
-+    BASE_CFLAGS += -I$(SDLHDIR)/include
-+  endif
-+
-+  ifeq ($(ARCH),i386)
-+    # linux32 make ...
-+    BASE_CFLAGS += -m32
-+  else
-+  ifeq ($(ARCH),ppc64)
-+    BASE_CFLAGS += -m64
-+  endif
-+  endif
-+
-+  DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0
-+  RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE)
-+
-+else # ifeq dragonfly
-+
-+#############################################################################
- # SETUP AND BUILD -- IRIX
- #############################################################################
- 
-@@ -727,14 +902,12 @@ ifeq ($(PLATFORM),sunos)
- 
-   ifeq ($(ARCH),sparc)
-     OPTIMIZE = -O3 -ffast-math \
--      -fstrength-reduce -falign-functions=2 \
-       -mtune=ultrasparc3 -mv8plus -mno-faster-structs \
-       -funroll-loops #-mv8plus
-   else
-   ifeq ($(ARCH),i386)
-     OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
--      -funroll-loops -falign-loops=2 -falign-jumps=2 \
--      -falign-functions=2 -fstrength-reduce
-+      -funroll-loops
-     HAVE_VM_COMPILED=true
-     BASE_CFLAGS += -m32
-     BASE_CFLAGS += -I/usr/X11/include/NVIDIA
-@@ -780,6 +953,7 @@ endif #mingw32
- endif #FreeBSD
- endif #OpenBSD
- endif #NetBSD
-+endif #DragonFly
- endif #IRIX
- endif #SunOS
+ else # ifeq netbsd
  
+ #############################################################################

Index: pkgsrc/games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c
diff -u pkgsrc/games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c:1.1 pkgsrc/games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c:1.2
--- pkgsrc/games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c:1.1   Sat Jan 25 16:07:15 2020
+++ pkgsrc/games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c       Sat Jan 25 20:13:50 2020
@@ -1,15 +1,15 @@
-$NetBSD: patch-code_tools_lcc_cpp_unix.c,v 1.1 2020/01/25 16:07:15 jmcneill Exp $
+$NetBSD: patch-code_tools_lcc_cpp_unix.c,v 1.2 2020/01/25 20:13:50 jmcneill Exp $
 
 Use built-in memmove on NetBSD.
 
---- code/tools/lcc/cpp/unix.c.orig     2008-04-23 17:39:39.000000000 +0000
+--- code/tools/lcc/cpp/unix.c.orig     2020-01-25 19:19:26.823146950 +0000
 +++ code/tools/lcc/cpp/unix.c
-@@ -99,7 +99,7 @@ char *basepath( char *fname )
- /* memmove is defined here because some vendors don't provide it at
+@@ -106,7 +106,7 @@ char *basepath( char *fname )
     all and others do a terrible job (like calling malloc) */
  // -- ouch, that hurts -- ln
--#ifndef MACOS_X   /* always use the system memmove() on Mac OS X. --ryan. */
-+#if !defined(MACOS_X) && !defined(__NetBSD__)   /* always use the system memmove() */
+ /* always use the system memmove() on Mac OS X. --ryan. */
+-#if !defined(__APPLE__) && !defined(_MSC_VER)
++#if !defined(__APPLE__) && !defined(_MSC_VER) && !defined(__NetBSD__)
  #ifdef memmove
  #undef memmove
  #endif



Home | Main Index | Thread Index | Old Index