pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/xanalyser Fix broken amd64 build
details: https://anonhg.NetBSD.org/pkgsrc/rev/dea5e6b911cf
branches: trunk
changeset: 545424:dea5e6b911cf
user: dholland <dholland%pkgsrc.org@localhost>
date: Sat Aug 02 19:33:21 2008 +0000
description:
Fix broken amd64 build
diffstat:
audio/xanalyser/distinfo | 3 ++-
audio/xanalyser/patches/patch-ac | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 1 deletions(-)
diffs (57 lines):
diff -r dc8c45fdb907 -r dea5e6b911cf audio/xanalyser/distinfo
--- a/audio/xanalyser/distinfo Sat Aug 02 19:26:22 2008 +0000
+++ b/audio/xanalyser/distinfo Sat Aug 02 19:33:21 2008 +0000
@@ -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 -r dc8c45fdb907 -r dea5e6b911cf audio/xanalyser/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xanalyser/patches/patch-ac Sat Aug 02 19:33:21 2008 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index