summaryrefslogtreecommitdiff
path: root/source/n/tcp_wrappers/tcp_wrappers.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/tcp_wrappers/tcp_wrappers.SlackBuild')
-rwxr-xr-xsource/n/tcp_wrappers/tcp_wrappers.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/n/tcp_wrappers/tcp_wrappers.SlackBuild b/source/n/tcp_wrappers/tcp_wrappers.SlackBuild
index a68d18a1..220686c6 100755
--- a/source/n/tcp_wrappers/tcp_wrappers.SlackBuild
+++ b/source/n/tcp_wrappers/tcp_wrappers.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -72,6 +72,8 @@ find . \
sh extract-and-patch.sh
cd tcp_wrappers_$VERSION || exit 1
+# Fix for glibc-2.32:
+sed -i "s/-DHAVE_WEAKSYMS/-DHAVE_WEAKSYMS -DHAVE_STRERROR/g" Makefile
make REAL_DAEMON_DIR=/usr/sbin linux || exit 1
strip tcpd safe_finger tcpdchk tcpdmatch try-from
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}