summaryrefslogtreecommitdiff
path: root/audio/xanalyser/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xanalyser/patches/patch-aa')
-rw-r--r--audio/xanalyser/patches/patch-aa22
1 files changed, 0 insertions, 22 deletions
diff --git a/audio/xanalyser/patches/patch-aa b/audio/xanalyser/patches/patch-aa
deleted file mode 100644
index 070a80307c0..00000000000
--- a/audio/xanalyser/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/04/23 03:33:26 schmonz Exp $
-
---- src/Analyser.cc.orig Wed Dec 12 16:41:57 2001
-+++ src/Analyser.cc
-@@ -8,7 +8,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
--#include <values.h>
-+#include <limits.h>
- #include <assert.h>
-
- #include <X11/Xlib.h>
-@@ -559,7 +559,7 @@
- void
- Analyser::snd2u (const int32_t* buffer, int channel)
- {
-- const double norm = (channel == MONO ? 0.5 : 1.0) / (double) MAXINT;
-+ const double norm = (channel == MONO ? 0.5 : 1.0) / (double) INT_MAX;
-
- switch (channel) {
-