summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kołodziej <kacper@kolodziej.in>2016-09-18 11:13:43 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-18 12:03:39 +0200
commit9b80cc03dc6919d7c1962146946d1281ee24f693 (patch)
tree29443405b00af30fc04ba58bd233ed92fd1bae9c /media-sound
parentnet-misc/gwget: eapi6 bump (diff)
downloadgentoo-9b80cc03dc6919d7c1962146946d1281ee24f693.tar.gz
gentoo-9b80cc03dc6919d7c1962146946d1281ee24f693.tar.bz2
gentoo-9b80cc03dc6919d7c1962146946d1281ee24f693.zip
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>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/nted/files/nted-1.10.18-cpp14.patch11
-rw-r--r--media-sound/nted/nted-1.10.18-r3.ebuild1
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 000000000000..04a2a15977e0
--- /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 495a5d2254ae..ddf328536f58 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() {