Index: head/textproc/re-flex/Makefile =================================================================== --- head/textproc/re-flex/Makefile (revision 541734) +++ head/textproc/re-flex/Makefile (revision 541735) @@ -1,32 +1,32 @@ # $FreeBSD$ PORTNAME= re-flex -PORTVERSION= 2.1.0 +PORTVERSION= 2.1.1 DISTVERSIONPREFIX= v CATEGORIES= textproc MAINTAINER= gahr@FreeBSD.org COMMENT= Regex-centric, fast and flexible scanner generator for C++ LICENSE= BSD3CLAUSE CONFLICTS_INSTALL= reflex USES= autoreconf compiler:c++11-lib gmake USE_GITHUB= yes GH_ACCOUNT= Genivia GH_PROJECT= RE-flex GNU_CONFIGURE= yes TEST_TARGET= test post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/reflex (cd ${WRKSRC}/include/reflex && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/include/reflex) @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/lex.vim ${STAGEDIR}${DATADIR}/lex.vim .include Index: head/textproc/re-flex/distinfo =================================================================== --- head/textproc/re-flex/distinfo (revision 541734) +++ head/textproc/re-flex/distinfo (revision 541735) @@ -1,3 +1,3 @@ -TIMESTAMP = 1593507667 -SHA256 (Genivia-RE-flex-v2.1.0_GH0.tar.gz) = b4c1b06fabf2ef6301e0210138c1ad16aa8a9384bfe7f3533155ef279e0b714f -SIZE (Genivia-RE-flex-v2.1.0_GH0.tar.gz) = 5876919 +TIMESTAMP = 1594281933 +SHA256 (Genivia-RE-flex-v2.1.1_GH0.tar.gz) = 75994065b7a8aeec0c41f86afe7d33b571a73f124a001ad9a4bfe500641a9670 +SIZE (Genivia-RE-flex-v2.1.1_GH0.tar.gz) = 5916897 Index: head/textproc/re-flex/files/patch-include_reflex_matcher.h =================================================================== --- head/textproc/re-flex/files/patch-include_reflex_matcher.h (nonexistent) +++ head/textproc/re-flex/files/patch-include_reflex_matcher.h (revision 541735) @@ -0,0 +1,25 @@ +--- include/reflex/matcher.h.orig 2020-07-09 08:31:49 UTC ++++ include/reflex/matcher.h +@@ -139,19 +139,19 @@ class Matcher : public PatternMatcher + { + if (n == 0) + return std::pair(txt_, len_); +- return std::pair(reinterpret_cast(NULL), 0); ++ return std::pair(nullptr, 0); + } + /// Returns the group capture identifier containing the group capture index >0 and name (or NULL) of a named group capture, or (1,NULL) by default + virtual std::pair group_id() + /// @returns a pair of size_t and string + { +- return std::pair(accept(), reinterpret_cast(NULL)); ++ return std::pair(accept(), nullptr); + } + /// Returns the next group capture identifier containing the group capture index >0 and name (or NULL) of a named group capture, or (0,NULL) when no more groups matched + virtual std::pair group_next_id() + /// @returns (0,NULL) + { +- return std::pair(0, reinterpret_cast(NULL)); ++ return std::pair(0, nullptr); + } + /// Returns the position of the last indent stop. + size_t last_stop() Property changes on: head/textproc/re-flex/files/patch-include_reflex_matcher.h ___________________________________________________________________ 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 Index: head/textproc/re-flex/files/patch-lib_pattern.cpp =================================================================== --- head/textproc/re-flex/files/patch-lib_pattern.cpp (nonexistent) +++ head/textproc/re-flex/files/patch-lib_pattern.cpp (revision 541735) @@ -0,0 +1,11 @@ +--- lib/pattern.cpp.orig 2020-07-09 08:32:41 UTC ++++ lib/pattern.cpp +@@ -2065,7 +2065,7 @@ void Pattern::encode_dfa(DFA::State *start) + // add final dead state (HALT opcode) only when needed, i.e. skip dead state if all chars 0-255 are already covered + if (hi <= 0xFF) + { +- state->edges[hi] = std::pair(0xFF, reinterpret_cast(NULL)); ++ state->edges[hi] = std::pair(0xFF, nullptr); + ++nop_; + } + #else Property changes on: head/textproc/re-flex/files/patch-lib_pattern.cpp ___________________________________________________________________ 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