openbsd-ports/audio/libmikmod/patches/patch-include_mikmod_h_in
jakemsr 1d3505c9eb use sndio instead of audio(4) for audio, although it seems nothing in
the ports tree actually uses libmikmod's audio output API.  kill
esd FLAVOR too.
ok pvalchev@ (MAINTAINER)
2010-01-11 04:25:26 +00:00

21 lines
964 B
Plaintext

$OpenBSD: patch-include_mikmod_h_in,v 1.2 2010/01/11 04:25:26 jakemsr Exp $
--- include/mikmod.h.in.orig Thu Jan 17 14:39:38 2002
+++ include/mikmod.h.in Fri Dec 18 23:53:46 2009
@@ -85,7 +85,7 @@ typedef char CHAR;
@DOES_NOT_HAVE_SIGNED@
-#if defined(__arch64__) || defined(__alpha)
+#if defined(__arch64__) || defined(__alpha) || defined(__LP64__)
/* 64 bit architectures */
typedef signed char SBYTE; /* 1 byte, signed */
@@ -669,6 +669,7 @@ MIKMODAPI extern struct MDRIVER drv_hp; /* HP-UX a
MIKMODAPI extern struct MDRIVER drv_oss; /* OpenSound System (Linux,FreeBSD...) */
MIKMODAPI extern struct MDRIVER drv_sgi; /* SGI audio library */
MIKMODAPI extern struct MDRIVER drv_sun; /* Sun/NetBSD/OpenBSD audio device */
+MIKMODAPI extern struct MDRIVER drv_sndio; /* sndio, baby! */
MIKMODAPI extern struct MDRIVER drv_dart; /* OS/2 Direct Audio RealTime */
MIKMODAPI extern struct MDRIVER drv_os2; /* OS/2 MMPM/2 */