diff options
Diffstat (limited to 'network/transgui/transgui.SlackBuild')
-rw-r--r-- | network/transgui/transgui.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/network/transgui/transgui.SlackBuild b/network/transgui/transgui.SlackBuild index ca7ad023fc..b771a423c1 100644 --- a/network/transgui/transgui.SlackBuild +++ b/network/transgui/transgui.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for transgui -# Copyright 2016-2023 Jeremy Brent Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2016-2025 Jeremy Brent Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=transgui VERSION=${VERSION:-5.18.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -84,6 +81,10 @@ find -L . \ # https://github.com/transmission-remote-gui/transgui/pull/1329 patch -p1 < $CWD/dup-obj-status.patch +# Change Windows-only code into cross-platform to allow compiling on lazarus 4.0 +# Thanks to Antonio on the notice of the breakage. +sed -i 's|h <> INVALID_HANDLE_VALUE|h >= 0|' main.pas + # Build transgui lazbuild "transgui.lpi" --lazarusdir=/usr/share/lazarus --widgetset=gtk2 |