diff options
Diffstat (limited to 'dev-libs/libcss/libcss-0.6.1.ebuild')
-rw-r--r-- | dev-libs/libcss/libcss-0.6.1.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-libs/libcss/libcss-0.6.1.ebuild b/dev-libs/libcss/libcss-0.6.1.ebuild index b3c161ed1d22..349ae41ed4dc 100644 --- a/dev-libs/libcss/libcss-0.6.1.ebuild +++ b/dev-libs/libcss/libcss-0.6.1.ebuild @@ -19,3 +19,12 @@ RDEPEND=">=dev-libs/libparserutils-0.2.1-r1[static-libs?,${MULTILIB_USEDEP}] DEPEND="${RDEPEND} virtual/pkgconfig test? ( dev-lang/perl )" + +src_prepare() { + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i src/parse/parse.c || die + sed -e '1i#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"' \ + -i src/parse/parse.c src/select/computed.c || die + + netsurf_src_prepare +} |