diff --git a/games/opentyrian/Makefile b/games/opentyrian/Makefile index 65fb23acd145..f1faf99fbda8 100644 --- a/games/opentyrian/Makefile +++ b/games/opentyrian/Makefile @@ -1,33 +1,33 @@ PORTNAME= opentyrian DISTVERSIONPREFIX= v -DISTVERSION= 2.1.20220309 +DISTVERSION= 2.1.20220318 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Arcade-style vertical scrolling shooter LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake pkgconfig sdl USE_GITHUB= yes USE_SDL= sdl2 net2 MAKE_ENV= VCS_IDREV="${DISTVERSION}" \ gamesdir="${PREFIX}/share" DATADIR= ${PREFIX}/share/tyrian PORTSCOUT= skipv:11402-phase-0.8 SUB_FILES= pkg-message PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: ${INSTALL_DATA} ${WRKSRC}/linux/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/linux/icons/tyrian-32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${DATADIR} ${TOUCH} ${STAGEDIR}${DATADIR}/.keepme .include diff --git a/games/opentyrian/distinfo b/games/opentyrian/distinfo index e83443ef1392..42ac32159fc8 100644 --- a/games/opentyrian/distinfo +++ b/games/opentyrian/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646909236 -SHA256 (opentyrian-opentyrian-v2.1.20220309_GH0.tar.gz) = 6df44ca9b36acf9ba67099621b2fb1baa5f7b4ad2ec924ed943b87ff9061dbd2 -SIZE (opentyrian-opentyrian-v2.1.20220309_GH0.tar.gz) = 298329 +TIMESTAMP = 1647642356 +SHA256 (opentyrian-opentyrian-v2.1.20220318_GH0.tar.gz) = e0c6afbb5d395c919f9202f4c9b3b4da7bd6e993e9da6152f995012577e1ccbd +SIZE (opentyrian-opentyrian-v2.1.20220318_GH0.tar.gz) = 298403 diff --git a/games/opentyrian/files/patch-src_arg__parse.c b/games/opentyrian/files/patch-src_arg__parse.c deleted file mode 100644 index 9496fe636066..000000000000 --- a/games/opentyrian/files/patch-src_arg__parse.c +++ /dev/null @@ -1,30 +0,0 @@ ---- src/arg_parse.c.orig 2022-03-10 02:50:47 UTC -+++ src/arg_parse.c -@@ -27,6 +27,7 @@ static void permute( const char *argv[], int *first_no - static int parse_short_opt( int argc, const char *const argv[], const Options *options, Option *option ); - static int parse_long_opt( int argc, const char *const argv[], const Options *options, Option *option ); - -+#ifndef __FreeBSD__ - /*! - * \brief Locate a character in a a string. - * -@@ -36,6 +37,7 @@ static int parse_long_opt( int argc, const char *const - * otherwise the pointer to the terminating NUL character of \p s - */ - static char *strchrnul( const char *s, int c ); -+#endif - - Option parse_args( int argc, const char *argv[], const Options *options ) - { -@@ -251,9 +253,11 @@ static int parse_long_opt( int argc, const char *const - return argn; // which arg in argv that parse_args() should examine when called again - } - -+#ifndef __FreeBSD__ - static char *strchrnul( const char *s, int c ) - { - for (; *s != c && *s != '\0'; ++s) - ; - return (char *)s; - } -+#endif