Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 620732

Summary: =hteditor/hteditor-2.1.0 fails to build on gcc-7 (fixed upstream)
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: Tim Harder <radhermit>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/sebastianbiallas/ht/commit/3b62f2f7e49e024ec9d3c5ffc8ff9cd87a107af6
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: hteditor-2.1.0-gcc-7.patch

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!