[packages/lslk] Rel 7
arekm
arekm at pld-linux.org
Mon Mar 9 19:06:18 CET 2026
commit 91534b824b7b83a745d6e7603afbcd90c78e6823
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 19:06:04 2026 +0100
Rel 7
lslk.spec | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/lslk.spec b/lslk.spec
index 4840162..fc6fe11 100644
--- a/lslk.spec
+++ b/lslk.spec
@@ -2,11 +2,15 @@ Summary: A lock file lister
Summary(pl.UTF-8): Program wypisujący pliki blokujące
Name: lslk
Version: 1.29
-Release: 6
+Release: 7
License: Free
Group: Development/Debuggers
Source0: ftp://vic.cc.purdue.edu/pub/tools/unix/lslk/%{name}_%{version}_W.tar.gz
# Source0-md5: cbd17b18bb7ad435c604aa7dc2026c47
+# Debian bug #434681: add missing return value in savelock()
+Patch0: lslk-savelock-return.patch
+# Fix compilation with modern GCC (implicit int, incompatible pointer types, format strings)
+Patch1: lslk-fix-modern-gcc.patch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -22,6 +26,11 @@ blokady na lokalnych plikach (czyli aktywnych inodach).
%setup -q -c -n lslk
tar xf lslk_%{version}.tar
+cd lslk_%{version}
+%patch -P0 -p1
+%patch -P1 -p1
+cd ..
+
# force linux/proc dialect even if /proc is not mounted on builder
sed -e 's at test -r /proc/locks at true@' lslk_%{version}/Configure > c.tmp
mv -f c.tmp lslk_%{version}/Configure
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lslk.git/commitdiff/91534b824b7b83a745d6e7603afbcd90c78e6823
More information about the pld-cvs-commit
mailing list