diff options
Diffstat (limited to 'dev-db/kyotocabinet')
-rw-r--r-- | dev-db/kyotocabinet/Manifest | 6 | ||||
-rw-r--r-- | dev-db/kyotocabinet/files/kyotocabinet-1.2.80-flags.patch | 34 | ||||
-rw-r--r-- | dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild | 69 | ||||
-rw-r--r-- | dev-db/kyotocabinet/kyotocabinet-1.2.80.ebuild (renamed from dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild) | 9 |
4 files changed, 42 insertions, 76 deletions
diff --git a/dev-db/kyotocabinet/Manifest b/dev-db/kyotocabinet/Manifest index 4d9e3610c401..b813fa03e094 100644 --- a/dev-db/kyotocabinet/Manifest +++ b/dev-db/kyotocabinet/Manifest @@ -3,9 +3,9 @@ AUX kyotocabinet-1.2.76-configure-8-byte-atomics.patch 1250 BLAKE2B 882c4897a406 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 AUX kyotocabinet-1.2.79-initialize-parameter-error-clang16.patch 2453 BLAKE2B 42ea518397fdb464198e5701075b6bb92f5702cc4c03f1241851ef93a18ee760fc55c96242d7f4976909e1ebd6f47f3a83513aac3b62880be2458226ef0d9f03 SHA512 5ca4c9bfede8bdc59040707379c6cc5361d6dc5218969f6f45d0d12740d59a6a1fb74a7e277d453f551601228f602941f8af6093130f56f3ef782f433b2baff1 -DIST kyotocabinet-1.2.77.tar.gz 949326 BLAKE2B faacde57e8c7fed3fb232ea6fd12b668f2d2ee352cd357d5e16e0d1740cd8f73e223964249efeae50f3ea5d0672117b2410b91ba557ebe1ac7ba4075ac28deab SHA512 f38794c11faa3f4b64097a2e314307e1a6b75ddc495103647ebe52786a689336754496e7083697417ea90436e7fad681f16440975abec9ae917874aa25153e0f +AUX kyotocabinet-1.2.80-flags.patch 1011 BLAKE2B 63047b98feead5b2ceb86282b40d8a55dec36ed01a72829241aff0956a00ab60f2a37c7fac00b0468b1613729c25a9a0188369c9d0b436256aa356250795f28e SHA512 6020c493039bf03d68b5860f7bf937e860f5d959b4305b579d1b70567f4ee2ae4915a2ccf58e87904e5109b62ac3a31b32ffa28f074ff3d9cdddbf5f55c7d53f 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-r1.ebuild 1528 BLAKE2B ab359190d3e9183700fc90c5d0441a7e3da1a1d2d984fb264b3524fcf4c03e30d277543760a39e3663a3d6691d26321ebf265dacd4ddcaffea6b95b5b29b77a3 SHA512 3d26b05e066dc4dc7d2843a0c4edd97b4f010b54b50d74394e245871fe5e704dad66458b9b7305abcecc1f741ef292b1a7e308103e28a7d662185a78a0d95e50 +DIST kyotocabinet-1.2.80.tar.gz 942543 BLAKE2B 0a2c5e14fe1362d69d5676c9a8b203bee5a7f7c077d5a9fcb90b5697f0d0cfa5081d0547bff84493f4e1e3fdf5b263f6e4929aeae816e2f567236afaa905fd14 SHA512 9fe0a92c9a76db5ce06ef4d5a551c05930f2a9c065ab695b030fdaf45692bfe88d91f1b75791f50d0772c699567744cd74f3ef407172874d4bba467989d54328 EBUILD kyotocabinet-1.2.79-r2.ebuild 1597 BLAKE2B 01c613bfb185cc5d9c6fa58c2283556116a71563cd910254116801c2889c8c56466b366b9c36dbb161208659855cd0171dc78ebfd1f92eef3cc0ac400e60aeea SHA512 48fe034868a8402863b6097059bf2280c5f49f5ca57f8a405036606926ec6ac63df5ed729c027ed6d1d01a6dc7e89a9276b982c9e1889fe52dbf7dd66e113b8f +EBUILD kyotocabinet-1.2.80.ebuild 1552 BLAKE2B 63538d1317734d060fa898c6ad95c7955d34fb6a7311901db5f3d762875561087bfadb7601eb4a4559cd6331764c9a5dd85a84583a9a4bac48a87a181f6b3ad7 SHA512 d8d4390496ac946589ecb5ee62a66077a41035a1cd5dfa7161a4626496ddd7a770b0edf363ea350bcc87a7d1dfc27138de72f7a6881b88cc718e2075fa685416 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/dev-db/kyotocabinet/files/kyotocabinet-1.2.80-flags.patch b/dev-db/kyotocabinet/files/kyotocabinet-1.2.80-flags.patch new file mode 100644 index 000000000000..d331bca2c55f --- /dev/null +++ b/dev-db/kyotocabinet/files/kyotocabinet-1.2.80-flags.patch @@ -0,0 +1,34 @@ +--- a/configure.in ++++ b/configure.in +@@ -202,28 +202,6 @@ test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS" + # Byte order + AC_C_BIGENDIAN(MYCPPFLAGS="$MYCPPFLAGS -D_MYBIGEND") + +-# System-depending optimization +-printf 'checking for 64-bit availability... ' +-if printf 'int main(void) {return 0;}' | $CC -xc -m64 -o config.tmp - >config.tmp 2>&1 +-then +- MYCFLAGS="-m64 $MYCFLAGS" +- MYCXXFLAGS="-m64 $MYCXXFLAGS" +- printf 'yes\n' +-else +- printf 'no\n' +-fi +-if test "$enable_opt" != "no" +-then +- printf 'checking for CPU optimization availability... ' +- if printf 'int main(void) {return 0;}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1 +- then +- MYCFLAGS="-march=native $MYCFLAGS" +- MYCXXFLAGS="-march=native $MYCXXFLAGS" +- printf 'yes\n' +- else +- printf 'no\n' +- fi +-fi + printf 'checking for useless warnings... ' + if printf 'int main(void) {return 0;}' | $CC -xc \ + -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1 +-- +2.44.2 + diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild deleted file mode 100644 index b8df7c141a80..000000000000 --- a/dev-db/kyotocabinet/kyotocabinet-1.2.79-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2023 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 ~loong 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.77.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.80.ebuild index c2108518f5f2..3872117c7f2c 100644 --- a/dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild +++ b/dev-db/kyotocabinet/kyotocabinet-1.2.80.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools toolchain-funcs @@ -11,7 +11,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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?] @@ -22,7 +22,8 @@ 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.80-flags.patch + "${FILESDIR}"/${PN}-1.2.79-initialize-parameter-error-clang16.patch ) src_prepare() { |