summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-10-02 13:21:57 +0200
committerDavid Seifert <soap@gentoo.org>2016-10-02 13:23:11 +0200
commit8fc2b29f54a92b6c66baa691ab751285be34cdb4 (patch)
tree4a1130f6aefdb18d11e1d5f7ee2bb3180221e5fa /x11-libs
parentx11-libs/wxGTK: Allow for compiling with GCC 6 (diff)
downloadgentoo-8fc2b29f54a92b6c66baa691ab751285be34cdb4.tar.gz
gentoo-8fc2b29f54a92b6c66baa691ab751285be34cdb4.tar.bz2
gentoo-8fc2b29f54a92b6c66baa691ab751285be34cdb4.zip
x11-libs/wxGTK: Allow for compiling with GCC 6
Gentoo-bug: 592436 Acked-by: Ryan Hill <rhill@gentoo.org> Package-Manager: portage-2.3.1
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild
index 49645e758df7..a9c599e3ccb5 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild
@@ -69,13 +69,15 @@ LICENSE="wxWinLL-3
doc? ( wxWinFDL-3 )"
S="${WORKDIR}/wxPython-src-${PV}"
+PATCHES=(
+ "${FILESDIR}"/${P}-webview-fixes.patch
+ "${FILESDIR}"/${P}-gcc6.patch
+)
src_prepare() {
- PATCHES=( "${FILESDIR}"/${P}-webview-fixes.patch )
-
- eapply "${PATCHES[@]}"
- eapply_user
+ default
+ local f
for f in $(find "${S}" -name configure.in); do
mv "${f}" "${f/in/ac}" || die
done