summaryrefslogtreecommitdiffstats
path: root/source/n/lftp
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-05-12 19:10:12 +0000
committer Eric Hameleers <alien@slackware.com>2024-05-12 21:28:58 +0200
commitabc3e67678d77c43fe739af3ed812d558cc83435 (patch)
treea9e061d3fd40a4bff2bf8e46d18117da5179abbd /source/n/lftp
parentafc0f1e9aaa780f00b61d8c42b3a77833fbbaff8 (diff)
downloadcurrent-abc3e67678d77c43fe739af3ed812d558cc83435.tar.gz
current-abc3e67678d77c43fe739af3ed812d558cc83435.tar.xz
Sun May 12 19:10:12 UTC 202420240512191012
a/less-654-x86_64-1.txz: Upgraded. d/ninja-1.12.1-x86_64-1.txz: Upgraded. n/whois-5.5.23-x86_64-1.txz: Upgraded. Updated the .sc, .********* (.xn--yfro4i67o, Singapore) and .********************************* (.xn--clchc0ea0b2g2a9gcd, Singapore) TLD servers. extra/bittornado/bittornado-0.3.18-noarch-3.txz: Removed. Obsolete and based on python2.
Diffstat (limited to 'source/n/lftp')
-rwxr-xr-xsource/n/lftp/lftp.SlackBuild3
-rw-r--r--source/n/lftp/lftp.c99.patch22
2 files changed, 25 insertions, 0 deletions
diff --git a/source/n/lftp/lftp.SlackBuild b/source/n/lftp/lftp.SlackBuild
index 152f7eb51..cbc5c3648 100755
--- a/source/n/lftp/lftp.SlackBuild
+++ b/source/n/lftp/lftp.SlackBuild
@@ -73,6 +73,9 @@ rm -rf lftp-$VERSION
tar xvf $CWD/lftp-$VERSION.tar.xz || exit 1
cd lftp-$VERSION || exit 1
+zcat $CWD/lftp.c99.patch.gz | patch -p1 --verbose || exit 1
+touch -r aclocal.m4 configure m4/needtrio.m4
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/source/n/lftp/lftp.c99.patch b/source/n/lftp/lftp.c99.patch
new file mode 100644
index 000000000..3e3ec17ec
--- /dev/null
+++ b/source/n/lftp/lftp.c99.patch
@@ -0,0 +1,22 @@
+diff -rup a/configure b/configure
+--- a/configure 2023-02-08 21:27:48.733647760 -0500
++++ b/configure 2023-02-08 21:28:31.201222024 -0500
+@@ -57429,6 +57429,7 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
++ #include <stdio.h>
+ int main()
+ {
+ unsigned long long x=0,x1;
+diff -rup a/m4/needtrio.m4 b/m4/needtrio.m4
+--- a/m4/needtrio.m4 2016-02-20 08:57:52.000000000 -0500
++++ b/m4/needtrio.m4 2023-02-08 21:28:13.642571126 -0500
+@@ -9,6 +9,7 @@ AC_DEFUN([LFTP_NEED_TRIO],[
+ else
+
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[
++ #include <stdio.h>
+ int main()
+ {
+ unsigned long long x=0,x1;