diff options
author | Milan P. Stanić <mps@arvanta.net> | 2018-12-11 19:08:00 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-02-05 08:28:58 +0000 |
commit | f04039399781204786e376f730b8849aea59dcd2 (patch) | |
tree | 9b8a9c3a0e690d8ae57888e8f7c054c4c50301c4 /testing/curlftpfs/550-getpass-prototype.patch | |
parent | 20380256b171efa7c66a16fbf75d842922e46f27 (diff) | |
download | aports-f04039399781204786e376f730b8849aea59dcd2.tar.bz2 aports-f04039399781204786e376f730b8849aea59dcd2.tar.xz |
testing/curlftpfs: new aport
Diffstat (limited to 'testing/curlftpfs/550-getpass-prototype.patch')
-rw-r--r-- | testing/curlftpfs/550-getpass-prototype.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/curlftpfs/550-getpass-prototype.patch b/testing/curlftpfs/550-getpass-prototype.patch new file mode 100644 index 0000000000..6ec55eff58 --- /dev/null +++ b/testing/curlftpfs/550-getpass-prototype.patch @@ -0,0 +1,20 @@ +Description: add getpass() prototype + This function has been deprecated and is not declared with + _XOPEN_SOURCE>=600. To avoid fiddling too much with feature flags, we + just add its prototype to ensure a correct declaration. +Forwarded: no (dead upstream) +Bug: #795879 + +Index: curlftpfs-0.9.2/ftpfs.c +=================================================================== +--- curlftpfs-0.9.2.orig/ftpfs.c ++++ curlftpfs-0.9.2/ftpfs.c +@@ -36,6 +36,8 @@ + + #define MAX_BUFFER_LEN (300*1024) + ++extern char *getpass(const char *prompt); ++ + struct ftpfs ftpfs; + static char error_buf[CURL_ERROR_SIZE]; + |