From 39a92e49a2f0526c76e030768e81d6cd2a0e69d2 Mon Sep 17 00:00:00 2001 From: jperkin Date: Tue, 10 Dec 2013 11:48:54 +0000 Subject: Fix build on SunOS. Patch from Sebastian Wiedenroth. --- emulators/xm7/distinfo | 4 ++-- emulators/xm7/patches/patch-ad | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'emulators') 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 + #include + #include ++#include + #include "xm7.h" + #include "opn.h" + #include "device.h" +@@ -22,8 +23,10 @@ #include #include #include -#ifdef __FreeBSD__ -#include -+#if defined(__FreeBSD__) || defined(__DragonFly__) ++#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__sun) +#include +#elif defined(__NetBSD__) || defined(__OpenBSD__) +#include -- cgit v1.2.3