diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-12-08 22:09:43 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-12-08 22:09:43 -0600 |
commit | dd751ad27963646ad7c65fb054e5dd46544c2cee (patch) | |
tree | 300051446ee595e8d24cf2e599f7e750dff8ae0a /testing/xonotic/xonotic-moncontrol.patch | |
parent | f1dd1a2cf2485e85e05412aeeb2d1bb236f7ce77 (diff) | |
download | aports-dd751ad27963646ad7c65fb054e5dd46544c2cee.tar.bz2 aports-dd751ad27963646ad7c65fb054e5dd46544c2cee.tar.xz |
testing/xonotic: new aport
Diffstat (limited to 'testing/xonotic/xonotic-moncontrol.patch')
-rw-r--r-- | testing/xonotic/xonotic-moncontrol.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/xonotic/xonotic-moncontrol.patch b/testing/xonotic/xonotic-moncontrol.patch new file mode 100644 index 0000000000..9d88866893 --- /dev/null +++ b/testing/xonotic/xonotic-moncontrol.patch @@ -0,0 +1,21 @@ +--- Xonotic.orig/source/darkplaces/sys_shared.c ++++ Xonotic/source/darkplaces/sys_shared.c +@@ -50,18 +50,8 @@ + exit(returnvalue); + } + +-#if defined(__linux__) || defined(__FreeBSD__) +-#ifdef __cplusplus +-extern "C" +-#endif +-int moncontrol(int); +-#endif +- + void Sys_AllowProfiling(qboolean enable) + { +-#if defined(__linux__) || defined(__FreeBSD__) +- moncontrol(enable); +-#endif + } + + |