summaryrefslogtreecommitdiff
path: root/audio/xanalyser/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xanalyser/patches/patch-ae')
-rw-r--r--audio/xanalyser/patches/patch-ae13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/xanalyser/patches/patch-ae b/audio/xanalyser/patches/patch-ae
index bd8d78750b6..e07f782272d 100644
--- a/audio/xanalyser/patches/patch-ae
+++ b/audio/xanalyser/patches/patch-ae
@@ -1,19 +1,22 @@
-$NetBSD: patch-ae,v 1.2 2002/08/09 01:58:04 dmcmahill Exp $
+$NetBSD: patch-ae,v 1.3 2004/05/03 17:00:42 minskim Exp $
---- src/Sample.cc.orig Wed Dec 12 16:36:27 2001
+--- src/Sample.cc.orig 2001-12-12 15:36:27.000000000 -0600
+++ src/Sample.cc
-@@ -10,8 +10,8 @@
+@@ -10,8 +10,12 @@
#include <math.h>
#include <string.h>
#include <errno.h>
-#include <values.h>
--#include <endian.h>
+#include <limits.h>
++#ifdef __linux__
+ #include <endian.h>
++#else
+#include <machine/endian.h>
++#endif
#include <X11/Xlib.h>
#include <Xm/Xm.h>
-@@ -116,7 +116,7 @@ Sample::shot ()
+@@ -116,7 +120,7 @@ Sample::shot ()
if (j == 0 || j != length) // EOF
return false;