summaryrefslogtreecommitdiff
path: root/games/q3cellshading/files/patch-code-game-q_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/q3cellshading/files/patch-code-game-q_shared.h')
-rw-r--r--games/q3cellshading/files/patch-code-game-q_shared.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/q3cellshading/files/patch-code-game-q_shared.h b/games/q3cellshading/files/patch-code-game-q_shared.h
new file mode 100644
index 000000000000..d628bf7b5a3c
--- /dev/null
+++ b/games/q3cellshading/files/patch-code-game-q_shared.h
@@ -0,0 +1,17 @@
+diff -ruN ./code/game/q_shared.h ../quake3-1.32b-BUILT/./code/game/q_shared.h
+--- ./code/game/q_shared.h Tue Aug 16 02:10:07 2005
++++ ../quake3-1.32b-BUILT/./code/game/q_shared.h Tue Aug 23 14:16:34 2005
+@@ -452,13 +452,9 @@
+ void *Hunk_Alloc( int size, ha_pref preference );
+ #endif
+
+-#ifdef __linux__
+ // https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=371
+ // custom Snd_Memset implementation for glibc memset bug workaround
+ void Snd_Memset (void* dest, const int val, const size_t count);
+-#else
+-#define Snd_Memset Com_Memset
+-#endif
+
+ #if !( defined __VECTORC )
+ void Com_Memset (void* dest, const int val, const size_t count);