diff options
author | 2017-11-25 10:25:44 +0100 | |
---|---|---|
committer | 2017-11-25 10:31:23 +0100 | |
commit | 7587775a50aaab00ffe7d396dfc7328de1928852 (patch) | |
tree | a7602011f38bce4904f2194dca5c852907954941 /app-text/apvlv/files/apvlv-0.1.5-gcc7.patch | |
parent | dev-python/virtualenv: keyword for amd64-fbsd. (diff) | |
download | gentoo-7587775a50aaab00ffe7d396dfc7328de1928852.tar.gz gentoo-7587775a50aaab00ffe7d396dfc7328de1928852.tar.bz2 gentoo-7587775a50aaab00ffe7d396dfc7328de1928852.zip |
app-text/apvlv: Fix building with gcc7 with Debian patch.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'app-text/apvlv/files/apvlv-0.1.5-gcc7.patch')
-rw-r--r-- | app-text/apvlv/files/apvlv-0.1.5-gcc7.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/apvlv/files/apvlv-0.1.5-gcc7.patch b/app-text/apvlv/files/apvlv-0.1.5-gcc7.patch new file mode 100644 index 000000000000..e55f2771395a --- /dev/null +++ b/app-text/apvlv/files/apvlv-0.1.5-gcc7.patch @@ -0,0 +1,22 @@ +--- apvlv-0.1.5+dfsg.orig/src/ApvlvCmds.cc ++++ apvlv-0.1.5+dfsg/src/ApvlvCmds.cc +@@ -200,7 +200,7 @@ namespace apvlv + + if (len >= 4 + && *s == '<' +- && (e = strchr ((char *) s, '>')) != '\0' && *(s + 2) != '-') ++ && (e = strchr ((char *) s, '>')) && *(s + 2) != '-') + { + e++; + StringKeyMap::iterator it; +--- apvlv-0.1.5+dfsg.orig/src/ApvlvCore.cc ++++ apvlv-0.1.5+dfsg/src/ApvlvCore.cc +@@ -90,7 +90,7 @@ namespace apvlv + { + mInuse = use; + +- if (mInuse == false && gView->hasloaded (filename (), type ()) == false) ++ if (mInuse == false && !gView->hasloaded (filename (), type ())) + { + debug ("core :%p is not needed, delete it\n", this); + delete this; |