dev-db/kyotocabinet: drop 1.2.79-r2

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk
2024-10-22 15:37:05 +02:00
parent 739ff87732
commit 701059d52c
4 changed files with 0 additions and 114 deletions

View File

@@ -1,2 +1 @@
DIST kyotocabinet-1.2.79.tar.gz 943804 BLAKE2B 8a12e6dd953a1ba995d5a60126fb2682a07be390698bf98535633af894573aafc63b55497dc869cad14eceb14824ceb4f8c471b9aa1dad51944c35eac0cf4912 SHA512 9243192c81d3aa37cc8c80eb3bdf235192a0919b134cededa2b4178be515d148916e7405e094cbcdd7dbf13bf38a569bf21863afac7cc05d6418cca5853a2ff4
DIST kyotocabinet-1.2.80.tar.gz 942543 BLAKE2B 0a2c5e14fe1362d69d5676c9a8b203bee5a7f7c077d5a9fcb90b5697f0d0cfa5081d0547bff84493f4e1e3fdf5b263f6e4929aeae816e2f567236afaa905fd14 SHA512 9fe0a92c9a76db5ce06ef4d5a551c05930f2a9c065ab695b030fdaf45692bfe88d91f1b75791f50d0772c699567744cd74f3ef407172874d4bba467989d54328

View File

@@ -1,31 +0,0 @@
--- a/configure.in
+++ b/configure.in
@@ -193,28 +193,6 @@
# Byte order
AC_C_BIGENDIAN(MYCPPFLAGS="$MYCPPFLAGS -D_MYBIGEND")
-# System-depending optimization
-printf 'checking for 64-bit availability... '
-if printf 'main() {}' | $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 'main() {}' | $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 'main() {}' | $CC -xc \
-Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1

View File

@@ -1,12 +0,0 @@
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"

View File

@@ -1,70 +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 ~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
"${FILESDIR}"/${PN}-1.2.79-initialize-parameter-error-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
}