Stop building the sun audio backend, use sdl.

ok ajacoutot, sthen
This commit is contained in:
ratchov 2015-06-27 10:10:23 +00:00
parent 54d154def5
commit c3d9e911b8
3 changed files with 26 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2014/06/17 23:57:29 bcallah Exp $
# $OpenBSD: Makefile,v 1.4 2015/06/27 10:10:23 ratchov Exp $
COMMENT = Hexen II: Hammer of Thyrion
@ -6,7 +6,7 @@ V = 1.5.6
DISTNAME = hexen2source-${V}
PKGNAME = uhexen2-${V}
EXTRACT_SUFX = .tgz
REVISION = 1
REVISION = 2
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
hexen2-${V}-linux-i586.tgz

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-engine_h2shared_snd_sys_h,v 1.1 2015/06/27 10:10:23 ratchov Exp $
--- engine/h2shared/snd_sys.h.orig Fri Jun 26 18:28:28 2015
+++ engine/h2shared/snd_sys.h Fri Jun 26 18:28:51 2015
@@ -47,7 +47,7 @@
#if defined(NO_SUN_AUDIO)
#define HAVE_SUN_SOUND 0
/* add more systems with SUN audio here */
-#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun) || defined(sun)
+#elif defined(__NetBSD__) || defined(__sun) || defined(sun)
#define HAVE_SUN_SOUND 1
#else
#define HAVE_SUN_SOUND 0

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-launcher_launcher_defs_h,v 1.1 2015/06/27 10:10:23 ratchov Exp $
--- launcher/launcher_defs.h.orig Fri Jun 26 18:29:39 2015
+++ launcher/launcher_defs.h Fri Jun 26 18:29:53 2015
@@ -76,7 +76,7 @@
#else
#define HAVE_OSS_SOUND 0
#endif
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun) || defined(sun)
+#if defined(__NetBSD__) || defined(__sun) || defined(sun)
#define HAVE_SUN_SOUND 1
#else
#define HAVE_SUN_SOUND 0