summaryrefslogtreecommitdiff
path: root/audio/cdparanoia/patches/patch-cc
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cdparanoia/patches/patch-cc')
-rw-r--r--audio/cdparanoia/patches/patch-cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/cdparanoia/patches/patch-cc b/audio/cdparanoia/patches/patch-cc
index 4e2e5f2119a..d5be64a5eba 100644
--- a/audio/cdparanoia/patches/patch-cc
+++ b/audio/cdparanoia/patches/patch-cc
@@ -1,8 +1,8 @@
-$NetBSD: patch-cc,v 1.2 2000/01/28 07:18:38 rh Exp $
+$NetBSD: patch-cc,v 1.3 2003/10/20 12:07:23 grant Exp $
---- interface/utils.h.orig Mon Aug 16 00:13:44 1999
-+++ interface/utils.h Fri Jan 28 08:04:27 2000
-@@ -1,4 +1,16 @@
+--- interface/utils.h.orig 2000-04-20 08:41:04.000000000 +1000
++++ interface/utils.h
+@@ -1,4 +1,18 @@
+#ifdef __linux__
#include <endian.h>
+#endif
@@ -15,6 +15,8 @@ $NetBSD: patch-cc,v 1.2 2000/01/28 07:18:38 rh Exp $
+#include <machine/bswap.h>
+#endif
+#include <err.h> /* XXX */
++#elif defined(__FreeBSD__)
++#include <machine/endian.h>
+#endif
#include <stdio.h>
#include <errno.h>