[packages/foremost] Up to 1.5.7

arekm arekm at pld-linux.org
Mon Mar 9 19:06:56 CET 2026


commit a0984485cd3f76d8bcf41097e6a8f2bb235fbf55
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 9 19:06:39 2026 +0100

    Up to 1.5.7

 foremost.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/foremost.spec b/foremost.spec
index c972338..461e48b 100644
--- a/foremost.spec
+++ b/foremost.spec
@@ -2,14 +2,16 @@ Summary:	Recover files by "carving" them from a raw disk
 Summary(pl.UTF-8):	Odzyskiwanie plików poprzez "wykrawanie" ich z dysku
 Name:		foremost
 Version:	1.5.7
-Release:	4
+Release:	5
 License:	Public Domain
 Group:		Applications/System
-Source0:	http://foremost.sourceforge.net/pkg/%{name}-%{version}.tar.gz
+Source0:	https://ftp.debian.org/debian/pool/main/f/%{name}/%{name}_%{version}.orig.tar.gz
 # Source0-md5:	860119c49665c2a3fb2b0b1d3dbad02a
 Patch0:		%{name}-sysconfdir.patch
 Patch1:		%{name}-format-security.patch
-URL:		http://foremost.sourceforge.net/
+# Fix build with GCC 10+ default -fno-common
+Patch2:		%{name}-gcc10.patch
+URL:		https://foremost.sourceforge.net/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,6 +38,7 @@ odzyskiwania danych.
 sed -i -e 's,\r$,,' main.h
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p3
 
 %build
 %{__make} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/foremost.git/commitdiff/a0984485cd3f76d8bcf41097e6a8f2bb235fbf55



More information about the pld-cvs-commit mailing list