diff options
author | joerg <joerg> | 2006-01-04 23:39:24 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-04 23:39:24 +0000 |
commit | 440e2455c005c753ee9c274b30869f0ed2adae50 (patch) | |
tree | 6c3da5003a5eb735b61a9aba6c26154a9da0e5dd /games/xnibbles/patches | |
parent | 17785dab51313a153e76bc44b9310fc6200a16c1 (diff) | |
download | pkgsrc-440e2455c005c753ee9c274b30869f0ed2adae50.tar.gz |
Use soundcard.h for OpenBSD and sys/soundcard.h for DragonFly.
Diffstat (limited to 'games/xnibbles/patches')
-rw-r--r-- | games/xnibbles/patches/patch-ab | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/xnibbles/patches/patch-ab b/games/xnibbles/patches/patch-ab index e76022b468f..8dacc96415a 100644 --- a/games/xnibbles/patches/patch-ab +++ b/games/xnibbles/patches/patch-ab @@ -1,11 +1,13 @@ -$NetBSD: patch-ab,v 1.1 1998/08/23 09:55:27 garbled Exp $ +$NetBSD: patch-ab,v 1.2 2006/01/04 23:39:24 joerg Exp $ --- sound.c.orig Sun Aug 23 02:24:57 1998 +++ sound.c Sun Aug 23 02:25:31 1998 -@@ -26,3 +26,7 @@ +@@ -26,3 +26,9 @@ #include <fcntl.h> -#include <linux/soundcard.h> -+#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__OpenBSD__) + #include <soundcard.h> ++#elif defined(__DragonFly__) ++ #include <sys/soundcard.h> +#else + #include <linux/soundcard.h> +#endif |