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-cc14
1 files changed, 10 insertions, 4 deletions
diff --git a/audio/cdparanoia/patches/patch-cc b/audio/cdparanoia/patches/patch-cc
index 26418fc7ddb..4e2e5f2119a 100644
--- a/audio/cdparanoia/patches/patch-cc
+++ b/audio/cdparanoia/patches/patch-cc
@@ -1,13 +1,19 @@
-$NetBSD: patch-cc,v 1.1.1.1 2000/01/19 08:03:00 itohy Exp $
+$NetBSD: patch-cc,v 1.2 2000/01/28 07:18:38 rh Exp $
---- interface/utils.h.orig Mon Aug 16 07:13:44 1999
-+++ interface/utils.h Sat Jan 15 19:51:10 2000
-@@ -1,4 +1,10 @@
+--- 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 @@
+#ifdef __linux__
#include <endian.h>
+#endif
+#ifdef __NetBSD__
++#include <sys/param.h>
++#if __NetBSD_Version__ >= 104010000
+#include <sys/endian.h>
++#else
++#include <machine/endian.h>
++#include <machine/bswap.h>
++#endif
+#include <err.h> /* XXX */
+#endif
#include <stdio.h>