summaryrefslogtreecommitdiff
path: root/audio/alsa-utils/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/alsa-utils/patches/patch-ac')
-rw-r--r--audio/alsa-utils/patches/patch-ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/alsa-utils/patches/patch-ac b/audio/alsa-utils/patches/patch-ac
index 3dc36caf44d..2e6c5ab1cf6 100644
--- a/audio/alsa-utils/patches/patch-ac
+++ b/audio/alsa-utils/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1.1.1 2008/12/19 03:33:45 jmcneill Exp $
+$NetBSD: patch-ac,v 1.2 2008/12/30 14:44:14 hasso Exp $
--- aplay/formats.h.orig 2008-12-18 22:21:49.000000000 -0500
+++ aplay/formats.h
@@ -6,7 +6,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/19 03:33:45 jmcneill Exp $
#ifndef FORMATS_H
#define FORMATS_H 1
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32