Import of pkgsrc-2014Q1

This commit is contained in:
2014-11-05 12:41:07 +01:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
$NetBSD: patch-ac,v 1.3 2011/10/02 01:20:55 dholland Exp $
$NetBSD: patch-ac,v 1.4 2014/02/16 15:37:53 wiedi Exp $
- netbsd/dragonfly/openbsd cdrom support
- silence LP64 warnings; these seem to be ok
@@ -15,7 +15,7 @@ version of the patch by accident.
#include <unistd.h>
-#ifndef __FreeBSD__
-#include <linux/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>