diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-10 22:04:47 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-10 22:04:47 +0100 |
commit | 359a3ca4124e1983a32cfa58ba6ba27018a150f9 (patch) | |
tree | cdeb0d6c7a63fb46fc0cef38150836182f4a3688 /net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch | |
parent | dev-util/edb-debugger: bump up to 1.2.0 (diff) | |
download | gentoo-359a3ca4124e1983a32cfa58ba6ba27018a150f9.tar.gz gentoo-359a3ca4124e1983a32cfa58ba6ba27018a150f9.tar.bz2 gentoo-359a3ca4124e1983a32cfa58ba6ba27018a150f9.zip |
net-fs/curlftpfs: fix build failure on musl, bug #716764
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/716764
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch')
-rw-r--r-- | net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch b/net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch new file mode 100644 index 000000000000..796acf09155c --- /dev/null +++ b/net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch @@ -0,0 +1,15 @@ +musl targetsdon't define __foo_t + +https://bugs.gentoo.org/716764 +--- a/configure.ac ++++ b/configure.ac +@@ -22,6 +22,9 @@ case $host_os in + darwin*) + CFLAGS="$CFLAGS -D__off_t=off_t" + ;; ++ *musl*) ++ CFLAGS="$CFLAGS -D__off_t=off_t" ++ ;; + esac + CFLAGS="$CFLAGS -Wall -W -Wno-sign-compare -D_REENTRANT $GLIB_CFLAGS $FUSE_CFLAGS $LIBCURL_CPPFLAGS" + LIBS="$GLIB_LIBS $FUSE_LIBS $LIBCURL" |