svn commit: r528627 - in head/textproc/jtc: . files

Fernando Apesteguía fernape at FreeBSD.org
Wed Mar 18 07:02:15 UTC 2020


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 at 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 at 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


More information about the svn-ports-head mailing list