On 2018/02/17 19:59, Tom Murphy wrote:
> Thanks, Adam! Here's the new diff:
> 
> 
> 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:58:07 -0000
> @@ -2,19 +2,35 @@
>  
>  COMMENT=     displays the status of multi-player Internet Game servers
>  
> -DISTNAME=    qstat-2.11
> -REVISION=    0
> +GH_ACCOUNT=  multiplay
> +GH_PROJECT=  qstat
> +GH_TAGNAME=  v2.14
> +
> +DISTNAME=    qstat-2.14

zap DISTNAME too please, it's the same as the default set via GH_TAGNAME.

>  CATEGORIES=  games
> +MAINTAINER=  Tom Murphy <[email protected]>
>  
>  # Artistic
>  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:

would prefer a blank line between targets (i.e. between the autogen
line and post-install)

...

> + #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
> 
        *p = (((VENTRILO_RAND * 0x343fd) + 0x269ec3) >> 16) & 0x7fff;

any idea what's going on here?

Reply via email to