aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch
diff options
context:
space:
mode:
authorSimon Frankenberger <simon@fraho.eu>2020-11-30 21:22:13 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-12-01 14:18:32 +0000
commitfadf868d929d38297eee94b3645ef16a6e31a0a3 (patch)
tree19458efad893705669f15285312ca0dde813d424 /main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch
parent7863af47611aca65bfc3309c0e7f7a771aed8c29 (diff)
downloadaports-fadf868d929d38297eee94b3645ef16a6e31a0a3.tar.gz
aports-fadf868d929d38297eee94b3645ef16a6e31a0a3.tar.bz2
aports-fadf868d929d38297eee94b3645ef16a6e31a0a3.tar.xz
main/nagios-plugins: fix compilation with wrong mysql-import
Diffstat (limited to 'main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch')
-rw-r--r--main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch b/main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch
new file mode 100644
index 0000000000..70b4d4680c
--- /dev/null
+++ b/main/nagios-plugins/fix-compilation-warnings-about-sys-poll.patch
@@ -0,0 +1,16 @@
+Subject: Use correct poll.h import
+Author: Simon Frankenberger <simon-alpine@fraho.eu>
+
+This silences some compiler warnings
+
+--- old/plugins/common.h
++++ new/plugins/common.h
+@@ -120,7 +120,7 @@
+ #include <locale.h>
+
+ #ifdef HAVE_SYS_POLL_H
+-# include "sys/poll.h"
++# include <poll.h>
+ #endif
+
+ /*