diff options
author | Martin Neubauer <m.ne@gmx.net> | 2024-12-30 09:52:13 +0100 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2024-12-30 09:58:43 +0100 |
commit | 24d0fe9dc3b17ae496c4733e34efabad71bedcce (patch) | |
tree | 82da57df44ab2b574bc413ca9bf9724f0859d8a9 /ftp/libfilezilla | |
parent | games/sulis: Fix area elevation in act3 areas (diff) |
ftp/{lib}filezilla: update libfilezilla 0.47.0 -> 0.49.0, filezilla 3.67.0 -> 3.68.1
- Changed Downloads to LOCAL/pi because of new download obfuscation upstream
PR: 283371, 283373, 283374
Author: Martin Neubauer <m.ne@gmx.net>
Date: Mon Dec 30 09:52:13 2024 +0100
Changes: https://lib.filezilla-project.org/
https://filezilla-project.org/versions.php#3.68.1
Reported-by: andy@neu.net, rhurlin
Diffstat (limited to 'ftp/libfilezilla')
-rw-r--r-- | ftp/libfilezilla/Makefile | 4 | ||||
-rw-r--r-- | ftp/libfilezilla/distinfo | 6 | ||||
-rw-r--r-- | ftp/libfilezilla/files/extra-patch-lib_libfilezilla_string.hpp | 42 | ||||
-rw-r--r-- | ftp/libfilezilla/pkg-plist | 5 |
4 files changed, 49 insertions, 8 deletions
diff --git a/ftp/libfilezilla/Makefile b/ftp/libfilezilla/Makefile index 87306506b97f..d9377f7017af 100644 --- a/ftp/libfilezilla/Makefile +++ b/ftp/libfilezilla/Makefile @@ -1,7 +1,7 @@ PORTNAME= libfilezilla -PORTVERSION= 0.47.0 +PORTVERSION= 0.49.0 CATEGORIES= ftp -MASTER_SITES= https://download.filezilla-project.org/${PORTNAME}/ +MASTER_SITES= LOCAL/pi MAINTAINER= pi@FreeBSD.org COMMENT= C++ library for building platform-independent programs diff --git a/ftp/libfilezilla/distinfo b/ftp/libfilezilla/distinfo index b142fd53f8af..863b83935204 100644 --- a/ftp/libfilezilla/distinfo +++ b/ftp/libfilezilla/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713540004 -SHA256 (libfilezilla-0.47.0.tar.xz) = 618a586b613bef710a633c42bfdda61666cbb0fc8a92ad490361d0bc91c58341 -SIZE (libfilezilla-0.47.0.tar.xz) = 551484 +TIMESTAMP = 1735484885 +SHA256 (libfilezilla-0.49.0.tar.xz) = 79ff30e5124068c116c8dc8fc4581922afa2d3720f7b6bee9c8f8fe419617488 +SIZE (libfilezilla-0.49.0.tar.xz) = 554000 diff --git a/ftp/libfilezilla/files/extra-patch-lib_libfilezilla_string.hpp b/ftp/libfilezilla/files/extra-patch-lib_libfilezilla_string.hpp new file mode 100644 index 000000000000..87880be3e807 --- /dev/null +++ b/ftp/libfilezilla/files/extra-patch-lib_libfilezilla_string.hpp @@ -0,0 +1,42 @@ +--- lib/libfilezilla/string.hpp.orig 2024-10-15 12:59:21 UTC ++++ lib/libfilezilla/string.hpp +@@ -11,6 +11,39 @@ + #include <string_view> + #include <vector> + ++template<class CharT, class BaseT> ++class traits_cloner ++{ ++public: ++ using char_type = CharT; ++ ++ using base_type = BaseT; ++ using base_traits = std::char_traits<base_type>; ++ ++ static std::size_t length(char_type const* s) { ++ return base_traits::length(reinterpret_cast<base_type const*>(s)); ++ } ++ static int compare(char_type const* s1, char_type const* s2, std::size_t count) { ++ return base_traits::compare(reinterpret_cast<base_type const*>(s1), reinterpret_cast<base_type const*>(s2), count); ++ } ++ static char_type* copy(char_type* dest, char_type const* src, std::size_t count) { ++ return reinterpret_cast<char_type*>(base_traits::copy(reinterpret_cast<base_type*>(dest), reinterpret_cast<base_type const*>(src), count)); ++ } ++ static void assign( char_type& c1, char_type const& c2 ) noexcept { ++ c1 = c2; ++ } ++ static char_type const* find(char_type const* ptr, std::size_t count, char_type const& ch) { ++ return reinterpret_cast<char_type const*>(base_traits::find(reinterpret_cast<base_type const*>(ptr), count, reinterpret_cast<base_type const&>(ch))); ++ } ++ static bool eq(char_type a, char_type b) { ++ return base_traits::eq(static_cast<base_type>(a), static_cast<base_type>(b)); ++ } ++}; ++ ++template<> ++class std::char_traits<uint8_t> : public traits_cloner<uint8_t, char> ++{}; ++ + /** \file + * \brief String types and assorted functions. + * diff --git a/ftp/libfilezilla/pkg-plist b/ftp/libfilezilla/pkg-plist index 0aba8a734d84..7cebbcd4b688 100644 --- a/ftp/libfilezilla/pkg-plist +++ b/ftp/libfilezilla/pkg-plist @@ -60,10 +60,9 @@ include/libfilezilla/util.hpp include/libfilezilla/version.hpp include/libfilezilla/visibility_helper.hpp include/libfilezilla/xml.hpp -lib/libfilezilla.a lib/libfilezilla.so -lib/libfilezilla.so.43 -lib/libfilezilla.so.43.0.0 +lib/libfilezilla.so.46 +lib/libfilezilla.so.46.0.0 libdata/pkgconfig/libfilezilla.pc share/locale/an/LC_MESSAGES/libfilezilla.mo share/locale/ar/LC_MESSAGES/libfilezilla.mo |