summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kołodziej <kacper@kolodziej.in>2016-09-25 18:20:10 +0200
committerDavid Seifert <soap@gentoo.org>2016-10-01 22:11:13 +0200
commit0917103442096f6487409686fcfa29440587e040 (patch)
treef8731f689a03519af8b38023d1f36de7cbcff038 /app-editors/fte/fte-20051115-r3.ebuild
parentdev-util/staruml-bin: new ebuild. (diff)
downloadgentoo-0917103442096f6487409686fcfa29440587e040.tar.gz
gentoo-0917103442096f6487409686fcfa29440587e040.tar.bz2
gentoo-0917103442096f6487409686fcfa29440587e040.zip
app-editors/fte: fix cpp14 compilation errors; bug #595048
Change config generating Perl script to cast int literals to char in default config file to avoid narrowing conversions. Closes: https://github.com/gentoo/gentoo/pull/2411 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-editors/fte/fte-20051115-r3.ebuild')
-rw-r--r--app-editors/fte/fte-20051115-r3.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-editors/fte/fte-20051115-r3.ebuild b/app-editors/fte/fte-20051115-r3.ebuild
index 4f8ff930364f..9818594ef2cc 100644
--- a/app-editors/fte/fte-20051115-r3.ebuild
+++ b/app-editors/fte/fte-20051115-r3.ebuild
@@ -47,7 +47,8 @@ src_prepare() {
"${FILESDIR}"/fte-gcc34 \
"${FILESDIR}"/${PN}-new_keyword.patch \
"${FILESDIR}"/${PN}-slang.patch \
- "${FILESDIR}"/${PN}-interix.patch
+ "${FILESDIR}"/${PN}-interix.patch \
+ "${FILESDIR}"/${PN}-cpp14.patch # bug #595048
[[ -e /usr/include/linux/keyboard.h ]] && \
sed /usr/include/linux/keyboard.h -e '/wait.h/d' > src/hacked_keyboard.h