mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
games-fps/urbanterror: fix building when USE=-curl is specified (bug #572074)
Package-Manager: portage-2.2.26
This commit is contained in:
16
games-fps/urbanterror/files/urbanterror-4.2.023-nocurl.patch
Normal file
16
games-fps/urbanterror/files/urbanterror-4.2.023-nocurl.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
fix building when USE=-curl is specified (bug #572074)
|
||||
|
||||
--- ./code/client/cl_main.c.orig
|
||||
+++ ./code/client/cl_main.c
|
||||
@@ -1872,7 +1872,11 @@
|
||||
}
|
||||
|
||||
qboolean CL_IsDownloading(void) {
|
||||
+#if USE_CURL
|
||||
return clc.cURLUsed;
|
||||
+#else
|
||||
+ return qfalse;
|
||||
+#endif
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -81,7 +81,9 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-${ENGINE_PV}-build.patch
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-${ENGINE_PV}-build.patch \
|
||||
"${FILESDIR}"/${PN}-${ENGINE_PV}-nocurl.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user