diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
commit | 59970d0b9cd0a564851f255aebb29a9f76e39c19 (patch) | |
tree | 4ed6fa53e3016b6085c92a07d51765f4d8bfbe09 /dev-util/cutils | |
parent | 81db58116c7a9c27f54243a4d8f364c7e94c6f36 (diff) |
gentoo auto-resync : 11:10:2022 - 13:38:21
Diffstat (limited to 'dev-util/cutils')
-rw-r--r-- | dev-util/cutils/Manifest | 4 | ||||
-rw-r--r-- | dev-util/cutils/cutils-1.6-r5.ebuild (renamed from dev-util/cutils/cutils-1.6-r4.ebuild) | 18 | ||||
-rw-r--r-- | dev-util/cutils/files/cutils-1.6-ar.patch | 8 | ||||
-rw-r--r-- | dev-util/cutils/files/cutils-1.6-clang16.patch | 19 |
4 files changed, 43 insertions, 6 deletions
diff --git a/dev-util/cutils/Manifest b/dev-util/cutils/Manifest index 6ed5905d00d6..48fb14b09f44 100644 --- a/dev-util/cutils/Manifest +++ b/dev-util/cutils/Manifest @@ -1,5 +1,7 @@ +AUX cutils-1.6-ar.patch 176 BLAKE2B b8d62456bf70a704f0896f161715b0cdd8d6fbd11e05c5484174c077ce47ddd043598f197b34c92cd142859c2f3d01f96e72ac66b2df84502e079366c8da3c34 SHA512 7a625f346fbe6bc1e6a91a700003bb98fcd248668b3323755f219221afbd6b4315f10e92d5ceaac0c66a6927d7a0ce5a185879bd88bd28c434254f64d1448e35 AUX cutils-1.6-case-insensitive.patch 312 BLAKE2B 58b98dc60606dd5ad0992a233c768fc26fb7aa0edd5f8ed6af392a8c1c47a30a60303736de1dfa4fdcfdd8a989132cd7c59eb48011c84cd7fba88398a8c32c3a SHA512 d2eb81f3fece124cf0bad215f19bcaf805ee006dd673f39c3f7eae92904fbeafc77bc1fae6bc0e5f70613180ca29e015145654cfc5dab2ea75cdeb08d636335e +AUX cutils-1.6-clang16.patch 394 BLAKE2B c176d9cd9186c439af906ce720555de07ca84be9552e34712d3794ad1f0ee1da9e2b87fad85b257ff29fdd23b0bcce53804547150be8f8c8c1a5205c13e47a56 SHA512 7de05762edff245a89bba585ca14d437fc4fc5021098c56b6c58a95b7f1bf92d5625c19be8930256fb4431ca05800a13e26bea735a4883aa008927772b8ef6cb AUX cutils-infopage.patch 458 BLAKE2B 444ed84a751a5fbb0179d6ffdba3445af20ba45120c2964fb47531060fc01fcde4a40b0635b5b76e8f54a52b696414d996614eac8814e18919e9507b865cbdb1 SHA512 53fbcaec4fdaf1b7804752f952f6fa2f8715601be2ce5185557c2a1378504b7158c398f59e674eed9fc30e95e51157ce8c4c8f71e9a08c63daf97efd7210eba6 DIST cutils-1.6.tar.gz 128722 BLAKE2B a3589660c188ae4459911e73686e4322d190964fc40f802a5d1a8932c2cf1ea0b989f1f9a3f76845757e90e850b376cc8b019ddaf995b6e1648b2912cf9d531b SHA512 49a0f6ed210be01eec335903dee7ac6000bfa9d9c05a31b9a9fd6ae8534c8058d774f884d55b2b9fa029abc30beeca1866d8a74389b76158ebb216fb3dfad6eb -EBUILD cutils-1.6-r4.ebuild 1171 BLAKE2B bcaba40b8c8772509c9ac39ed71205d3f391de3d832ecc85f6f7d4eee14d555dcedb2af6ac2839cd16610d2604a7eb6b071ca8eea2a2974e37e376ca9a5de058 SHA512 8d43adf257a94faed728367bcd6a5d0367d8c8fa0444dd7de1a197b4cfc05ae081c034e5341c22ff83d0e25e315243e3dd84d39540443bb09c531d7a64eeac0d +EBUILD cutils-1.6-r5.ebuild 1288 BLAKE2B d5fe34e5cc262c0147dcf1d1559850f2971b81c2f9930599145ed65151ab4435dab1b48d38da5c91a5056400cd8ec3b63dff1f835e8bf1dc6acc510d219f56bf SHA512 8cc3a01fa1bc93bb59d1bded82afeb6384799c660d8506f52c49b202c82bd96f58c3afa13c08f12dcc73495f52c734a8bda09f9a53c7a2ec5df2490d53c562bc MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/dev-util/cutils/cutils-1.6-r4.ebuild b/dev-util/cutils/cutils-1.6-r5.ebuild index a7b7e983a7b2..8f45dcfd811b 100644 --- a/dev-util/cutils/cutils-1.6-r4.ebuild +++ b/dev-util/cutils/cutils-1.6-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 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 +inherit autotools toolchain-funcs DESCRIPTION="C language utilities" HOMEPAGE="http://www.sigala.it/sandro/software.php#cutils" @@ -13,11 +13,15 @@ LICENSE="BSD-2" SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" -BDEPEND="sys-devel/flex" +BDEPEND=" + sys-devel/flex + virtual/yacc" PATCHES=( "${FILESDIR}"/${PN}-infopage.patch "${FILESDIR}"/${P}-case-insensitive.patch + "${FILESDIR}"/${P}-ar.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() { @@ -39,10 +43,14 @@ src_prepare() { -i src/cundecl/cundecl.1 || die sed -e "/Nm/s/cdecl/cutils-cdecl/" \ -i src/cdecl/cutils-cdecl.1 || die + + eautoreconf #871402 } src_compile() { - emake CC="$(tc-getCC)" -j1 + tc-export AR #724270 + + emake -j1 } src_install() { diff --git a/dev-util/cutils/files/cutils-1.6-ar.patch b/dev-util/cutils/files/cutils-1.6-ar.patch new file mode 100644 index 000000000000..68a3372e3b01 --- /dev/null +++ b/dev-util/cutils/files/cutils-1.6-ar.patch @@ -0,0 +1,8 @@ +https://bugs.gentoo.org/724270 +--- a/lib/Makefile.in ++++ b/lib/Makefile.in +@@ -21,3 +21,3 @@ + rm -f $(LIB) +- ar rc $(LIB) $(OBJS) ++ $(AR) rc $(LIB) $(OBJS) + $(RANLIB) $(LIB) diff --git a/dev-util/cutils/files/cutils-1.6-clang16.patch b/dev-util/cutils/files/cutils-1.6-clang16.patch new file mode 100644 index 000000000000..3c40b4ccf3c0 --- /dev/null +++ b/dev-util/cutils/files/cutils-1.6-clang16.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/871402 +--- a/src/cdecl/parser.y ++++ b/src/cdecl/parser.y +@@ -46,2 +46,3 @@ + extern FILE *output_file; ++extern int yylex(void); + +--- a/src/cundecl/parser.y ++++ b/src/cundecl/parser.y +@@ -47,2 +47,3 @@ + extern FILE *output_file; ++extern int yylex(void); + +--- a/src/yyref/parser.y ++++ b/src/yyref/parser.y +@@ -50,2 +50,3 @@ + extern int lineno; ++extern int yylex(void); + |