From 5d0c0ffd63620a4db788484bd36ab92b76e7891b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Nov 2022 01:01:31 +0000 Subject: gentoo auto-resync : 20:11:2022 - 01:01:31 --- dev-db/Manifest.gz | Bin 15748 -> 15742 bytes dev-db/kyotocabinet/Manifest | 3 +- .../kyotocabinet-1.2.79-configure-clang16.patch | 12 ++++ dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild | 69 +++++++++++++++++++++ dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild | 68 -------------------- 5 files changed, 83 insertions(+), 69 deletions(-) create mode 100644 dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch create mode 100644 dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild delete mode 100644 dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild (limited to 'dev-db') diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz index 11a15539d34f..7aa01705afed 100644 Binary files a/dev-db/Manifest.gz and b/dev-db/Manifest.gz differ diff --git a/dev-db/kyotocabinet/Manifest b/dev-db/kyotocabinet/Manifest index f217de72aea2..3e866351074a 100644 --- a/dev-db/kyotocabinet/Manifest +++ b/dev-db/kyotocabinet/Manifest @@ -1,8 +1,9 @@ AUX fix_configure-1.2.62.patch 1668 BLAKE2B 5a572607b5c848c3616fcccac1e936f9218ace5e7f657f04583ce89e6a1a34eefdb9ffbf76a64862529afd6076444efd831b44b4d658b18fab6b402007ee0114 SHA512 cd36241bdde29f62b99b2bfcb45b592fad3d15a32a370c925e5085be18893a8ba9bb15cb55939871beb9776dc6ab7da4f2d2cf54efed6f86310f3297d33dd567 AUX kyotocabinet-1.2.76-configure-8-byte-atomics.patch 1250 BLAKE2B 882c4897a40609bbfa1183cb97e80e5ed6d95d0035c30c836e3f252962db822249f8b48934923e816a720d3cbf64a6f47f80cef77528216f3171f332ca3a350b SHA512 4833cecd6c67515e0c59d7161be6891df290ae816593de1bf35718e9c9d8691db221bec5078c5dc7cf56e55b0086d61c415e148a7ee63b2a47ac4885f6d0960e AUX kyotocabinet-1.2.76-flags.patch 894 BLAKE2B 50efb4b21f0101a942eb758213cf703460056a951617298057567d08b116c7e0a631d631eace992ff447bed5b74940d2b60a8adad373cb77fe42b8c40bfcc9fd SHA512 60a15c54994a5f338cf168feb831d858fdd2cadd16ea0c8001ef652e8502797f5920d3fed0a3ec4a6a2d817381b4690410878a18c7c859df34e26b033f48fe03 +AUX kyotocabinet-1.2.79-configure-clang16.patch 505 BLAKE2B 86113c69eb70f3d44305566119af61b773252c1fa30857f34af71ff04bc6d6574de266fe6dd716ebf031e61282788e30a076177427bd379fa209df76e86b0bd2 SHA512 aa214f0a4f207dcb667541708af41444db9a5b2e19547e0fc03228173143ccc22cbf359c8214e677530ad746c29ebacb1c48989702dec6f503063ac44b22c871 DIST kyotocabinet-1.2.77.tar.gz 949326 BLAKE2B faacde57e8c7fed3fb232ea6fd12b668f2d2ee352cd357d5e16e0d1740cd8f73e223964249efeae50f3ea5d0672117b2410b91ba557ebe1ac7ba4075ac28deab SHA512 f38794c11faa3f4b64097a2e314307e1a6b75ddc495103647ebe52786a689336754496e7083697417ea90436e7fad681f16440975abec9ae917874aa25153e0f DIST kyotocabinet-1.2.79.tar.gz 943804 BLAKE2B 8a12e6dd953a1ba995d5a60126fb2682a07be390698bf98535633af894573aafc63b55497dc869cad14eceb14824ceb4f8c471b9aa1dad51944c35eac0cf4912 SHA512 9243192c81d3aa37cc8c80eb3bdf235192a0919b134cededa2b4178be515d148916e7405e094cbcdd7dbf13bf38a569bf21863afac7cc05d6418cca5853a2ff4 EBUILD kyotocabinet-1.2.77.ebuild 1469 BLAKE2B 81e5c87898efcaa4d7a8d51229b92896975ba19d04d8359f77061e770953f0dac5543bf9d28f051b2ad17c35d45096c287efbc82bdbe263c9750911036ac7a8b SHA512 67eecba0c4beee2500bf897cddbfc583b6c0e184c0664f043a460ffd4458f0d3e7a027142b75ce30899b19fe6f81db6f4f1fed7665b8c3af1ccb79600c8c9e1a -EBUILD kyotocabinet-1.2.79.ebuild 1476 BLAKE2B a74d73b734b9ea7feb4e4bb59d9461b65c2189a9e2f56ef2bfeef3fc07cdc31db822ae7c9f7fb67b8729953ec251873f79d0370d6712bd491fd421d32a572ae9 SHA512 8908cde5deb2e32917a6f17287fef58e8a7d0256d529788a21b871cc67ec57748eafaad94b9b10047dc35bd989d408a2a2adecbf712ad706d9ded96c0e1bea8f +EBUILD kyotocabinet-1.2.79-r1.ebuild 1528 BLAKE2B a53393d99fd1b3a0484adf4346c03ac0e2dbbfbe8b0f304a4f0ee32a49a4a3469465a89e85f7d0791458dc7be7ec7b60462394a0ec7c14e7d834cc4ad3e9ddb1 SHA512 f88b68204484ddeecec5c48a3bb712823e8e218f0e77e5328cf51273db55177204fd40e6e2b9455871abc75766b56cd51321c92e8d880fcbc5b67483bf16120e MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch b/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch new file mode 100644 index 000000000000..f066cd59bb3e --- /dev/null +++ b/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/879653 +--- a/configure.in ++++ b/configure.in +@@ -194,7 +194,7 @@ test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS" + AC_C_BIGENDIAN(MYCPPFLAGS="$MYCPPFLAGS -D_MYBIGEND") + + printf 'checking for useless warnings... ' +-if printf 'main() {}' | $CC -xc \ ++if printf 'int main(void) {}' | $CC -xc \ + -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1 + then + MYCFLAGS="$MYCFLAGS -Wno-unused-but-set-variable -Wno-unused-but-set-parameter" diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild new file mode 100644 index 000000000000..4f78f7efd8c4 --- /dev/null +++ b/dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="A straightforward implementation of DBM" +HOMEPAGE="https://dbmx.net/kyotocabinet/" +SRC_URI="https://dbmx.net/kyotocabinet/pkg/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="debug doc examples +lzma +lzo static-libs" + +DEPEND="sys-libs/zlib[static-libs?] + lzma? ( app-arch/xz-utils:=[static-libs?] ) + lzo? ( dev-libs/lzo:=[static-libs?] )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/fix_configure-1.2.62.patch + "${FILESDIR}"/${PN}-1.2.76-configure-8-byte-atomics.patch + "${FILESDIR}"/${PN}-1.2.76-flags.patch + "${FILESDIR}"/${PN}-1.2.79-configure-clang16.patch +) + +src_prepare() { + default + + sed -i -e "/DOCDIR/d" Makefile.in || die + tc-export AR + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + # We need to set LD_LIBRARY_PATH which will be assigned to RUNENV later + # used by test suite + LD_LIBRARY_PATH=. \ + econf $(use_enable debug) \ + $(use_enable static-libs static) \ + $(use_enable !static-libs shared) \ + $(use_enable lzma) \ + $(use_enable lzo) +} + +src_test() { + emake -j1 check +} + +src_install() { + default + + if ! use static-libs; then + find "${ED}" -name '*.a' -delete || die + fi + + if use doc; then + dodoc -r doc/* + fi + + if use examples; then + docinto example + dodoc example/* + fi +} diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild deleted file mode 100644 index 4d737ac5ad0b..000000000000 --- a/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools toolchain-funcs - -DESCRIPTION="A straightforward implementation of DBM" -HOMEPAGE="https://dbmx.net/kyotocabinet/" -SRC_URI="https://dbmx.net/kyotocabinet/pkg/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="debug doc examples +lzma +lzo static-libs" - -DEPEND="sys-libs/zlib[static-libs?] - lzma? ( app-arch/xz-utils:=[static-libs?] ) - lzo? ( dev-libs/lzo:=[static-libs?] )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/fix_configure-1.2.62.patch - "${FILESDIR}"/${PN}-1.2.76-configure-8-byte-atomics.patch - "${FILESDIR}"/${PN}-1.2.76-flags.patch -) - -src_prepare() { - default - - sed -i -e "/DOCDIR/d" Makefile.in || die - tc-export AR - - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - # We need to set LD_LIBRARY_PATH which will be assigned to RUNENV later - # used by test suite - LD_LIBRARY_PATH=. \ - econf $(use_enable debug) \ - $(use_enable static-libs static) \ - $(use_enable !static-libs shared) \ - $(use_enable lzma) \ - $(use_enable lzo) -} - -src_test() { - emake -j1 check -} - -src_install() { - default - - if ! use static-libs; then - find "${ED}" -name '*.a' -delete || die - fi - - if use doc; then - dodoc -r doc/* - fi - - if use examples; then - docinto example - dodoc example/* - fi -} -- cgit v1.2.3