From owner-svn-ports-head@freebsd.org Wed Jul 3 07:16:05 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4239915C9A67; Wed, 3 Jul 2019 07:16:05 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D548B8CF87; Wed, 3 Jul 2019 07:16:04 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B0B818685; Wed, 3 Jul 2019 07:16:04 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x637G4q9076481; Wed, 3 Jul 2019 07:16:04 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x637G3op076475; Wed, 3 Jul 2019 07:16:03 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201907030716.x637G3op076475@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 3 Jul 2019 07:16:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505728 - in head/lang/cint: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/lang/cint: . files X-SVN-Commit-Revision: 505728 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D548B8CF87 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2019 07:16:05 -0000 Author: tobik Date: Wed Jul 3 07:16:03 2019 New Revision: 505728 URL: https://svnweb.freebsd.org/changeset/ports/505728 Log: lang/cint: Unbreak build with GCC 9 G__cpp_list.cxx: In function 'int G__list_49_0_10(G__value*, const char*, G__param*, int)': G__cpp_list.cxx:707:109: error: 'std::__cxx11::list >::iterator' {aka 'struct std::_List_iterator'} has no member named 'operator=='; did you mean 'operator='? 707 | G__letint(result7, 103, (long) ((list >::iterator*) G__getstructoffset())->operator==(*(list >::iterator*) libp->para[0].ref)); | ^~ | operator= G__cpp_list.cxx: In function 'int G__list_49_0_11(G__value*, const char*, G__param*, int)': G__cpp_list.cxx:713:109: error: 'std::__cxx11::list >::iterator' {aka 'struct std::_List_iterator'} has no member named 'operator!='; did you mean 'operator='? 713 | G__letint(result7, 103, (long) ((list >::iterator*) G__getstructoffset())->operator!=(*(list >::iterator*) libp->para[0].ref)); | ^~ | operator= http://pb2.nyi.freebsd.org/data/120i386-default-PR238330/2019-06-09_20h27m22s/logs/errors/cint-5.18.00_12.log While here make the build abort fast on build errors instead of carrying on like nothing happened. PR: 238907 Reported by: antoine (via exp-run in PR 238330) Added: head/lang/cint/files/patch-cint_lib_prec__stl_list (contents, props changed) head/lang/cint/files/patch-cint_lib_prec__stl_map (contents, props changed) head/lang/cint/files/patch-cint_lib_prec__stl_multimap (contents, props changed) head/lang/cint/files/patch-cint_lib_prec__stl_multiset (contents, props changed) head/lang/cint/files/patch-cint_lib_prec__stl_set (contents, props changed) Modified: head/lang/cint/Makefile Modified: head/lang/cint/Makefile ============================================================================== --- head/lang/cint/Makefile Wed Jul 3 06:35:48 2019 (r505727) +++ head/lang/cint/Makefile Wed Jul 3 07:16:03 2019 (r505728) @@ -35,7 +35,8 @@ OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' ${WRKSRC}/cint/lib/dll_stl/setup - ${REINPLACE_CMD} 's,make ,${GMAKE} ,' ${WRKSRC}/cint/lib/*/setup + ${REINPLACE_CMD} -e 's,make ,${GMAKE} ,' -e '/${GMAKE}/ s,$$, || exit 1,' \ + ${WRKSRC}/cint/lib/*/setup do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/bash configure __have_the_proper_shell@ Added: head/lang/cint/files/patch-cint_lib_prec__stl_list ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cint/files/patch-cint_lib_prec__stl_list Wed Jul 3 07:16:03 2019 (r505728) @@ -0,0 +1,14 @@ +--- cint/lib/prec_stl/list.orig 2019-07-03 06:45:32 UTC ++++ cint/lib/prec_stl/list +@@ -96,9 +96,11 @@ class list { + iterator operator++(int a); + iterator& operator--(); + iterator operator--(int a); ++#if defined(G__GNUC_VER) && G__GNUC_VER<9000 + bool operator==(const iterator& x) ; + #ifndef G__HPUX + bool operator!=(const iterator& x) ; ++#endif + #endif + #if defined(G__VISUAL) && (G__MSC_VER>=1600) + private: Added: head/lang/cint/files/patch-cint_lib_prec__stl_map ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cint/files/patch-cint_lib_prec__stl_map Wed Jul 3 07:16:03 2019 (r505728) @@ -0,0 +1,11 @@ +--- cint/lib/prec_stl/map.orig 2019-07-03 06:37:58 UTC ++++ cint/lib/prec_stl/map +@@ -115,7 +115,7 @@ class map { + iterator operator++(int a); + iterator& operator--(); + iterator operator--(int a); +-#if defined (G__VISUAL) || (defined(G__GNUC_VER) && G__GNUC_VER>=3004) || defined(G__INTEL_COMPILER) ++#if defined (G__VISUAL) || (defined(G__GNUC_VER) && G__GNUC_VER>=3004 && G__GNUC_VER<9000) || defined(G__INTEL_COMPILER) + bool operator==(const iterator& x) ; + bool operator!=(const iterator& x) ; + #endif Added: head/lang/cint/files/patch-cint_lib_prec__stl_multimap ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cint/files/patch-cint_lib_prec__stl_multimap Wed Jul 3 07:16:03 2019 (r505728) @@ -0,0 +1,11 @@ +--- cint/lib/prec_stl/multimap.orig 2019-07-03 06:42:35 UTC ++++ cint/lib/prec_stl/multimap +@@ -112,7 +112,7 @@ class multimap { + iterator operator++(int a); + iterator& operator--(); + iterator operator--(int a); +-#if defined (G__VISUAL) || (defined(G__GNUC) && G__GNUC_VER>=3004) ++#if defined (G__VISUAL) || (defined(G__GNUC) && G__GNUC_VER>=3004 && G__GNUC_VER<9000) + bool operator==(const iterator& x) ; + bool operator!=(const iterator& x) ; + #endif Added: head/lang/cint/files/patch-cint_lib_prec__stl_multiset ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cint/files/patch-cint_lib_prec__stl_multiset Wed Jul 3 07:16:03 2019 (r505728) @@ -0,0 +1,11 @@ +--- cint/lib/prec_stl/multiset.orig 2019-07-03 06:43:37 UTC ++++ cint/lib/prec_stl/multiset +@@ -105,7 +105,7 @@ class multiset { + iterator operator++(int a); + iterator& operator--(); + iterator operator--(int a); +-#if defined (G__VISUAL) || (defined(G__GNUC) && G__GNUC_VER>=3004) ++#if defined (G__VISUAL) || (defined(G__GNUC) && G__GNUC_VER>=3004 && G__GNUC_VER<9000) + bool operator==(const iterator& x) ; + bool operator!=(const iterator& x) ; + #endif Added: head/lang/cint/files/patch-cint_lib_prec__stl_set ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cint/files/patch-cint_lib_prec__stl_set Wed Jul 3 07:16:03 2019 (r505728) @@ -0,0 +1,11 @@ +--- cint/lib/prec_stl/set.orig 2019-07-03 06:41:45 UTC ++++ cint/lib/prec_stl/set +@@ -105,7 +105,7 @@ class set { + iterator operator++(int a); + iterator& operator--(); + iterator operator--(int a); +-#if defined (G__VISUAL) || (defined(G__GNUC) && G__GNUC_VER>=3004) ++#if defined (G__VISUAL) || (defined(G__GNUC) && G__GNUC_VER>=3004 && G__GNUC_VER<9000) + bool operator==(const iterator& x) ; + bool operator!=(const iterator& x) ; + #endif