games/opentyrian: update 2.1.20220309 → 2.1.20220318
This commit is contained in:
parent
fb63917f1b
commit
db0715dad9
@ -1,6 +1,6 @@
|
||||
PORTNAME= opentyrian
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.1.20220309
|
||||
DISTVERSION= 2.1.20220318
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
|
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user