Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1db20ed4a | ||
|
|
8a517987f7 | ||
|
|
c6355d7f40 | ||
|
|
6ec9f9e2fe |
2 changed files with 47 additions and 4 deletions
31
f42-ftbfs.patch
Normal file
31
f42-ftbfs.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
diff --git a/misc.c b/misc.c
|
||||||
|
index 9f443ea..a4bb3db 100644
|
||||||
|
--- a/misc.c
|
||||||
|
+++ b/misc.c
|
||||||
|
@@ -58,7 +58,7 @@ _PROTOTYPE(static void closePipes,(void));
|
||||||
|
_PROTOTYPE(static int dolstat,(char *path, char *buf, int len));
|
||||||
|
_PROTOTYPE(static int dostat,(char *path, char *buf, int len));
|
||||||
|
_PROTOTYPE(static int doreadlink,(char *path, char *buf, int len));
|
||||||
|
-_PROTOTYPE(static int doinchild,(int (*fn)(), char *fp, char *rbuf, int rbln));
|
||||||
|
+_PROTOTYPE(static int doinchild,(int (*fn)(char *, char *, int), char *fp, char *rbuf, int rbln));
|
||||||
|
|
||||||
|
#if defined(HASINTSIGNAL)
|
||||||
|
_PROTOTYPE(static int handleint,(int sig));
|
||||||
|
@@ -234,7 +234,7 @@ compdev(a1, a2)
|
||||||
|
|
||||||
|
static int
|
||||||
|
doinchild(fn, fp, rbuf, rbln)
|
||||||
|
- int (*fn)(); /* function to perform */
|
||||||
|
+ int (*fn)(char *, char *, int); /* function to perform */
|
||||||
|
char *fp; /* function parameter */
|
||||||
|
char *rbuf; /* response buffer */
|
||||||
|
int rbln; /* response buffer length */
|
||||||
|
@@ -296,7 +296,7 @@ doinchild(fn, fp, rbuf, rbln)
|
||||||
|
*/
|
||||||
|
struct stat _;
|
||||||
|
} r;
|
||||||
|
- int (*r_fn)();
|
||||||
|
+ int (*r_fn)(char *, char *, int);
|
||||||
|
/*
|
||||||
|
* Close sufficient open file descriptors except Pipes[0] and
|
||||||
|
* Pipes[3].
|
||||||
20
lsof.spec
20
lsof.spec
|
|
@ -1,7 +1,7 @@
|
||||||
Summary: A utility which lists open files on a Linux/UNIX system
|
Summary: A utility which lists open files on a Linux/UNIX system
|
||||||
Name: lsof
|
Name: lsof
|
||||||
Version: 4.98.0
|
Version: 4.98.0
|
||||||
Release: 4%{?dist}
|
Release: 8%{?dist}
|
||||||
License: lsof
|
License: lsof
|
||||||
URL: https://github.com/lsof-org/lsof
|
URL: https://github.com/lsof-org/lsof
|
||||||
|
|
||||||
|
|
@ -17,6 +17,7 @@ Source1: upstream2downstream.sh
|
||||||
|
|
||||||
# BZ#1260300 - move lsof man page to section 1
|
# BZ#1260300 - move lsof man page to section 1
|
||||||
Patch0: lsof-man-page-section.patch
|
Patch0: lsof-man-page-section.patch
|
||||||
|
Patch1: f42-ftbfs.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
|
|
@ -25,15 +26,14 @@ BuildRequires: groff-base
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: git
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lsof stands for LiSt Open Files, and it does just that: it lists information
|
Lsof stands for LiSt Open Files, and it does just that: it lists information
|
||||||
about files that are open by the processes running on a UNIX system.
|
about files that are open by the processes running on a UNIX system.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{lsofrh}
|
%autosetup -n %{lsofrh} -S git
|
||||||
%autopatch -p1
|
|
||||||
#%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
|
@ -53,6 +53,18 @@ install -p -m 0644 lsof.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/lsof.1
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.98.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 24 2025 Jan Rybar <jrybar@redhat.com> - 4.98.0-7
|
||||||
|
- FTBFS: stricter check, incompatible types
|
||||||
|
|
||||||
|
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.98.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.98.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.98.0-4
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.98.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue