Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5eeab6e0c7 | |||
| 7b0ded0ab2 |
11
iftop-gcc15.patch
Normal file
11
iftop-gcc15.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- iftop-1.0pre4/cfgfile.h 2025-03-04 16:29:17.600348593 +0100
|
||||
+++ iftop-1.0pre4/cfgfile.h 2025-03-04 16:24:25.833994639 +0100
|
||||
@@ -13,7 +13,7 @@ typedef struct {
|
||||
int value;
|
||||
} config_enumeration_type;
|
||||
|
||||
-int read_config();
|
||||
+int read_config(char *file, int whinge_on_error);
|
||||
|
||||
char *config_get_string(const char *directive);
|
||||
int config_get_bool(const char *directive);
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 4 15:33:38 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
-
|
||||
- added patches
|
||||
fix build with gcc15
|
||||
+ iftop-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 13:35:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -33,6 +33,8 @@ Patch4: 004-iftop-unlimited_text_output.patch
|
||||
Patch5: 0001-Prefer-ncurses6w.patch
|
||||
Patch6: 006-iftop-choose_first_running_interface.patch
|
||||
Patch7: 007-iftop-declare-extern-vars.patch
|
||||
# fix build with gcc15
|
||||
Patch8: iftop-gcc15.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: libpcap-devel
|
||||
%if 0%{?suse_version} >= 1500
|
||||
@@ -61,6 +63,7 @@ network links slow.
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%patch -P 7 -p1
|
||||
%endif
|
||||
%patch -P 8 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
|
||||
Reference in New Issue
Block a user