aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xonotic/xonotic-moncontrol.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-08-19 00:06:43 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-28 11:10:49 +0200
commit58515b5aa954684a4c9926f398ef624cfa402f51 (patch)
tree3bcf8d9b715f49929f216ce8eadfd90ef2cbab36 /testing/xonotic/xonotic-moncontrol.patch
parent4a63cde563c7dde409c8fe81a4325dc4adfdca39 (diff)
downloadaports-58515b5aa954684a4c9926f398ef624cfa402f51.tar.bz2
aports-58515b5aa954684a4c9926f398ef624cfa402f51.tar.xz
testing/xonotic: upgrade to 0.8.0
Diffstat (limited to 'testing/xonotic/xonotic-moncontrol.patch')
-rw-r--r--testing/xonotic/xonotic-moncontrol.patch23
1 files changed, 7 insertions, 16 deletions
diff --git a/testing/xonotic/xonotic-moncontrol.patch b/testing/xonotic/xonotic-moncontrol.patch
index 9d88866893..4fdd6a663b 100644
--- a/testing/xonotic/xonotic-moncontrol.patch
+++ b/testing/xonotic/xonotic-moncontrol.patch
@@ -1,21 +1,12 @@
--- 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__)
+@@ -69,9 +69,6 @@
+ else
+ moncleanup();
+ #endif
+-#elif defined(__linux__) || defined(__FreeBSD__)
+- extern int moncontrol(int);
- moncontrol(enable);
--#endif
+ #endif
}
-