textproc/jtc: unbreak with clang 10.0.0
Additionally, use PORTVERSION instead of DISTVERSION PR: 244797 Submitted by: vulcan@wired.sh (maintainer)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jtc
|
||||
DISTVERSION= 1.75d
|
||||
PORTVERSION= 1.75d
|
||||
CATEGORIES= textproc
|
||||
|
||||
MAINTAINER= vulcan@wired.sh
|
||||
|
||||
11
textproc/jtc/files/patch-lib_Json.hpp
Normal file
11
textproc/jtc/files/patch-lib_Json.hpp
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user