dqlite: update to 1.15.1

This commit is contained in:
dkwo 2024-01-06 17:57:46 +01:00 committed by Andrew J. Hesford
parent 47225d9d83
commit ccf43b535a
2 changed files with 3 additions and 34 deletions

View file

@ -1,31 +0,0 @@
commit dcc017a506a5d616d1ff511cfc590a7255f28de1
Author: Cameron Nemo <cam@nohom.org>
Date: Wed Dec 14 15:41:15 2022 -0800
vfs: fix include on musl
On musl, this fails to compile due to -Werror=cpp:
CC src/vfs.lo
In file included from src/vfs.c:6:
/usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp]
1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
| ^~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:1314: src/vfs.lo] Error 1
Signed-off-by: Cameron Nemo <cam@nohom.org>
diff --git a/src/vfs.c b/src/vfs.c
index 03df980..1760c62 100644
--- a/src/vfs.c
+++ b/src/vfs.c
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/time.h>

View file

@ -1,7 +1,7 @@
# Template file for 'dqlite'
pkgname=dqlite
version=1.13.0
revision=2
version=1.15.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config automake libtool"
makedepends="sqlite-devel raft-devel"
@ -10,7 +10,7 @@ maintainer="Cameron Nemo <cam@nohom.org>"
license="custom:LGPL-3.0-only-linking-exception"
homepage="https://github.com/canonical/dqlite"
distfiles="https://github.com/canonical/dqlite/archive/v${version}.tar.gz"
checksum=14334a72389322d047576697f112da4cd6e1a5257d652d6162f195f2855fcd12
checksum=f5bb8bf2de732fe188bfcbb09c3c4fd02707d267734043dbb27d1215da68af4e
pre_configure() {
autoreconf -i