app-office/gnucash: Append -Wno-error for 3.3+
authorAlec Ten Harmsel <alec@alectenharmsel.com>
Wed, 24 Apr 2019 18:30:21 +0000 (14:30 -0400)
committerAaron W. Swenson <titanofold@gentoo.org>
Tue, 21 May 2019 13:52:26 +0000 (09:52 -0400)
GCC 8.3.0 issues some warnings for Gnucash 3.3+, causing build failures.

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Alec Ten Harmsel <alec@alectenharmsel.com>
Closes: https://bugs.gentoo.org/684286
Closes: https://github.com/gentoo/gentoo/pull/11817
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
app-office/gnucash/gnucash-3.3-r1.ebuild
app-office/gnucash/gnucash-3.3.ebuild
app-office/gnucash/gnucash-3.4.ebuild
app-office/gnucash/gnucash-3.5.ebuild

index 982eb4a96333d756ba7b6eea932bda0d6753be9d..89dcc50498b525d02ed9247f5d6d439a3960b658 100644 (file)
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/"
@@ -109,6 +109,8 @@ src_configure() {
                -DWITH_GNUCASH=$(usex gui)
        )
 
+       append-cflags -Wno-error
+       append-cxxflags -Wno-error
        cmake-utils_src_configure
 }
 
index cdbe0c78c6407b940b934b79f246734f54888faa..6d5c46b0c02eb227f66cd0c6848609f1501f0cab 100644 (file)
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/"
@@ -107,6 +107,8 @@ src_configure() {
                -DWITH_GNUCASH=$(usex gui)
        )
 
+       append-cflags -Wno-error
+       append-cxxflags -Wno-error
        cmake-utils_src_configure
 }
 
index 85fac5c295af7fc587698c410125abf8f92935ef..b7de02ad0aa0a41dd1c9736dfdafdadc1d2eeeaf 100644 (file)
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/"
@@ -120,6 +120,8 @@ src_configure() {
                -DWITH_GNUCASH=$(usex gui)
        )
 
+       append-cflags -Wno-error
+       append-cxxflags -Wno-error
        cmake-utils_src_configure
 }
 
index ca794fbd46ee0ea62287e770c30252244d3ed12d..e7521d2945dbaa39935e2b25f4bc3adbdb7b8916 100644 (file)
@@ -7,7 +7,7 @@ EAPI=6
 GV="1.8.0"
 PYTHON_COMPAT=( python3_{5,6} )
 
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
 
 DESCRIPTION="A personal finance manager"
 HOMEPAGE="http://www.gnucash.org/"