summaryrefslogtreecommitdiffstats
path: root/testing/xonotic/xonotic-moncontrol.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-12-08 22:09:43 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-12-08 22:09:43 -0600
commitdd751ad27963646ad7c65fb054e5dd46544c2cee (patch)
tree300051446ee595e8d24cf2e599f7e750dff8ae0a /testing/xonotic/xonotic-moncontrol.patch
parentf1dd1a2cf2485e85e05412aeeb2d1bb236f7ce77 (diff)
downloadaports-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.patch21
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 000000000..9d8886689
--- /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
+ }
+
+