Hi,

  I realized I hadn't cleaned up the Makefile properly. Anyway,
here is a fixed version of the patch.

  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    10 Feb 2021 08:12:08 -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}
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    10 Feb 2021 08:12:08 -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      10 Feb 2021 08:12:08 -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

Reply via email to