Hi, Patch below is to update games/ezquake to v3.2.3. I've updated the patch for the Makefile to include ${X11BASE}/lib to LDFLAGS. It seemed like the most logical place to put it. If there's a better way let me know.
OK? Thanks, Tom Index: Makefile =================================================================== RCS file: /cvs/ports/games/ezquake/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 3 Oct 2020 14:58:48 -0000 1.10 +++ Makefile 9 Feb 2021 21:38:43 -0000 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.10 2020/10/03 14:58:48 solene Exp $ N = ezquake -V = 3.2.2 +V = 3.2.3 COMMENT = modern QuakeWorld client PKGNAME = ${N}-${V} @@ -17,7 +17,7 @@ MAINTAINER = Tom Murphy <openbsd@pertho. # GPLv2+ PERMIT_PACKAGE = Yes -WANTLIB += GL SDL2 c curl expat jansson jpeg m pcre png pthread +WANTLIB += SDL2 c curl expat jansson jpeg m pcre png pthread WANTLIB += speex speexdsp z LIB_DEPENDS = audio/speex \ @@ -32,6 +32,8 @@ USE_GMAKE = Yes MAKE_ENV = V=1 NO_TEST = Yes + +LDFLAGS += -L${X11BASE}/lib GAMEDIR = ${PREFIX}/share/ezquake SUBST_VARS += GAMEDIR Index: distinfo =================================================================== RCS file: /cvs/ports/games/ezquake/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo 3 Oct 2020 14:58:48 -0000 1.6 +++ distinfo 9 Feb 2021 21:38:43 -0000 @@ -1,2 +1,2 @@ -SHA256 (ezquake-source-3.2.2.tar.gz) = LKLEVbzdTNfDrJX6h6ik40Y6qGpdvg/RhXb42XkEJfo= -SIZE (ezquake-source-3.2.2.tar.gz) = 5759652 +SHA256 (ezquake-source-3.2.3.tar.gz) = 7FGHtHrYWc9Fk4Epbo0dVgBB/ZBGLb4KuJxl4yBnftQ= +SIZE (ezquake-source-3.2.3.tar.gz) = 5760982 Index: patches/patch-Makefile =================================================================== RCS file: /cvs/ports/games/ezquake/patches/patch-Makefile,v retrieving revision 1.2 diff -u -p -r1.2 patch-Makefile --- patches/patch-Makefile 18 May 2020 09:29:06 -0000 1.2 +++ patches/patch-Makefile 9 Feb 2021 21:38:43 -0000 @@ -1,10 +1,20 @@ $OpenBSD: patch-Makefile,v 1.2 2020/05/18 09:29:06 solene Exp $ Skip the architecture dance. +Add X11BASE/lib to LDFLAGS Index: Makefile --- Makefile.orig +++ Makefile +@@ -36,7 +36,7 @@ JSON2C ?= ./json2c.sh + + CFLAGS ?= -O2 -Wall -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-strict-aliasing -Werror=strict-prototypes -Werror=old-style-definition -g -MMD $(INCLUDES) + RCFLAGS ?= +-LDFLAGS ?= ++LDFLAGS ?= -L${X11BASE}/lib + LIBS ?= + + #Temporarily disable tree vectorization optimization enabled at O3 due to gcc bug @@ -379,7 +379,7 @@ endif ifdef CONFIG_WINDOWS TARG_c := ezquake.exe