diff options
-rw-r--r-- | audio/xanalyser/distinfo | 3 | ||||
-rw-r--r-- | audio/xanalyser/patches/patch-ac | 39 |
2 files changed, 41 insertions, 1 deletions
diff --git a/audio/xanalyser/distinfo b/audio/xanalyser/distinfo index 1c0166498af..418d9b3398e 100644 --- a/audio/xanalyser/distinfo +++ b/audio/xanalyser/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.9 2005/12/11 20:46:50 joerg Exp $ +$NetBSD: distinfo,v 1.10 2008/08/02 19:33:21 dholland Exp $ SHA1 (xanalyser-1.24.tar.bz2) = 0b261568b8573d81b7e99980c2ffede6be683bdb RMD160 (xanalyser-1.24.tar.bz2) = 9fa7c1ae489be127ca8e519168eb7b48bbabab24 Size (xanalyser-1.24.tar.bz2) = 73451 bytes SHA1 (patch-aa) = c0504392de44bcde7235bf6e5617764ae34b1ec4 SHA1 (patch-ab) = 505f9814afdad9aa558ccf980321805f66d8c9e3 +SHA1 (patch-ac) = 71cad35978414fc2ce1a339b97d22bdb1e5f2c69 SHA1 (patch-ad) = 46d15c6ff4ddc236de7d424dee667088dd693062 diff --git a/audio/xanalyser/patches/patch-ac b/audio/xanalyser/patches/patch-ac new file mode 100644 index 00000000000..ada39f19bf9 --- /dev/null +++ b/audio/xanalyser/patches/patch-ac @@ -0,0 +1,39 @@ +$NetBSD: patch-ac,v 1.3 2008/08/02 19:33:21 dholland Exp $ + +--- src/control.cc.orig 2002-05-14 18:00:29.000000000 -0400 ++++ src/control.cc 2008-08-02 15:33:11.000000000 -0400 +@@ -7,6 +7,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <stdint.h> + + #include <Xm/Xm.h> + #include <Xm/Form.h> +@@ -225,7 +226,7 @@ control_set_default () + void + control_callback (Widget widget, XtPointer client_data, XtPointer) + { +- switch ((int) client_data) { ++ switch ((intptr_t) client_data) { + + case SOUNDCARD: { + sample.source = Sample::SOUNDCARD; +@@ -559,7 +560,7 @@ analyser_callback (Widget, XtPointer cli + + case XmCR_EXPOSE: { + +- int n = (int) client_data; ++ int n = (intptr_t) client_data; + + if (!analyser[n].isrealized ()) + analyser[n].realize (XtDisplay (analyser_drawing_w[n]), +@@ -573,7 +574,7 @@ analyser_callback (Widget, XtPointer cli + + case XmCR_RESIZE: { + +- int n = (int) client_data; ++ int n = (intptr_t) client_data; + analyser[n].resize (1); + + } break; |