FreeBSD Bugzilla – Attachment 214455 Details for
Bug 246441
textproc/jtc: Update to 1.76
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
jtc-1.76.diff
jtc-1.76.diff (text/plain), 5.18 KB, created by
Lewis Cook
on 2020-05-13 16:51:00 UTC
(
hide
)
Description:
jtc-1.76.diff
Filename:
MIME Type:
Creator:
Lewis Cook
Created:
2020-05-13 16:51:00 UTC
Size:
5.18 KB
patch
obsolete
>Index: textproc/jtc/Makefile >=================================================================== >--- textproc/jtc/Makefile (revision 533477) >+++ textproc/jtc/Makefile (working copy) >@@ -1,7 +1,7 @@ > # $FreeBSD$ > > PORTNAME= jtc >-PORTVERSION= 1.75d >+DISTVERSION= 1.76 > CATEGORIES= textproc > > MAINTAINER= vulcan@wired.sh >@@ -15,14 +15,28 @@ > USE_GITHUB= yes > GH_ACCOUNT= ldn-softdev > >-LDFLAGS+= -lexecinfo >+LDFLAGS+= -lexecinfo -lpthread > > PLIST_FILES= bin/${PORTNAME} >-PORTDOCS= README.md Release\ Notes.md User\ Guide.md \ >- Walk-path\ tutorial.md >+PORTDOCS= "Release Notes.md" "User Guide.md" "Walk-path tutorial.md" \ >+ README.md > >-OPTIONS_DEFINE= DOCS >+OPTIONS_DEFINE= BG_CC BG_DTS BG_FLOW BG_MTS DOCS NO_DBG NO_DBG_PARSER > >+BG_CC_DESC= Every call to a copy-constructor of Jnode class will reveal itself >+BG_DTS_DESC= Makes time-stamp display delta (since last debug message) instead of absolute stamp >+BG_FLOW_DESC= All debuggable function/method calls will display an entry and exit point >+BG_MTS_DESC= Display absolute time-stamps in the debug message >+NO_DBG_DESC= Disable all debug messages >+NO_DBG_PARSER_DESC= Disable debug messages coming from parsing JSON >+ >+BG_CC_CXXFLAGS= -DBG_CC >+BG_DTS_CXXFLAGS= -DBG_dTS >+BG_FLOW_CXXFLAGS= -BG_FLOW >+BG_MTS_CXXFLAGS= -DBG_mTS -DBG_uTS >+NO_DBG_CXXFLAGS= -DNDEBUG >+NO_DBG_PARSER_CXXFLAGS= -DNDBG_PARSER >+ > do-build: > ${CXX} ${CXXFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.cpp -o ${WRKSRC}/${PORTNAME} > >Index: textproc/jtc/distinfo >=================================================================== >--- textproc/jtc/distinfo (revision 533477) >+++ textproc/jtc/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1583518848 >-SHA256 (ldn-softdev-jtc-1.75d_GH0.tar.gz) = e490a754be493660ef4f2e764ea121b5c39b280adf9b4c55d73e4876e8618f04 >-SIZE (ldn-softdev-jtc-1.75d_GH0.tar.gz) = 206457 >+TIMESTAMP = 1589016243 >+SHA256 (ldn-softdev-jtc-1.76_GH0.tar.gz) = 8524ba3c67364719196ffc8c81078ea9c1ccfa629fff5e57441edd09f1950052 >+SIZE (ldn-softdev-jtc-1.76_GH0.tar.gz) = 228445 >Index: textproc/jtc/files/patch-lib_Json.hpp >=================================================================== >--- textproc/jtc/files/patch-lib_Json.hpp (revision 533477) >+++ textproc/jtc/files/patch-lib_Json.hpp (working copy) >@@ -1,11 +1,25 @@ >---- lib/Json.hpp.orig 2020-03-13 20:36:36 UTC >+--- lib/Json.hpp.orig 2020-05-07 19:34:09 UTC > +++ lib/Json.hpp >-@@ -1189,8 +1189,6 @@ class Jnode::Iterator: public std::iterator<std::bidir >+@@ -688,11 +688,11 @@ class Jnode { >+ Jnode(const Jnode &jn): Jnode() { // CC > >+ #ifdef BG_CC // -DBG_CC to compile this debug >+- if(DBG()(__Dbg_flow__::ind)) { // dodge DBG's mutex dead-lock >++ if(DBG()(__Dbg_flow__::ind())) { // dodge DBG's mutex dead-lock >+ GUARD(DBG().alt_prefix, DBG().alt_prefix) >+ DBG().alt_prefix(">"); >+ DOUT() << DBG().prompt(__func__, >+- __Dbg_flow__::ind + 1, DBG().stamped(), >++ __Dbg_flow__::ind() + 1, DBG().stamped(), >+ Debug::Indention::Alternative) >+ << "CC copying: " >+ << jn.to_string(Jnode::PrettyType::Raw, 0) << std::endl; >+@@ -1221,8 +1221,6 @@ class Jnode::Iterator: public std::iterator<std::bidir >+ SuperJnode(Jtype t): Jnode{t} {} // Init Construct >+ > 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 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 >Index: textproc/jtc/files/patch-lib_dbg.hpp >=================================================================== >--- textproc/jtc/files/patch-lib_dbg.hpp (nonexistent) >+++ textproc/jtc/files/patch-lib_dbg.hpp (working copy) >@@ -0,0 +1,12 @@ >+--- lib/dbg.hpp.orig 2020-05-07 19:34:09 UTC >++++ lib/dbg.hpp >+@@ -879,6 +879,9 @@ class __Dbg_flow__ { >+ } >+ } >+ >++ static size_t ind(void) { return __Dbg_flow__::ind_; } >++ >++ >+ protected: >+ const Debug & dbg_; // debug reference >+ const char * dfnc_; // debug function > >Property changes on: textproc/jtc/files/patch-lib_dbg.hpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
lcook
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 246441
: 214455 |
214456