git: 85bb25bf0b54 - main - math/ised: Drop USE_GCC

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Sat, 03 Sep 2022 20:15:57 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85bb25bf0b5468a44b483108898afbb857d895d6

commit 85bb25bf0b5468a44b483108898afbb857d895d6
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2022-09-03 19:44:39 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2022-09-03 20:15:13 +0000

    math/ised: Drop USE_GCC
    
    Moreover,
    
    - Fix build with GCC 12 [1].
    - Take maintainership.
    
    PR:             266194 [1]
    Reported by:    exp-run (antoine)
---
 math/ised/Makefile             |  6 ++----
 math/ised/files/patch-src_vm.h | 10 ++++++++++
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/math/ised/Makefile b/math/ised/Makefile
index de2c125083d9..b82819e9a0eb 100644
--- a/math/ised/Makefile
+++ b/math/ised/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	ised
 PORTVERSION=	2.7.1
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	math
 MASTER_SITES=	SF/${PORTNAME}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	salvadore@FreeBSD.org
 COMMENT=	Tool for generating number sequences and arithmetic evaluation
 
 LICENSE=	GPLv3+
@@ -12,8 +12,6 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		libedit tar:bzip2
 GNU_CONFIGURE=	yes
-# ./base.h:620:14: error: invalid output constraint '=ir' in asm
-USE_GCC=	yes
 
 PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
diff --git a/math/ised/files/patch-src_vm.h b/math/ised/files/patch-src_vm.h
new file mode 100644
index 000000000000..aba8fd1c0c69
--- /dev/null
+++ b/math/ised/files/patch-src_vm.h
@@ -0,0 +1,10 @@
+--- src/vm.h.orig	2022-09-03 19:42:45 UTC
++++ src/vm.h
+@@ -25,6 +25,7 @@
+ #include <vector>
+ #include <map>
+ #include <stack>
++#include <ctime>
+ 
+ #ifdef HAVE_LIBREADLINE
+ #  if defined(HAVE_READLINE_READLINE_H)