openbsd-ports/audio/libmikmod/patches/patch-include_mikmod_h_in

21 lines
1.0 KiB
Plaintext

$OpenBSD: patch-include_mikmod_h_in,v 1.3 2013/01/13 09:10:40 sthen Exp $
--- include/mikmod.h.in.orig Sat May 12 10:52:13 2012
+++ include/mikmod.h.in Thu Jan 10 00:26:38 2013
@@ -85,7 +85,7 @@ typedef char CHAR;
@DOES_NOT_HAVE_SIGNED@
-#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(__powerpc64__)
+#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(__powerpc64__) || defined(__LP64__)
/* 64 bit architectures */
typedef signed char SBYTE; /* 1 byte, signed */
@@ -723,6 +723,7 @@ MIKMODAPI extern struct MDRIVER drv_nas; /* Network
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 */