Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620732 - =hteditor/hteditor-2.1.0 fails to build on gcc-7 (fixed upstream)
Summary: =hteditor/hteditor-2.1.0 fails to build on gcc-7 (fixed upstream)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL: https://github.com/sebastianbiallas/h...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-7
  Show dependency tree
 
Reported: 2017-06-04 07:22 UTC by Sergei Trofimovich (RETIRED)
Modified: 2017-06-07 09:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hteditor-2.1.0-gcc-7.patch (hteditor-2.1.0-gcc-7.patch,676 bytes, patch)
2017-06-04 07:22 UTC, Sergei Trofimovich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2017-06-04 07:22:30 UTC
Created attachment 475138 [details, diff]
hteditor-2.1.0-gcc-7.patch

Build fails on gcc-7.1.0 as:

  htapp.cc: In function 'uint isqr(uint)':
  htapp.cc:3026:18: error: call of overloaded 'abs(uint)' is ambiguous
    while (abs(a - b) > 1) {
                    ^

Attached upstream patch that fixes build failure.
Comment 1 Tim Harder gentoo-dev 2017-06-07 09:18:52 UTC
As with most of my packages, feel free to revbump the ebuild yourself to apply the patch.
Comment 2 Tim Harder gentoo-dev 2017-06-07 09:20:38 UTC
(In reply to Tim Harder from comment #1)
> As with most of my packages, feel free to revbump the ebuild yourself to
> apply the patch.

Or rather add it without revbumping for this build fix.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2017-06-07 09:47:04 UTC
Pushed as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0003702b3c82e0b9bfc4233c6e081885043db1f0

Thank you!