commit:     232894597816812dbd20e2076a649abdbcde46f3
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Oct 11 18:27:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 19:15:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23289459

dev-libs/trio: Fix -Werror=strict-prototypes

Reference: 
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/27743
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/trio/trio-1.17.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-libs/trio/trio-1.17.ebuild b/dev-libs/trio/trio-1.17.ebuild
index a12bd3608b4d..c0cd72148b66 100644
--- a/dev-libs/trio/trio-1.17.ebuild
+++ b/dev-libs/trio/trio-1.17.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DOCS_BUILDER="doxygen"
 DOCS_DIR="doc"
 
-inherit docs
+inherit autotools docs
 
 DESCRIPTION="Portable string functions, focus on the *printf() and *scanf() 
clones"
 HOMEPAGE="https://daniel.haxx.se/projects/trio/";
@@ -16,6 +16,12 @@ LICENSE="trio"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+src_prepare() {
+       default
+       # Required to fix -Werror=strict-prototypes configure errors
+       eautoreconf
+}
+
 src_compile() {
        default
        docs_compile

Reply via email to