--- /dev/null
+--- a/filan.c
++++ b/filan.c
+@@ -30,7 +30,9 @@
+
+ /* dirty workaround so we dont get an error on AIX when being linked with
+ libwrap */
++#if _AIX
+ int allow_severity, deny_severity;
++#endif
+
+ /* global variables for configuring filan */
+ bool filan_followsymlinks;
+--- a/procan.c
++++ b/procan.c
+@@ -21,7 +21,9 @@
+
+ /* dirty workaround so we dont get an error on AIX when getting linked with
+ libwrap */
++#if _AIX
+ int allow_severity, deny_severity;
++#endif
+
+
+ int procan(FILE *outfile) {
DOCS=(
BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY
)
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.3.4-fno-common.patch
+)
pkg_setup() {
# bug #587740
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
+EAPI=7
inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="Multipurpose relay (SOcket CAT)"
PATCHES=(
"${FILESDIR}"/${PN}-1.7.3.0-filan-build.patch
"${FILESDIR}"/${PN}-1.7.3.1-stddef_h.patch
+ "${FILESDIR}"/${PN}-1.7.3.4-fno-common.patch
"${FILESDIR}"/${PN}-2.0.0_beta9-libressl.patch
)
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
)
PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.3.4-fno-common.patch
"${FILESDIR}"/${PN}-9999-stddef_h.patch
)