[arch-commits] Commit in kyotocabinet/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:10:21 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:10:20
  Author: felixonmars
Revision: 659590

archrelease: copy trunk to community-staging-x86_64

Added:
  kyotocabinet/repos/community-staging-x86_64/
  kyotocabinet/repos/community-staging-x86_64/PKGBUILD
    (from rev 659589, kyotocabinet/trunk/PKGBUILD)
  kyotocabinet/repos/community-staging-x86_64/kyotocabinet-gcc6.patch
    (from rev 659589, kyotocabinet/trunk/kyotocabinet-gcc6.patch)

-------------------------+
 PKGBUILD                |   27 +++++++++++++++++++++++++++
 kyotocabinet-gcc6.patch |   17 +++++++++++++++++
 2 files changed, 44 insertions(+)

Copied: kyotocabinet/repos/community-staging-x86_64/PKGBUILD (from rev 659589, kyotocabinet/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:10:20 UTC (rev 659590)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander Duscheleit <jinks at archlinux.us>
+# Contributor: Joaquim Pedro (osmano807) <osmano807 at gmail.com>
+
+pkgname=kyotocabinet
+pkgver=1.2.77
+pkgrel=2
+pkgdesc="a modern implementation of DBM in C++"
+arch=('x86_64')
+url="https://fallabs.com/kyotocabinet"
+license=('LGPL3')
+depends=('zlib' 'gcc-libs')
+source=("https://fallabs.com/${pkgname}/pkg/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('f38794c11faa3f4b64097a2e314307e1a6b75ddc495103647ebe52786a689336754496e7083697417ea90436e7fad681f16440975abec9ae917874aa25153e0f')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --disable-opt
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make install DESTDIR="$pkgdir/"
+}

Copied: kyotocabinet/repos/community-staging-x86_64/kyotocabinet-gcc6.patch (from rev 659589, kyotocabinet/trunk/kyotocabinet-gcc6.patch)
===================================================================
--- community-staging-x86_64/kyotocabinet-gcc6.patch	                        (rev 0)
+++ community-staging-x86_64/kyotocabinet-gcc6.patch	2020-07-07 17:10:20 UTC (rev 659590)
@@ -0,0 +1,17 @@
+Description: fix for c++14/GCC 6 compatibility
+Author: Andreas Stührk <andy at hammerhartes.de>
+Bug-Debian: https://bugs.debian.org/811627
+Last-Update: <2016-09-24>
+
+--- kyotocabinet-1.2.76.orig/kcdbext.h
++++ kyotocabinet-1.2.76/kcdbext.h
+@@ -1278,7 +1278,7 @@ class IndexDB {
+     if (omode_ == 0) {
+       set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
+       *sp = 0;
+-      return false;
++      return nullptr;
+     }
+     if (!cache_) return db_.get(kbuf, ksiz, sp);
+     size_t dvsiz = 0;
+



More information about the arch-commits mailing list