sys-fs/squashfs-tools: Fix building with GCC 5
authorDavid Seifert <soap@gentoo.org>
Tue, 20 Dec 2016 21:34:07 +0000 (22:34 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 20 Dec 2016 21:34:07 +0000 (22:34 +0100)
Gentoo-bug: 595290

Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-fs/squashfs-tools/squashfs-tools-4.3-r1.ebuild
sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild
sys-fs/squashfs-tools/squashfs-tools-4.3.ebuild

index 9a3ccd0b8143f90fd5fd811443c4bc7c2d735997..19db0eb6a84f97e38cbe5e2a1d9c57d6585104ab 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-inherit eutils toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs
 
 DEB_VER="3"
 
@@ -40,6 +40,10 @@ src_prepare() {
 use10() { usex $1 1 0 ; }
 
 src_configure() {
+       # restore GNU89 inline semantics to
+       # emit function symbols, bug 595290
+       append-cflags -std=gnu89
+
        # set up make command line variables in EMAKE_SQUASHFS_CONF
        EMAKE_SQUASHFS_CONF=(
                LZMA_XZ_SUPPORT=$(use10 lzma)
index 8306efed2eaed954cae7a6b45013ebc2465cc49f..0de670852a0153a9a2068939afb6ca8f570fdf1a 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit eutils toolchain-funcs flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
 
 DEB_VER="3"
 
@@ -43,6 +43,10 @@ src_prepare() {
 use10() { usex $1 1 0 ; }
 
 src_configure() {
+       # restore GNU89 inline semantics to
+       # emit function symbols, bug 595290
+       append-cflags -std=gnu89
+
        # set up make command line variables in EMAKE_SQUASHFS_CONF
        EMAKE_SQUASHFS_CONF=(
                LZMA_XZ_SUPPORT=$(use10 lzma)
index 9d62b792264cca63af731ea9cb412947ed5fcf50..a902386ca81f6079df20aae2b44516b67b7fcafe 100644 (file)
@@ -1,9 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils toolchain-funcs
+
+inherit eutils flag-o-matic toolchain-funcs
 
 DESCRIPTION="Tool for creating compressed filesystem type squashfs"
 HOMEPAGE="http://squashfs.sourceforge.net"
@@ -34,6 +35,10 @@ src_prepare() {
 use10() { usex $1 1 2 ; }
 
 src_configure() {
+       # restore GNU89 inline semantics to
+       # emit function symbols, bug 595290
+       append-cflags -std=gnu89
+
        # set up make command line variables in EMAKE_SQUASHFS_CONF
        EMAKE_SQUASHFS_CONF=(
                LZMA_XZ_SUPPORT=$(use10 lzma)