aboutsummaryrefslogtreecommitdiffstats
path: root/testing/curlftpfs/001-uclibc_mod.patch
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2018-12-11 19:08:00 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-02-05 08:28:58 +0000
commitf04039399781204786e376f730b8849aea59dcd2 (patch)
tree9b8a9c3a0e690d8ae57888e8f7c054c4c50301c4 /testing/curlftpfs/001-uclibc_mod.patch
parent20380256b171efa7c66a16fbf75d842922e46f27 (diff)
downloadaports-f04039399781204786e376f730b8849aea59dcd2.tar.bz2
aports-f04039399781204786e376f730b8849aea59dcd2.tar.xz
testing/curlftpfs: new aport
Diffstat (limited to 'testing/curlftpfs/001-uclibc_mod.patch')
-rw-r--r--testing/curlftpfs/001-uclibc_mod.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/curlftpfs/001-uclibc_mod.patch b/testing/curlftpfs/001-uclibc_mod.patch
new file mode 100644
index 0000000000..8eb155618a
--- /dev/null
+++ b/testing/curlftpfs/001-uclibc_mod.patch
@@ -0,0 +1,37 @@
+diff -cr curlftpfs-0.9.2/ftpfs-ls.c curlftpfs-0.9.2-1/ftpfs-ls.c
+*** curlftpfs-0.9.2/ftpfs-ls.c 2008-04-23 12:55:41.000000000 +0200
+--- curlftpfs-0.9.2-1/ftpfs-ls.c 2009-09-24 23:19:03.000000000 +0200
+***************
+*** 58,64 ****
+ "%5s" "%*c"
+ "%1023c",
+ mode, &nlink, user, group, &size, month, day, year, file);
+! if (res < 9) {
+ res = sscanf(line,
+ "%11s"
+ "%32s" SPACES
+--- 58,64 ----
+ "%5s" "%*c"
+ "%1023c",
+ mode, &nlink, user, group, &size, month, day, year, file);
+! if (res < 8) {
+ res = sscanf(line,
+ "%11s"
+ "%32s" SPACES
+***************
+*** 69,75 ****
+ "%5s" "%*c"
+ "%1023c",
+ mode, user, group, &size, month, day, year, file);
+! if (res < 8) {
+ return 0;
+ }
+ }
+--- 69,75 ----
+ "%5s" "%*c"
+ "%1023c",
+ mode, user, group, &size, month, day, year, file);
+! if (res < 7) {
+ return 0;
+ }
+ }