[packages/reiser4progs] Rel 4

arekm arekm at pld-linux.org
Mon Mar 9 14:46:57 CET 2026


commit 1c1264edd5c872e06bafc63ba4b16a6f036fa74a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 9 14:46:44 2026 +0100

    Rel 4

 reiser4progs-file-offset-bits.patch | 13 +++++++++++++
 reiser4progs.spec                   |  5 ++++-
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/reiser4progs.spec b/reiser4progs.spec
index efe7b15..40e19a7 100644
--- a/reiser4progs.spec
+++ b/reiser4progs.spec
@@ -5,7 +5,7 @@ Summary(ru.UTF-8):	Утилиты для работы с файловой сис
 Summary(uk.UTF-8):	Утиліти для роботы з файловою системою Reiser4
 Name:		reiser4progs
 Version:	1.2.1
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/reiser4/%{name}-%{version}.tar.gz
@@ -16,6 +16,7 @@ Patch2:		%{name}-libreiser4-no-libmisc.patch
 Patch3:		%{name}-am.patch
 Patch4:		%{name}-format-security.patch
 Patch5:		%{name}-minimal.patch
+Patch6:		%{name}-file-offset-bits.patch
 URL:		http://sourceforge.net/projects/reiser4/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -97,6 +98,7 @@ Statyczne biblioteki reiser4progs.
 %patch -P3 -p1
 %patch -P4 -p1
 %patch -P5 -p1
+%patch -P6 -p1
 
 %build
 %{__libtoolize}
@@ -105,6 +107,7 @@ Statyczne biblioteki reiser4progs.
 %{__autoheader}
 %{__automake}
 %configure \
+	CFLAGS="%{rpmcflags} -std=gnu89 -DWANT_OBSOLETE_TYPEDEFS" \
 	%{!?debug:--disable-debug}
 %{__make}
 
diff --git a/reiser4progs-file-offset-bits.patch b/reiser4progs-file-offset-bits.patch
new file mode 100644
index 0000000..1715a99
--- /dev/null
+++ b/reiser4progs-file-offset-bits.patch
@@ -0,0 +1,13 @@
+--- reiser4progs-1.2.1/configure.ac.orig	2024-01-01 00:00:00.000000000 +0000
++++ reiser4progs-1.2.1/configure.ac	2024-01-01 00:00:00.000000000 +0000
+@@ -422,7 +422,9 @@
+ 	ac_cv_sys_file_offset_bits=64
+ fi
+
+-GENERIC_CFLAGS="$GENERIC_CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
++if test -n "${ac_cv_sys_file_offset_bits}" -a x${ac_cv_sys_file_offset_bits} != xunknown; then
++	GENERIC_CFLAGS="$GENERIC_CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
++fi
+
+ AC_CHECK_SIZEOF(off_t, 64, [
+ 	#include <stdio.h>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/reiser4progs.git/commitdiff/1c1264edd5c872e06bafc63ba4b16a6f036fa74a



More information about the pld-cvs-commit mailing list