commit: 9b80cc03dc6919d7c1962146946d1281ee24f693 Author: Kacper KoĆodziej <kacper <AT> kolodziej <DOT> in> AuthorDate: Sun Sep 18 09:13:43 2016 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Sep 18 10:03:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b80cc03
media-sound/nted: fix -Wnarrowing error, bug #594056 Gentoo-bug: 594056 Closes: https://github.com/gentoo/gentoo/pull/2353 Signed-off-by: David Seifert <soap <AT> gentoo.org> media-sound/nted/files/nted-1.10.18-cpp14.patch | 11 +++++++++++ media-sound/nted/nted-1.10.18-r3.ebuild | 1 + 2 files changed, 12 insertions(+) diff --git a/media-sound/nted/files/nted-1.10.18-cpp14.patch b/media-sound/nted/files/nted-1.10.18-cpp14.patch new file mode 100644 index 00000000..04a2a15 --- /dev/null +++ b/media-sound/nted/files/nted-1.10.18-cpp14.patch @@ -0,0 +1,11 @@ +--- idiotseditor/idiotseditor.cpp.dist 2016-09-18 10:47:58.933319888 +0200 ++++ idiotseditor/idiotseditor.cpp 2016-09-18 10:48:28.852321336 +0200 +@@ -2538,7 +2538,7 @@ + + #define BAR_COLOR 0, 0, 0 + #define NOMINATOR_COLOR 0, 0, 204 +-#define HALF_COLOR 0.0, 26, 153 ++#define HALF_COLOR 0, 26, 153 + #define QUARTER_COLOR 0, 51, 127 + #define EIGHTS_COLOR 127, 77, 102 + #define COLOR_16 0, 102, 77 diff --git a/media-sound/nted/nted-1.10.18-r3.ebuild b/media-sound/nted/nted-1.10.18-r3.ebuild index 495a5d2..ddf3285 100644 --- a/media-sound/nted/nted-1.10.18-r3.ebuild +++ b/media-sound/nted/nted-1.10.18-r3.ebuild @@ -41,6 +41,7 @@ PATCHES=( "${FILESDIR}/${P}-lilypond-tremolo.patch" # bug #437540 "${FILESDIR}/${P}-automake-1.12.patch" # bug #459466 "${FILESDIR}/${P}-freetype.patch" # bug #514522 + "${FILESDIR}/${P}-cpp14.patch" # bug #594056 ) src_prepare() {
