Hi,
The games/qstat source has moved from Sourceforge to Github and has jumped
serveral
versions. The two patch files might be obsolete next version as I have a pull
request
in to incorporate those changes.
Thanks,
Tom
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/qstat/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 11 Mar 2013 11:07:40 -0000 1.9
+++ Makefile 17 Feb 2018 19:38:37 -0000
@@ -2,7 +2,11 @@
COMMENT= displays the status of multi-player Internet Game servers
-DISTNAME= qstat-2.11
+GH_ACCOUNT= multiplay
+GH_PROJECT= qstat
+GH_TAGNAME= v2.14
+
+DISTNAME= qstat-2.14
REVISION= 0
CATEGORIES= games
@@ -11,10 +15,22 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qstat/}
+BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
+ ${MODGNU_AUTOMAKE_DEPENDS}
+
+CONFIGURE_STYLE = gnu
+
+AUTOCONF_VERSION = 2.61
+AUTOMAKE_VERSION = 1.9
-CONFIGURE_STYLE=gnu
+MAKE_ENV = AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+ AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
+post-patch:
+ cd ${WRKSRC}; \
+ export AUTOCONF_VERSION=${AUTOCONF_VERSION}; \
+ export AUTOMAKE_VERSION=${AUTOMAKE_VERSION}; \
+ ./autogen.sh
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/qstat
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qstat
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/qstat/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 18 Jan 2015 03:14:01 -0000 1.5
+++ distinfo 17 Feb 2018 19:38:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (qstat-2.11.tar.gz) = FvDA9VVnWX1/LbUTaghYxW7/tEgaLIIaSM0EMupXIVA=
-SIZE (qstat-2.11.tar.gz) = 258335
+SHA256 (qstat-2.14.tar.gz) = rpBrdNTM6AV7WiZbdoWRAdqBBMKgfAXxGlH3yfAz74s=
+SIZE (qstat-2.14.tar.gz) = 210440
Index: patches/patch-utils_h
===================================================================
RCS file: patches/patch-utils_h
diff -N patches/patch-utils_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-utils_h 17 Feb 2018 19:38:37 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: utils.h
+--- utils.h.orig
++++ utils.h
+@@ -8,7 +8,7 @@
+ #define QSTAT_UTILS_H
+
+ // BSD has strnstr
+-#if defined(__FreeBSD__) || defined(__MidnightBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__MidnightBSD__)
+ #ifndef HAVE_STRNSTR
+ #define HAVE_STRNSTR 1
+ #endif /* HAVE_STRNSTR */
Index: patches/patch-ventrilo_c
===================================================================
RCS file: patches/patch-ventrilo_c
diff -N patches/patch-ventrilo_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ventrilo_c 17 Feb 2018 19:38:37 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Index: ventrilo.c
+--- ventrilo.c.orig
++++ ventrilo.c
+@@ -15,7 +15,11 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #define strtok_ret strtok_r
++#ifdef __OpenBSD__
++#define VENTRILO_RAND arc4random()
++#else
+ #define VENTRILO_RAND random()
++#endif
+ #else
+ #include <winsock.h>
+ #define strtok_ret strtok_s