From 290844d409ace33d948956aec3c542ea6f4a7b13 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 1 Oct 2022 01:09:37 +0100 Subject: gentoo auto-resync : 01:10:2022 - 01:09:37 --- app-text/pep/Manifest | 3 ++- app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch | 18 ++++++++++++++++++ app-text/pep/pep-2.8-r2.ebuild | 9 +++++---- 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch (limited to 'app-text/pep') diff --git a/app-text/pep/Manifest b/app-text/pep/Manifest index f8e8e1a1f451..cc96a74be28a 100644 --- a/app-text/pep/Manifest +++ b/app-text/pep/Manifest @@ -1,5 +1,6 @@ +AUX pep-2.8-Fix-Wimplicit-int.patch 449 BLAKE2B cf6f3d26ecc607cbcfca9fa74ee87dd26d13fbc4a9aa1f53959e41cd23f3f04e88e453c8a2c52787a4a0ccfd3a271c2965b61515256dcf39e9a956e0cec4b4d7 SHA512 3e31533dd7fc723c7284158b3ba5574f97b7e6fbc23fe8d4381b526017c488be6752c02af6ca38b1091434d5529e807dd058f4b2f34d7df41181ae615dfd3abc AUX pep-2.8-gentoo.patch 521 BLAKE2B f5dd34e1e46c40986b74e0707ce88fc2d98b6ffb8361af44c50f025696ee28fd60883faf0016b92b7f9dfab0eae0870a62a6e611ec1f727578944fee0241eba6 SHA512 f25ee35964b158dfaa22721f28f01ebcd90bca963a8564926c6050014c4104f9aaea5cf6594028d7700d8a13c95c336dbd95ea05fff9ba05245937a725d09ccc AUX pep-2.8-include.patch 239 BLAKE2B fd411d4e3753314ae93634bd24093524f364b1603671149722d31fb42e70977e3c97a76a2902a891aebd4e0f69632c5cd6da7996732195cf4a2d5005f5996fd4 SHA512 980ac8e710b2c0213c9ab6cb298274ca3eef21fdf9cd980e62530b98e913784cb5346fc13613b9723eaa6352383d31079d74749e21ac322edde86863344eff80 DIST pep-2.8.zip 84665 BLAKE2B 529ce27e819e1f4aa683516b71e1b391169647dc477980db5e6f334559f265f6427d20043edf42047286c46724cba578a961a305bfecd24cd72692ebca061e6a SHA512 553efb3f6ca113d96313cfaa7efc7142e3f87d1eb746478aa5f112bb09d6e5d863cd8fa2a34d866777d6724b525d9b94a0978842afc6198fa70fe59c2a8d1169 -EBUILD pep-2.8-r2.ebuild 1029 BLAKE2B 269e6616d63e54a4123ee3fa50e4286eb620757b2c68ef9a4f477b11913d49f20aeb5d3b036688a7ce47614011e353557432d17a1b94ebc53d5893610d762807 SHA512 eaf5362b5d8c46dcc0fd122a4e8677a31a592f2054388f48f68d48d433bd1f9c60629bedbf4d292e47fa02e36cf3df7eb767a8bd4001e7d3a6f74e5a0c915565 +EBUILD pep-2.8-r2.ebuild 1075 BLAKE2B ca4ce980f3d94c098b54f45d75a48df6beb5c3d2135417a7967b4e41fa3938cb8860761f9d6035c07994139038f76033b8793dd1c0f400220d598f0e10ae1bc7 SHA512 8bcce6649517b522d95a502f6b0b0d01a193e3d275b7a88d2834ea0bdcd328c3758fe4638e418dcd7ef290460302246a5c2a17fec5d7340ad1820e7b99c2b8ea MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch b/app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch new file mode 100644 index 000000000000..724873090c1c --- /dev/null +++ b/app-text/pep/files/pep-2.8-Fix-Wimplicit-int.patch @@ -0,0 +1,18 @@ +From: Sam James +Date: Fri, 30 Sep 2022 21:51:17 +0100 +Subject: [PATCH] Fix -Wimplicit-int + +Fixes build with Clang 16. + +Bug: https://bugs.gentoo.org/871081 +--- a/main.c ++++ b/main.c +@@ -410,7 +410,7 @@ static void dofile(int eflage) + + /*---( main )---------------------------------------------------------------*/ + +-main(int argc, char **argv) ++int main(int argc, char **argv) + { + struct stat statbuf; + unsigned int statype; diff --git a/app-text/pep/pep-2.8-r2.ebuild b/app-text/pep/pep-2.8-r2.ebuild index 288dacb2649b..6ef0fb385c28 100644 --- a/app-text/pep/pep-2.8-r2.ebuild +++ b/app-text/pep/pep-2.8-r2.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs flag-o-matic DESCRIPTION="General purpose filter and file cleaning program" HOMEPAGE="https://hannemyr.com/enjoy/pep.html" SRC_URI="https://hannemyr.com/enjoy/${PN}${PV//./}.zip -> ${P}.zip" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" @@ -15,17 +16,17 @@ KEYWORDS="amd64 ~mips ppc x86 ~x86-linux ~ppc-macos" BDEPEND="app-arch/unzip" -S=${WORKDIR} - # pep does not come with autoconf so here's a patch to configure # Makefile with the correct path PATCHES=( "${FILESDIR}"/${P}-gentoo.patch "${FILESDIR}"/${P}-include.patch + "${FILESDIR}"/${P}-Fix-Wimplicit-int.patch ) src_prepare() { default + # Darwin lacks stricmp and DIRCHAR if [[ ${CHOST} == *-darwin* ]] ; then sed -i -e '/^OBJS/s/^\(.*\)$/\1 bdmg.o/' Makefile || die -- cgit v1.2.3