Create urbanterror-4.2.023-nocurl.patch

This commit is contained in:
KronoZed authored and GitHub committed 2016-10-07 06:57:01 +03:00
1 parent 63823ed199
commit 7544ac4004
1 file changed
+16
@@ -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
}
/*