diff options
author | Louis Sautier <sbraz@gentoo.org> | 2020-08-10 17:25:48 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2020-08-10 17:27:25 +0200 |
commit | cb227551e5510721913ddea554eb12e4a736a5f4 (patch) | |
tree | 7e5ab96f497572c48e5968247ac44abe6db539ce /net-analyzer/nagios-plugins-linux-madrisan/files | |
parent | net-analyzer/nagios-plugins-linux-madrisan: bump to v27 (diff) | |
download | gentoo-cb227551e5510721913ddea554eb12e4a736a5f4.tar.gz gentoo-cb227551e5510721913ddea554eb12e4a736a5f4.tar.bz2 gentoo-cb227551e5510721913ddea554eb12e4a736a5f4.zip |
net-analyzer/nagios-plugins-linux-madrisan: remove old
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'net-analyzer/nagios-plugins-linux-madrisan/files')
2 files changed, 0 insertions, 72 deletions
diff --git a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-25-fix-fno-common.patch b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-25-fix-fno-common.patch deleted file mode 100644 index 74bddd66e749..000000000000 --- a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-25-fix-fno-common.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 4936ca25f3e9a2875ce063033e5e8f3a3590dab2 Mon Sep 17 00:00:00 2001 -From: Davide Madrisan <davide.madrisan@gmail.com> -Date: Mon, 27 Jan 2020 22:00:41 +0100 -Subject: [PATCH] The build fails when '-fno-common' is added to CFLAGS - -As reported by 'sbraz', the build stops with the error message: - - (.bss+0x8): multiple definition of `program_name' - (.bss+0x0): multiple definition of `program_name_short' - -This flag will be apparently enabled by default in gcc 10. - -Fix this build problem by correctly referencing as extern both -the variables in the header file. - -Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com> ---- - include/progname.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/progname.h b/include/progname.h -index 576ed16..847122a 100644 ---- a/include/progname.h -+++ b/include/progname.h -@@ -25,10 +25,10 @@ extern "C" { - #endif - - /* String containing name the program is called with. */ -- const char *program_name; -+ extern const char *program_name; - - /* String containing a short version of 'program_name'. */ -- const char *program_name_short; -+ extern const char *program_name_short; - - /* Set program_name, based on argv[0]. - argv0 must be a string allocated with indefinite extent, and must not be diff --git a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-25-fix-musl-build.patch b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-25-fix-musl-build.patch deleted file mode 100644 index 3220be247319..000000000000 --- a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-25-fix-musl-build.patch +++ /dev/null @@ -1,35 +0,0 @@ -commit 72547f774641d3ed881cc957a6d6c20d5e3370ec -Author: Louis Sautier <sautier.louis@gmail.com> -Date: Mon Apr 20 16:40:08 2020 +0200 - - Fix build with musl by including limits.h when PATH_MAX is used - - Otherwise, the build fails with: - error: PATH_MAX undeclared (first use in this function) - - Bug: https://bugs.gentoo.org/717038 - -diff --git a/lib/processes.c b/lib/processes.c -index cb006ca..e65992d 100644 ---- a/lib/processes.c -+++ b/lib/processes.c -@@ -26,6 +26,7 @@ - #include <ctype.h> - #include <dirent.h> - #include <errno.h> -+#include <limits.h> - #include <pwd.h> - #include <stdio.h> - #include <stdlib.h> -diff --git a/plugins/check_fc.c b/plugins/check_fc.c -index b798377..cfaafa5 100644 ---- a/plugins/check_fc.c -+++ b/plugins/check_fc.c -@@ -22,6 +22,7 @@ - #include <dirent.h> - #include <errno.h> - #include <getopt.h> -+#include <limits.h> - #include <stdint.h> - #include <stdio.h> - #include <stdlib.h> |