summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/ffs_curl.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-10-28 14:05:35 +0000
committerB Stack <bgstack15@gmail.com>2019-10-28 14:05:35 +0000
commitef304a13cc18f52c47de12c9989ad4bbb89de5c6 (patch)
tree07227896792c43bd00a41d7bbabbb93870f48959 /freefilesync/debian/patches/ffs_curl.patch
parentMerge branch 'veracrypt-bump' into 'master' (diff)
parentfreefilesync: el7 use c++2a now (diff)
downloadstackrpms-ef304a13cc18f52c47de12c9989ad4bbb89de5c6.tar.gz
stackrpms-ef304a13cc18f52c47de12c9989ad4bbb89de5c6.tar.bz2
stackrpms-ef304a13cc18f52c47de12c9989ad4bbb89de5c6.zip
Merge branch 'freefilesync-bump' into 'master'
Freefilesync 10.17 See merge request bgstack15/stackrpms!95
Diffstat (limited to 'freefilesync/debian/patches/ffs_curl.patch')
-rw-r--r--freefilesync/debian/patches/ffs_curl.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/freefilesync/debian/patches/ffs_curl.patch b/freefilesync/debian/patches/ffs_curl.patch
new file mode 100644
index 0000000..2844a54
--- /dev/null
+++ b/freefilesync/debian/patches/ffs_curl.patch
@@ -0,0 +1,20 @@
+Source: AUR
+Author: Simon Brulhart
+Date: 2019-10-20 21:33:47 +0200
+Message:
+remove assertion for libcurl version >1.67 (1.66 should be safe but slower)
+The upstream release uses the curl git master branch instead of release versions. The AUR guy thinks it's acceptable to use the older version of libcurl, that is actually already released.
+Version: FreeFileSync 10.17
+diff -r -u 10.17-0/FreeFileSync/Source/afs/ftp.cpp 10.17-1/FreeFileSync/Source/afs/ftp.cpp
+--- 10.17-0/FreeFileSync/Source/afs/ftp.cpp 2019-10-17 18:37:03.000000000 +0200
++++ 10.17-1/FreeFileSync/Source/afs/ftp.cpp 2019-10-20 20:18:07.221692533 +0200
+@@ -632,7 +632,7 @@
+ curlRelPath += compFmt;
+ }
+
+- static_assert(LIBCURL_VERSION_MAJOR > 7 || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 67));
++ // static_assert(LIBCURL_VERSION_MAJOR > 7 || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 67));
+ /* 1. CURLFTPMETHOD_NOCWD requires absolute paths to unconditionally skip CWDs: https://github.com/curl/curl/pull/4382
+ 2. CURLFTPMETHOD_SINGLECWD requires absolute paths to skip one needless "CWD entry path": https://github.com/curl/curl/pull/4332
+ => https://curl.haxx.se/docs/faq.html#How_do_I_list_the_root_dir_of_an
+
bgstack15