summaryrefslogtreecommitdiff
path: root/net-nntp/nzbget/files/nzbget-26.1-build-with-par2-turbo-offline.patch
blob: 1d7322862765afd9c4ed6cdef659b2e73262a29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Patch the build system to support par2-turbo downloaded into the source
directory.
--- a/cmake/par2-turbo.cmake
+++ b/cmake/par2-turbo.cmake
@@ -42,11 +42,7 @@ endif()
 ExternalProject_add(
 	par2-turbo
 	PREFIX			par2-turbo
-	GIT_REPOSITORY	https://github.com/nzbgetcom/par2cmdline-turbo.git
-	GIT_TAG			v1.4.0-20260323
-	TLS_VERIFY		TRUE
-	GIT_SHALLOW		TRUE
-	GIT_PROGRESS	TRUE
+	URL par2-turbo
 	DOWNLOAD_EXTRACT_TIMESTAMP	TRUE
 	BUILD_BYPRODUCTS ${PAR2_LIBS}
 	CMAKE_ARGS		 ${CMAKE_ARGS}