* [gentoo-commits] repo/gentoo:master commit in: net-fs/curlftpfs/, net-fs/curlftpfs/files/
@ 2019-10-10 6:56 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2019-10-10 6:56 UTC (permalink / raw
To: gentoo-commits
commit: 3e0d35af149c5a90556fd655456a2ba4e25fbaee
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 06:54:05 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 06:56:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0d35af
net-fs/curlftpfs: modernize to EAPI=7
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild | 22 ++++++++++++----------
.../files/curlftpfs-0.9.2-64bit_filesize.patch | 4 ++--
.../curlftpfs/files/curlftpfs-0.9.2-darwin.patch | 5 ++---
3 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild b/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
index ee8b52e0a00..04a3efebf10 100644
--- a/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
+++ b/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils autotools
+inherit autotools
DESCRIPTION="File system for accessing ftp hosts based on FUSE"
HOMEPAGE="http://curlftpfs.sourceforge.net/"
@@ -21,18 +21,20 @@ RDEPEND=">=net-misc/curl-7.17.0
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/${P}-64bit_filesize.patch
+ "${FILESDIR}"/${PN}-0.9.2-darwin.patch
+ "${FILESDIR}"/${PN}-0.9.2-memleak.patch
+ "${FILESDIR}"/${PN}-0.9.2-memleak-nocache.patch
+ "${FILESDIR}"/${PN}-0.9.2-fix-escaping.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-64bit_filesize.patch
- epatch "${FILESDIR}"/${PN}-0.9.2-darwin.patch
- epatch "${FILESDIR}"/${PN}-0.9.2-memleak.patch
- epatch "${FILESDIR}"/${PN}-0.9.2-memleak-nocache.patch
- epatch "${FILESDIR}"/${PN}-0.9.2-fix-escaping.patch
+ default
# automake-1.13.1 obsoletes AM_* bit #469818
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die
- epatch_user
-
eautoreconf
}
diff --git a/net-fs/curlftpfs/files/curlftpfs-0.9.2-64bit_filesize.patch b/net-fs/curlftpfs/files/curlftpfs-0.9.2-64bit_filesize.patch
index 38b6f33a2ba..256c7492370 100644
--- a/net-fs/curlftpfs/files/curlftpfs-0.9.2-64bit_filesize.patch
+++ b/net-fs/curlftpfs/files/curlftpfs-0.9.2-64bit_filesize.patch
@@ -1,5 +1,5 @@
---- ftpfs.c.old 2009-11-28 14:28:05.000000000 +0300
-+++ ftpfs.c 2009-11-28 14:28:19.000000000 +0300
+--- a/ftpfs.c 2009-11-28 14:28:05.000000000 +0300
++++ b/ftpfs.c 2009-11-28 14:28:19.000000000 +0300
@@ -503,7 +503,7 @@
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path);
diff --git a/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch b/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch
index fd0bd1f0cfe..81265920531 100644
--- a/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch
+++ b/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch
@@ -1,8 +1,7 @@
https://sourceforge.net/tracker/?func=detail&atid=816359&aid=2799820&group_id=160565
-diff -ur configure.ac configure.ac
---- configure.ac 2008-04-23 15:37:42 +0400
-+++ configure.ac 2009-06-02 09:46:05 +0400
+--- a/configure.ac 2008-04-23 15:37:42 +0400
++++ b/configure.ac 2009-06-02 09:46:05 +0400
@@ -18,6 +18,11 @@
AC_MSG_ERROR(["We need libcurl with support for FTP protocol."])
fi
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-fs/curlftpfs/, net-fs/curlftpfs/files/
@ 2020-04-10 21:04 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2020-04-10 21:04 UTC (permalink / raw
To: gentoo-commits
commit: 359a3ca4124e1983a32cfa58ba6ba27018a150f9
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 21:04:47 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 21:04:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359a3ca4
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 <AT> gentoo.org>
net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild | 3 ++-
net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild b/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
index f88478708ab..cb59baa5f70 100644
--- a/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
+++ b/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -27,6 +27,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.9.2-memleak.patch
"${FILESDIR}"/${PN}-0.9.2-memleak-nocache.patch
"${FILESDIR}"/${PN}-0.9.2-fix-escaping.patch
+ "${FILESDIR}"/${PN}-0.9.2-__off_t.patch
)
src_prepare() {
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 00000000000..796acf09155
--- /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"
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-10 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-10 21:04 [gentoo-commits] repo/gentoo:master commit in: net-fs/curlftpfs/, net-fs/curlftpfs/files/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2019-10-10 6:56 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox