[packages/kvsns] - added fixes for 64-bit offsets and timestamps; enable 64-bit offsets/inodes everywhere
qboosh
qboosh at pld-linux.org
Thu Apr 24 20:54:05 CEST 2025
commit 321e7e853b98f3f867bd55980c413bea45aa71ce
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Apr 24 20:43:16 2025 +0200
- added fixes for 64-bit offsets and timestamps; enable 64-bit offsets/inodes everywhere
kvsns.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/kvsns.spec b/kvsns.spec
index aaacb16..fe81482 100644
--- a/kvsns.spec
+++ b/kvsns.spec
@@ -15,6 +15,7 @@ Source0: https://github.com/phdeniel/kvsns/archive/V%{version}/%{name}-%{version
Patch0: %{name}-overflow.patch
Patch1: %{name}-format.patch
Patch2: %{name}-cmake.patch
+Patch3: %{name}-types.patch
URL: https://github.com/phdeniel/kvsns
%{?with_ceph:BuildRequires: ceph-devel}
BuildRequires: cmake >= 2.6.4
@@ -62,13 +63,14 @@ Pliki nagłówkowe biblioteki KVSNS.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
%build
# meson support is incomplete (no required include directories, no install), so use cmake
install -d build
cd build
# possible snprint or strncpy truncations
-CFLAGS="%{rpmcflags} -Wno-error=format-truncation -Wno-error=stringop-truncation"
+CFLAGS="%{rpmcflags} -Wno-error=format-truncation -Wno-error=stringop-truncation -D_FILE_OFFSET_BITS=64"
%cmake ..
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kvsns.git/commitdiff/321e7e853b98f3f867bd55980c413bea45aa71ce
More information about the pld-cvs-commit
mailing list