summaryrefslogtreecommitdiff
path: root/package/tcp_wrappers/patches/patch-weak_symbols_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcp_wrappers/patches/patch-weak_symbols_c')
-rw-r--r--package/tcp_wrappers/patches/patch-weak_symbols_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/tcp_wrappers/patches/patch-weak_symbols_c b/package/tcp_wrappers/patches/patch-weak_symbols_c
new file mode 100644
index 000000000..f169fe2af
--- /dev/null
+++ b/package/tcp_wrappers/patches/patch-weak_symbols_c
@@ -0,0 +1,14 @@
+--- tcp_wrappers_7.6.orig/weak_symbols.c 1970-01-01 00:00:00.000000000 +0100
++++ tcp_wrappers_7.6/weak_symbols.c 2009-06-05 18:45:03.000000000 +0200
+@@ -0,0 +1,11 @@
++ /*
++ * @(#) weak_symbols.h 1.5 99/12/29 23:50
++ *
++ * Author: Anthony Towns <ajt@debian.org>
++ */
++
++#ifdef HAVE_WEAKSYMS
++#include <syslog.h>
++int deny_severity = LOG_WARNING;
++int allow_severity = SEVERITY;
++#endif