diff options
author | Kacper KoĆodziej <kacper@kolodziej.in> | 2016-09-18 11:13:43 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-18 12:03:39 +0200 |
commit | 9b80cc03dc6919d7c1962146946d1281ee24f693 (patch) | |
tree | 29443405b00af30fc04ba58bd233ed92fd1bae9c | |
parent | 46534fb6572a75ccffe9cb60a888a437dd75e9ea (diff) | |
download | gentoo-9b80cc03dc6919d7c1962146946d1281ee24f693.tar.gz gentoo-9b80cc03dc6919d7c1962146946d1281ee24f693.tar.xz |
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@gentoo.org>
-rw-r--r-- | media-sound/nted/files/nted-1.10.18-cpp14.patch | 11 | ||||
-rw-r--r-- | media-sound/nted/nted-1.10.18-r3.ebuild | 1 |
2 files changed, 12 insertions, 0 deletions
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 00000000000..04a2a15977e --- /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 495a5d2254a..ddf328536f5 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() { |