summaryrefslogtreecommitdiffstats
path: root/source/n/tftp-hpa/tftp-hpa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/tftp-hpa/tftp-hpa.SlackBuild')
-rwxr-xr-xsource/n/tftp-hpa/tftp-hpa.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/n/tftp-hpa/tftp-hpa.SlackBuild b/source/n/tftp-hpa/tftp-hpa.SlackBuild
index 86e362d00..fda5eb291 100755
--- a/source/n/tftp-hpa/tftp-hpa.SlackBuild
+++ b/source/n/tftp-hpa/tftp-hpa.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2013, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2013, 2018, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -64,6 +64,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Add -fcommon to CFLAGS:
+zcat $CWD/tftp-hpa.fcommon.diff.gz | patch -p1 --verbose || exit 1
+
./configure --prefix=/usr
make $NUMJOBS || make || exit 1