From 8d647158545da166629bfe0392649001763227b5 Mon Sep 17 00:00:00 2001 From: Luis Aranguren Date: Sun, 16 Jun 2024 21:37:24 +1000 Subject: [PATCH] Added CFLAGS=-Wno-error=implicit-function-declaration to fix errors configure: WARNING: NO SHARED LATCH IMPLEMENTATION FOUND FOR THIS PLATFORM. configure: error: Unable to find a mutex implementation --- .SRCINFO | 3 +-- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 44ed69a..4d973cf 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = db4.8 pkgdesc = The Berkeley DB embedded database system 4.8 pkgver = 4.8.30 - pkgrel = 7 + pkgrel = 8 url = http://www.oracle.com/technology/software/products/berkeley-db/index.html arch = x86_64 arch = i686 @@ -28,4 +28,3 @@ pkgbase = db4.8 sha256sums = fbe47fafa17cd15b3343295c6fc191984e1baa94c1f591dc0b14a96953629437 pkgname = db4.8 - diff --git a/PKGBUILD b/PKGBUILD index 72fe2bb..aa07433 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Leslie P. Polzer pkgname=db4.8 pkgver=4.8.30 -pkgrel=7 +pkgrel=8 pkgdesc="The Berkeley DB embedded database system 4.8" arch=('x86_64' 'i686' 'pentium4' 'arm' 'armv6h' 'armv7h' 'aarch64') license=('custom') @@ -38,7 +38,7 @@ build() { cd "$srcdir/db-$pkgver/" cd "build_unix" - ../dist/configure --prefix=/usr --enable-compat185 --enable-shared --disable-static --enable-cxx + CFLAGS=-Wno-error=implicit-function-declaration ../dist/configure --prefix=/usr --enable-compat185 --enable-shared --disable-static --enable-cxx make LIBSO_LIBS=-lpthread || return 1 }