forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-fps/urbanterror: fix building when USE=-curl is specified (bug …
…#572074) Package-Manager: portage-2.2.26
- Loading branch information
Michael Sterrett
committed
Apr 2, 2016
1 parent
2f8e9c8
commit 427bb38
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
games-fps/urbanterror/files/urbanterror-4.2.023-nocurl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
|
||
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters