From 7544ac4004f816894a97de1272ad1bc2b7785a91 Mon Sep 17 00:00:00 2001 From: KronoZed Date: Fri, 7 Oct 2016 06:57:01 +0300 Subject: [PATCH] Create urbanterror-4.2.023-nocurl.patch --- .../files/urbanterror-4.2.023-nocurl.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 games-fps/urbanterror/files/urbanterror-4.2.023-nocurl.patch diff --git a/games-fps/urbanterror/files/urbanterror-4.2.023-nocurl.patch b/games-fps/urbanterror/files/urbanterror-4.2.023-nocurl.patch new file mode 100644 index 0000000..b7d1f31 --- /dev/null +++ b/games-fps/urbanterror/files/urbanterror-4.2.023-nocurl.patch @@ -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 + } + + /*