Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 09:59:54 +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: r505205 - in head/misc/estic: . files
Message-ID:  <201906270959.x5R9xsvn005370@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Thu Jun 27 09:59:54 2019
New Revision: 505205
URL: https://svnweb.freebsd.org/changeset/ports/505205

Log:
  - fix build with gcc9
  - fix build with clang from base on FreeBSD-11 and FreeBSD-12
  PR:		238647

Modified:
  head/misc/estic/Makefile
  head/misc/estic/files/patch-str.h

Modified: head/misc/estic/Makefile
==============================================================================
--- head/misc/estic/Makefile	Thu Jun 27 09:58:45 2019	(r505204)
+++ head/misc/estic/Makefile	Thu Jun 27 09:59:54 2019	(r505205)
@@ -3,7 +3,7 @@
 
 PORTNAME=		estic
 PORTVERSION=		1.61
-PORTREVISION=		9
+PORTREVISION=		10
 CATEGORIES=		misc comms
 MASTER_SITES=		LOCAL/dinoex
 PKGNAMESUFFIX?=		${NOX11_SUFFIX}${PKGNAMESUFFIX2}
@@ -14,13 +14,9 @@ COMMENT=		Controller for ISDN TK-Anlage (PBX) made by 
 
 LICENSE=	BSD2CLAUSE
 
-BROKEN_armv6=		fails to compile: str.h: friend declaration specifying a default argument must be the only declaration
-BROKEN_armv7=		fails to compile: str.h: friend declaration specifying a default argument must be the only declaration
-
 USES=		ncurses zip
 USE_CSTD=	gnu89
 USE_CXXSTD=	gnu++98
-USE_GCC=	any
 NO_WRKSUBDIR=	yes
 
 # Personal Preferences, Where to install.

Modified: head/misc/estic/files/patch-str.h
==============================================================================
--- head/misc/estic/files/patch-str.h	Thu Jun 27 09:58:45 2019	(r505204)
+++ head/misc/estic/files/patch-str.h	Thu Jun 27 09:59:54 2019	(r505205)
@@ -47,3 +47,12 @@
  
  class String : public Streamable {
  
+@@ -303,7 +343,7 @@ public:
+     // representation by the character itself, e.g. replace "\n" by the
+     // character with code 13.
+ 
+-    friend String ShowControls (const String& S, unsigned Style = ccDefault);
++    friend String ShowControls (const String& S, unsigned Style);
+     // Recode the given string and replace every control character by it's
+     // visible representation, e.g. "\n" instead of the character with code
+     // code 13.



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