openbsd-ports/games/scummvm/patches/patch-scumm_smush_smush_player_cpp

13 lines
539 B
Plaintext

$OpenBSD: patch-scumm_smush_smush_player_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
--- scumm/smush/smush_player.cpp.orig Sat Mar 26 07:14:32 2005
+++ scumm/smush/smush_player.cpp Wed Jul 27 17:37:41 2005
@@ -1177,7 +1177,7 @@ void SmushPlayer::tryOggFile(const char
char fname[260];
memcpy(fname, filename, i - filename);
strcpy(fname + (i - filename), ".ogg");
-#ifdef USE_VORBIS
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
_compressedFile.open(fname);
if (_compressedFile.isOpen()) {
int size = _compressedFile.size();