FreeBSD Bugzilla – Attachment 189650 Details for
Bug 216070
textproc/source-highlight: fails to build with lang/gcc6 or later
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-source_highlight
svn-diff-source_highlight (text/plain), 1.57 KB, created by
Walter Schwarzenfeld
on 2018-01-12 14:04:20 UTC
(
hide
)
Description:
svn-diff-source_highlight
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2018-01-12 14:04:20 UTC
Size:
1.57 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 458826) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= source-highlight > PORTVERSION= 3.1.6 >-PORTREVISION= 8 >+PORTREVISION= 9 > CATEGORIES= textproc > MASTER_SITES= GNU/src-highlite > >Index: files/patch-settings.cpp >=================================================================== >--- files/patch-settings.cpp (nonexistent) >+++ files/patch-settings.cpp (working copy) >@@ -0,0 +1,28 @@ >+--- lib/srchilite/settings.cpp.orig 2018-01-12 13:52:53 UTC >++++ lib/srchilite/settings.cpp >+@@ -94,14 +94,14 @@ bool Settings::checkForTestFile() { >+ string file = dataDir + "/" + testFileName; >+ ifstream i(file.c_str()); >+ >+- return (i != 0); >++ return (i != '\0'); >+ } >+ >+ bool Settings::checkForConfFile() { >+ string file = confDir + confFileName; >+ ifstream i(file.c_str()); >+ >+- return (i != 0); >++ return (i != '\0'); >+ } >+ >+ bool Settings::readDataDir() { >+@@ -109,7 +109,7 @@ bool Settings::readDataDir() { >+ ifstream i(file.c_str()); >+ >+ string line; >+- if (i != 0) { >++ if (i != '\0') { >+ while (read_line(&i, line)) { >+ if (line.size()) { >+ boost::cmatch what; > >Property changes on: files/patch-settings.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
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
Actions:
View
|
Diff
Attachments on
bug 216070
: 189650