FreeBSD Bugzilla – Attachment 244951 Details for
Bug 273875
ftp/coeurl: Fix compatibility with fmt 10+
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for coeurl
ftp-coeurl-fmt10.patch (text/plain), 1.68 KB, created by
Daniel Engberg
on 2023-09-17 07:20:41 UTC
(
hide
)
Description:
Patch for coeurl
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2023-09-17 07:20:41 UTC
Size:
1.68 KB
patch
obsolete
>diff --git a/ftp/coeurl/Makefile b/ftp/coeurl/Makefile >index fd2e1535413d..b5e712acc127 100644 >--- a/ftp/coeurl/Makefile >+++ b/ftp/coeurl/Makefile >@@ -1,6 +1,7 @@ > PORTNAME= coeurl > DISTVERSIONPREFIX=v > DISTVERSION= 0.3.0 >+PORTREVISION= 1 > CATEGORIES= ftp www > > MAINTAINER= adridg@FreeBSD.org >@@ -10,13 +11,12 @@ WWW= https://nheko.im/nheko-reborn/coeurl > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > >-LIB_DEPENDS= \ >- libcurl.so:ftp/curl \ >+LIB_DEPENDS= libcurl.so:ftp/curl \ > libevent.so:devel/libevent \ >+ libfmt.so:devel/libfmt \ > libspdlog.so:devel/spdlog > >-USES= compiler:c++17-lang pkgconfig \ >- meson tar:xz >+USES= compiler:c++17-lang meson pkgconfig tar:xz > > USE_GITLAB= yes > GL_SITE= https://nheko.im/ >diff --git a/ftp/coeurl/files/patch-lib_client.cpp b/ftp/coeurl/files/patch-lib_client.cpp >new file mode 100644 >index 000000000000..e8e50673879e >--- /dev/null >+++ b/ftp/coeurl/files/patch-lib_client.cpp >@@ -0,0 +1,19 @@ >+--- lib/client.cpp.orig 2023-01-10 04:14:36 UTC >++++ lib/client.cpp >+@@ -6,6 +6,7 @@ >+ #include <thread> >+ >+ #include "coeurl/request.hpp" >++#include "coeurl/errors.hpp" >+ >+ namespace coeurl { >+ std::shared_ptr<spdlog::logger> Client::log = spdlog::null_logger_mt("coeurl_null"); >+@@ -352,7 +353,7 @@ void Client::remove_request(Request *r) { >+ long http_code; >+ curl_easy_getinfo(req->easy, CURLINFO_RESPONSE_CODE, &http_code); >+ >+- Client::log->trace("DONE: {} => {} ({}) http: {}", req->url_, req->curl_error, req->error, http_code); >++ Client::log->trace("DONE: {} => {} ({}) http: {}", req->url_, coeurl::to_string(req->curl_error), req->error, http_code); >+ >+ if (req->on_complete_) >+ req->on_complete_(*req.get());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273875
: 244951