View | Details | Raw Unified | Return to bug 279396 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-p2p/transmission-components/Makefile (-4 / +5 lines)
Lines 1-6 Link Here
1
PORTNAME=	transmission
1
PORTNAME=	transmission
2
DISTVERSION=	4.0.5
2
DISTVERSION=	4.0.6
3
PORTREVISION=	2
3
PORTREVISION=	0
4
CATEGORIES=	net-p2p
4
CATEGORIES=	net-p2p
5
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
5
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
6
6
Lines 13-19 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
13
13
14
BUILD_DEPENDS=	${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \
14
BUILD_DEPENDS=	${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \
15
		${LOCALBASE}/include/fmt/format.h:devel/libfmt \
15
		${LOCALBASE}/include/fmt/format.h:devel/libfmt \
16
		${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp
16
		${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp \
17
		${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson
17
18
18
LIB_DEPENDS=	libb64.so:converters/libb64 \
19
LIB_DEPENDS=	libb64.so:converters/libb64 \
19
		libcurl.so:ftp/curl \
20
		libcurl.so:ftp/curl \
Lines 56-61 EXTRACT_AFTER_ARGS= --exclude third-party/dht \ Link Here
56
			--exclude third-party/libpsl \
57
			--exclude third-party/libpsl \
57
			--exclude third-party/libutp \
58
			--exclude third-party/libutp \
58
			--exclude third-party/miniupnpc \
59
			--exclude third-party/miniupnpc \
60
			--exclude third-party/rapidjson \
59
			--exclude third-party/utfcpp
61
			--exclude third-party/utfcpp
60
62
61
.if ${FLAVOR} == gtk
63
.if ${FLAVOR} == gtk
Lines 149-155 qt_DESC= Build QT client Link Here
149
TESTS_DESC=	Build & run unit tests
151
TESTS_DESC=	Build & run unit tests
150
utils_DESC=	Build utilities (create, edit, remote, show)
152
utils_DESC=	Build utilities (create, edit, remote, show)
151
cli_DESC=	Build command-line client (deprecated)
153
cli_DESC=	Build command-line client (deprecated)
152
#web_DESC=	Install web interface
153
154
154
NLS_USES=	gettext-runtime:lib
155
NLS_USES=	gettext-runtime:lib
155
NLS_CMAKE_BOOL=	ENABLE_NLS
156
NLS_CMAKE_BOOL=	ENABLE_NLS
(-)b/net-p2p/transmission-components/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1701995252
1
TIMESTAMP = 1717026106
2
SHA256 (transmission-4.0.5.tar.xz) = fd68ff114a479200043c30c7e69dba4c1932f7af36ca4c5b5d2edcb5866e6357
2
SHA256 (transmission-4.0.6.tar.xz) = 2a38fe6d8a23991680b691c277a335f8875bdeca2b97c6b26b598bc9c7b0c45f
3
SIZE (transmission-4.0.5.tar.xz) = 9745756
3
SIZE (transmission-4.0.6.tar.xz) = 11908296
(-)b/net-p2p/transmission-components/files/patch-cmake_FindFastFloat.cmake (-3 / +3 lines)
Lines 1-8 Link Here
1
--- cmake/FindFastFloat.cmake.orig	2023-12-08 18:49:17 UTC
1
--- cmake/FindFastFloat.cmake.orig	2024-02-22 15:48:36 UTC
2
+++ cmake/FindFastFloat.cmake
2
+++ cmake/FindFastFloat.cmake
3
@@ -2,4 +2,4 @@ target_include_directories(FastFloat::fast_float
3
@@ -2,4 +2,4 @@ target_include_directories(FastFloat::fast_float
4
 
4
 
5
 target_include_directories(FastFloat::fast_float
5
 target_include_directories(FastFloat::fast_float
6
     INTERFACE
6
     INTERFACE
7
-        ${CMAKE_CURRENT_LIST_DIR}/../third-party/fast_float/include)
7
-        ${TR_THIRD_PARTY_SOURCE_DIR}/fast_float/include)
8
+        ${CMAKE_INSTALL_PREFIX}/include)
8
+    	${CMAKE_INSTALL_PREFIX}/include)
(-)b/net-p2p/transmission-components/files/patch-cmake_FindFmt.cmake (-2 / +2 lines)
Lines 1-11 Link Here
1
--- cmake/FindFmt.cmake.orig	2023-12-16 08:06:18 UTC
1
--- cmake/FindFmt.cmake.orig	2024-04-30 16:44:38 UTC
2
+++ cmake/FindFmt.cmake
2
+++ cmake/FindFmt.cmake
3
@@ -2,7 +2,7 @@ target_include_directories(fmt::fmt-header-only
3
@@ -2,7 +2,7 @@ target_include_directories(fmt::fmt-header-only
4
 
4
 
5
 target_include_directories(fmt::fmt-header-only
5
 target_include_directories(fmt::fmt-header-only
6
     INTERFACE
6
     INTERFACE
7
-        ${CMAKE_CURRENT_LIST_DIR}/../third-party/fmt/include)
7
-        ${CMAKE_CURRENT_LIST_DIR}/../third-party/fmt/include)
8
+        ${CMAKE_INSTALL_PREFIX}/include)
8
+    	${CMAKE_INSTALL_PREFIX}/include)
9
 
9
 
10
 target_compile_definitions(fmt::fmt-header-only
10
 target_compile_definitions(fmt::fmt-header-only
11
     INTERFACE
11
     INTERFACE
(-)b/net-p2p/transmission-components/files/patch-cmake_FindUtfCpp.cmake (-3 / +3 lines)
Lines 1-8 Link Here
1
--- cmake/FindUtfCpp.cmake.orig	2023-12-16 08:24:21 UTC
1
--- cmake/FindUtfCpp.cmake.orig	2024-02-22 15:49:05 UTC
2
+++ cmake/FindUtfCpp.cmake
2
+++ cmake/FindUtfCpp.cmake
3
@@ -2,4 +2,4 @@ target_include_directories(utf8::cpp
3
@@ -2,4 +2,4 @@ target_include_directories(utf8::cpp
4
 
4
 
5
 target_include_directories(utf8::cpp
5
 target_include_directories(utf8::cpp
6
     INTERFACE
6
     INTERFACE
7
-        ${CMAKE_CURRENT_LIST_DIR}/../third-party/utfcpp/source)
7
-     ${CMAKE_CURRENT_LIST_DIR}/../third-party/utfcpp/source)
8
+        ${CMAKE_INSTALL_PREFIX}/include/utf8cpp)
8
+    	${CMAKE_INSTALL_PREFIX}/include/utf8cpp)
(-)a/net-p2p/transmission-components/files/patch-gtk_Application.cc (-11 lines)
Removed Link Here
1
--- gtk/Application.cc.orig	2023-09-19 12:12:08 UTC
2
+++ gtk/Application.cc
3
@@ -395,7 +395,7 @@ void register_magnet_link_handler()
4
             _("Couldn't register Transmission as a {content_type} handler: {error} ({error_code})"),
5
             fmt::arg("content_type", content_type),
6
             fmt::arg("error", e.what()),
7
-            fmt::arg("error_code", e.code())));
8
+            fmt::arg("error_code", static_cast<int>(e.code()))));
9
     }
10
 }
11
 
(-)a/net-p2p/transmission-components/files/patch-gtk_DetailsDialog.cc (-10 lines)
Removed Link Here
1
--- gtk/DetailsDialog.cc.orig	2023-07-05 18:51:40 UTC
2
+++ gtk/DetailsDialog.cc
3
@@ -68,6 +68,7 @@
4
 #include <ws2tcpip.h>
5
 #else
6
 #include <arpa/inet.h>
7
+#include <sys/socket.h>
8
 #endif
9
 
10
 using namespace std::literals;
(-)a/net-p2p/transmission-components/files/patch-libtransmission_file-posix.cc (-11 lines)
Removed Link Here
1
--- libtransmission/file-posix.cc.orig	2023-09-19 12:13:51 UTC
2
+++ libtransmission/file-posix.cc
3
@@ -556,7 +556,7 @@ tr_sys_file_t tr_sys_file_get_std(tr_std_sys_file_t st
4
         break;
5
 
6
     default:
7
-        TR_ASSERT_MSG(false, fmt::format(FMT_STRING("unknown standard file {:d}"), std_file));
8
+        TR_ASSERT_MSG(false, fmt::format(FMT_STRING("unknown standard file {:d}"), static_cast<int>(std_file)));
9
         tr_error_set_from_errno(error, EINVAL);
10
     }
11
 
(-)a/net-p2p/transmission-components/files/patch-libtransmission_variant-json.cc (-11 lines)
Removed Link Here
1
--- libtransmission/variant-json.cc.orig	2023-09-19 12:15:17 UTC
2
+++ libtransmission/variant-json.cc
3
@@ -99,7 +99,7 @@ void error_handler(jsonsl_t jsn, jsonsl_error_t error,
4
             fmt::arg("position", jsn->pos),
5
             fmt::arg("text", std::string_view{ buf, std::min(size_t{ 16U }, data->size - jsn->pos) }),
6
             fmt::arg("error", jsonsl_strerror(error)),
7
-            fmt::arg("error_code", error)));
8
+            fmt::arg("error_code", static_cast<int>(error))));
9
 }
10
 
11
 int error_callback(jsonsl_t jsn, jsonsl_error_t error, struct jsonsl_state_st* state, jsonsl_char_t* at)
(-)b/net-p2p/transmission/Makefile (-3 / +2 lines)
Lines 1-6 Link Here
1
PORTNAME=	transmission
1
PORTNAME=	transmission
2
DISTVERSION=	4.0.5
2
DISTVERSION=	4.0.6
3
PORTREVISION=	1
3
PORTREVISION=	0
4
CATEGORIES=	net-p2p
4
CATEGORIES=	net-p2p
5
5
6
MAINTAINER=	mondo.debater_0q@icloud.com
6
MAINTAINER=	mondo.debater_0q@icloud.com
7
- 

Return to bug 279396