svn commit: r524787 - in head/graphics/flasm: . files
Dirk Meyer
dinoex at FreeBSD.org
Sat Feb 1 20:05:10 UTC 2020
Author: dinoex
Date: Sat Feb 1 20:05:09 2020
New Revision: 524787
URL: https://svnweb.freebsd.org/changeset/ports/524787
Log:
- fix build with gperf 3.1
PR: 243163
Approved by: (maintainer timeout)
Added:
head/graphics/flasm/files/patch-keywords.gperf (contents, props changed)
head/graphics/flasm/files/patch-util.h (contents, props changed)
Modified:
head/graphics/flasm/Makefile
Modified: head/graphics/flasm/Makefile
==============================================================================
--- head/graphics/flasm/Makefile Sat Feb 1 20:00:07 2020 (r524786)
+++ head/graphics/flasm/Makefile Sat Feb 1 20:05:09 2020 (r524787)
@@ -2,6 +2,7 @@
PORTNAME= flasm
PORTVERSION= 1.62
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= LOCAL/kuriyama \
http://www.nowrap.de/download/
Added: head/graphics/flasm/files/patch-keywords.gperf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/flasm/files/patch-keywords.gperf Sat Feb 1 20:05:09 2020 (r524787)
@@ -0,0 +1,18 @@
+--- keywords.gperf.orig 2020-01-07 17:04:30 UTC
++++ keywords.gperf
+@@ -11,7 +11,7 @@ All rights reserved. See LICENSE.TXT for terms of use.
+ #ifdef MEMWATCH
+ #include "memwatch.h"
+ #endif
+-struct keyword *in_word_set(register const char *str, register unsigned int len);
++struct keyword *in_word_set(register const char *str, register size_t len);
+ %}
+ struct keyword {}
+ %%
+@@ -266,4 +266,4 @@ hexdata, 0, HEXDATA
+ off, 0, OFF
+ from, 0, FROM
+ recursion, 0, RECURSION
+-timeout, 0, TIMEOUT
+\ No newline at end of file
++timeout, 0, TIMEOUT
Added: head/graphics/flasm/files/patch-util.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/flasm/files/patch-util.h Sat Feb 1 20:05:09 2020 (r524787)
@@ -0,0 +1,11 @@
+--- util.h.orig 2020-01-07 17:07:08 UTC
++++ util.h
+@@ -47,7 +47,7 @@ struct keyword {
+ int token;
+ };
+
+-extern struct keyword *in_word_set(register const char *str, register unsigned int len);
++extern struct keyword *in_word_set(register const char *str, register size_t len);
+
+ void checkByteOrder(void);
+ int longintCompare(const void *ap, const void *bp);
More information about the svn-ports-head
mailing list