[arch-commits] Commit in opendht/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Jul 16 06:51:45 UTC 2020


    Date: Thursday, July 16, 2020 @ 06:51:44
  Author: arojas
Revision: 664100

jsoncpp 1.8.3 rebuild

Modified:
  opendht/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-16 06:43:40 UTC (rev 664099)
+++ PKGBUILD	2020-07-16 06:51:44 UTC (rev 664100)
@@ -4,7 +4,7 @@
 pkgname=opendht
 epoch=1
 pkgver=1.10.1
-pkgrel=6
+pkgrel=7
 pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
 arch=(x86_64)
 url="https://github.com/savoirfairelinux/opendht"
@@ -12,11 +12,15 @@
 depends=(gnutls nettle readline argon2 restbed jsoncpp libjsoncpp.so)
 makedepends=(msgpack-c cmake cython systemd cppunit)
 optdepends=('python: to use the Python bindings')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=(d0ab4aa376ecd4ac57af78a1491cd0f466021790ebea0e00032a503d61127f323cb37f04d94f2a35797dc52051407708f49ed99be558003acc102ff017dbdf29)
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+         opendht-gcc10.patch::"https://github.com/savoirfairelinux/opendht/commit/e58fc4ef.patch")
+sha512sums=('d0ab4aa376ecd4ac57af78a1491cd0f466021790ebea0e00032a503d61127f323cb37f04d94f2a35797dc52051407708f49ed99be558003acc102ff017dbdf29'
+            'ed43ee79f350f8b86119e4336de5a28eab4c4d6eedb578d714dd51a1c8109c0a31756ea0cf807d3c6e636b8ccfb52c8c43f81220b4fd5105bd200ae76e175977')
 
 prepare() {
   mkdir -p build
+
+  patch -d $pkgname-$pkgver -p1 -i ../opendht-gcc10.patch # Fix build with GCC 10
 }
 
 build() {



More information about the arch-commits mailing list