Create urbanterror-4.2.023-nocurl.patch

This commit is contained in:
KronoZed
2016-10-07 06:57:01 +03:00
committed by GitHub
parent 63823ed199
commit 7544ac4004

View 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
}
/*