Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730826 - games-arcade/amphetamine-0.8.10-r1 fails to compile: src/Element.cpp:282:25: error: type 'double' cannot be narrowed to 'short' in initializer list [-Wc++11-narrowing]
Summary: games-arcade/amphetamine-0.8.10-r1 fails to compile: src/Element.cpp:282:25: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-07-05 08:23 UTC by Agostino Sarubbo
Modified: 2022-10-24 12:55 UTC (History)
0 users

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


Attachments
build.log (build.log,14.34 KB, text/plain)
2020-07-05 08:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-05 08:23:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-arcade/amphetamine fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-05 08:23:37 UTC
Created attachment 647694 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-30 16:04:12 UTC
tinderbox has reproduced this issue with version 0.8.10-r1 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2022-10-24 12:55:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98277540421d891ff0276504a79b1241fcc2fbd7

commit 98277540421d891ff0276504a79b1241fcc2fbd7
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2022-10-24 12:53:39 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2022-10-24 12:55:16 +0000

    games-arcade/amphetamine: Fixes from Debian and OpenBSD
    
    Also use latest data files from Debian and a homemade icon with higher
    resolution.
    
    Closes: https://bugs.gentoo.org/730826
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 games-arcade/amphetamine/Manifest                  |  2 +
 .../amphetamine/amphetamine-0.8.10-r2.ebuild       | 59 ++++++++++++++++++++++
 .../files/amphetamine-0.8.10-SDL-conversions.patch | 22 ++++++++
 .../files/amphetamine-0.8.10-clang.patch           | 18 +++++++
 .../files/amphetamine-0.8.10-format-string.patch   | 11 ++++
 5 files changed, 112 insertions(+)