Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2020 07:02:15 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528627 - in head/textproc/jtc: . files
Message-ID:  <202003180702.02I72FBO098055@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Wed Mar 18 07:02:14 2020
New Revision: 528627
URL: https://svnweb.freebsd.org/changeset/ports/528627

Log:
  textproc/jtc: unbreak with clang 10.0.0
  
  Additionally, use PORTVERSION instead of DISTVERSION
  
  PR:	244797
  Submitted by:	vulcan@wired.sh (maintainer)

Added:
  head/textproc/jtc/files/
  head/textproc/jtc/files/patch-lib_Json.hpp   (contents, props changed)
Modified:
  head/textproc/jtc/Makefile

Modified: head/textproc/jtc/Makefile
==============================================================================
--- head/textproc/jtc/Makefile	Wed Mar 18 03:33:51 2020	(r528626)
+++ head/textproc/jtc/Makefile	Wed Mar 18 07:02:14 2020	(r528627)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	jtc
-DISTVERSION=	1.75d
+PORTVERSION=	1.75d
 CATEGORIES=	textproc
 
 MAINTAINER=	vulcan@wired.sh

Added: head/textproc/jtc/files/patch-lib_Json.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/jtc/files/patch-lib_Json.hpp	Wed Mar 18 07:02:14 2020	(r528627)
@@ -0,0 +1,11 @@
+--- lib/Json.hpp.orig	2020-03-13 20:36:36 UTC
++++ lib/Json.hpp
+@@ -1189,8 +1189,6 @@ class Jnode::Iterator: public std::iterator<std::bidir
+ 
+         SuperJnode &        operator()(const std::string &s, Jnode &jn)
+                              { lbp_ = &s; jnp_ = &jn; return *this; }
+-        const SuperJnode &  operator()(const std::string &s, const Jnode &jn) const
+-                             { lbp_ = &s; jnp_ = &jn; return *this; }
+ 
+         const std::string * lbp_{nullptr};                      // pointer to a label string
+         Jnode *             jnp_{nullptr};                      // resolved Jnode pointer



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