summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-11-15 22:00:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-11-15 22:00:09 +0000
commit1962d3611a6613fabe16957cffc72cb8d1f8dca6 (patch)
tree786fadd3ee81f88e21097c9ef8a736d435072a99 /games-strategy/warzone2100/files
parentfix for building gnat when older version is already installed (#86484). No -r... (diff)
downloadhistorical-1962d3611a6613fabe16957cffc72cb8d1f8dca6.tar.gz
historical-1962d3611a6613fabe16957cffc72cb8d1f8dca6.tar.bz2
historical-1962d3611a6613fabe16957cffc72cb8d1f8dca6.zip
fix compile with USE=-mp3. Patch from Harald van Dijk via bug #112483
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-strategy/warzone2100/files')
-rw-r--r--games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch b/games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch
new file mode 100644
index 000000000000..8c5f70d2aece
--- /dev/null
+++ b/games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch
@@ -0,0 +1,21 @@
+--- warzone2100-0.2.2/lib/sound/cdaudio.c
++++ warzone2100-0.2.2/lib/sound/cdaudio.c
+@@ -1,3 +1,7 @@
++#include "frame.h"
++#include "audio.h"
++#include "cdaudio.h"
++
+ #ifdef WZ_CDA
+
+ #include <SDL/SDL.h>
+@@ -19,10 +23,6 @@
+
+ #endif
+
+-#include "frame.h"
+-#include "audio.h"
+-#include "cdaudio.h"
+-
+ #ifdef WZ_CDA
+
+ SDL_CD *cdAudio_dev;