diff options
author | jperkin <jperkin> | 2013-12-10 11:48:54 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-12-10 11:48:54 +0000 |
commit | 39a92e49a2f0526c76e030768e81d6cd2a0e69d2 (patch) | |
tree | a7166d9e021c9a0a22cb70ecb891b629ca6e8572 /emulators | |
parent | fe7fd53b58b12c4b4fca5ec362781134a6f45071 (diff) | |
download | pkgsrc-39a92e49a2f0526c76e030768e81d6cd2a0e69d2.tar.gz |
Fix build on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/xm7/distinfo | 4 | ||||
-rw-r--r-- | emulators/xm7/patches/patch-ad | 18 |
2 files changed, 16 insertions, 6 deletions
diff --git a/emulators/xm7/distinfo b/emulators/xm7/distinfo index 70ec7f9aa6d..2926d011545 100644 --- a/emulators/xm7/distinfo +++ b/emulators/xm7/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2012/06/23 19:32:00 dholland Exp $ +$NetBSD: distinfo,v 1.15 2013/12/10 11:48:54 jperkin Exp $ SHA1 (xm71020s.zip) = 9a222f210de4d1107a966f4b739e3cb498504ece RMD160 (xm71020s.zip) = c65938b33081a7563dc13b0265b6f849ba4929e9 @@ -6,5 +6,5 @@ Size (xm71020s.zip) = 289896 bytes SHA1 (patch-aa) = b49f4dac3dde6395fcf1d4ab0c987d577e5e9ce4 SHA1 (patch-ab) = 4e6cc9113e25eca32a1f672b82b3c07ed141a5b7 SHA1 (patch-ac) = 5a2dd19976d117651860d7ee5b83afe762050001 -SHA1 (patch-ad) = d92ce48806c57a8cf0447f3e647202709e9a63d3 +SHA1 (patch-ad) = 9b0a2187b1af22a743ffdf2caceaed5fac40df89 SHA1 (patch-ae) = ee3a92da9301db4aca1b9eff7b4850f17334345c diff --git a/emulators/xm7/patches/patch-ad b/emulators/xm7/patches/patch-ad index 805c4ba7354..d415cf3134c 100644 --- a/emulators/xm7/patches/patch-ad +++ b/emulators/xm7/patches/patch-ad @@ -1,14 +1,24 @@ -$NetBSD: patch-ad,v 1.2 2006/01/12 21:05:19 joerg Exp $ +$NetBSD: patch-ad,v 1.3 2013/12/10 11:48:55 jperkin Exp $ ---- xw_snd.cpp.orig 2000-03-22 16:01:00.000000000 +0000 +Fix includes on SunOS. + +--- xw_snd.cpp.orig 2001-03-22 16:02:00.000000000 +0000 +++ xw_snd.cpp -@@ -22,8 +22,10 @@ +@@ -8,6 +8,7 @@ + #include <assert.h> + #include <stdlib.h> + #include <string.h> ++#include <strings.h> + #include "xm7.h" + #include "opn.h" + #include "device.h" +@@ -22,8 +23,10 @@ #include <fcntl.h> #include <sys/ioctl.h> #include <sys/time.h> -#ifdef __FreeBSD__ -#include <machine/soundcard.h> -+#if defined(__FreeBSD__) || defined(__DragonFly__) ++#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__sun) +#include <sys/soundcard.h> +#elif defined(__NetBSD__) || defined(__OpenBSD__) +#include <soundcard.h> |