diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-20 11:17:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-20 11:17:21 +0000 |
commit | 48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (patch) | |
tree | f88035a58c20099cf45a576fb53b0330a4754f14 /dev-libs/libcss/libcss-0.6.1.ebuild | |
parent | 0fb71e0215ed52863e462cccef73c01aff44d43d (diff) |
gentoo resync : 20.12.2017
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 +} |