Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2020 20:05:09 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r524787 - in head/graphics/flasm: . files
Message-ID:  <202002012005.011K59J3033659@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002012005.011K59J3033659>