summaryrefslogtreecommitdiffstats
path: root/network/ucarp/ucarp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ucarp/ucarp.SlackBuild')
-rw-r--r--network/ucarp/ucarp.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/network/ucarp/ucarp.SlackBuild b/network/ucarp/ucarp.SlackBuild
index 2e23d888a6..815e891e40 100644
--- a/network/ucarp/ucarp.SlackBuild
+++ b/network/ucarp/ucarp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ucarp
-# Copyright 2017 Wayne Cuddy, Fairfax, VA (USA)
+# Copyright 2020 Wayne Cuddy, Fairfax, VA (USA)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,9 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 2017
+# Initial release.
+#
+# 2020-02-10
+# Patch release to correct a bug that prevents the '-o' flag from working.
+#
+
PRGNAM=ucarp
VERSION=${VERSION:-1.5.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +77,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 <$CWD/getopt.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \