summaryrefslogtreecommitdiff
path: root/audio/xmmix/patches/patch-aa
blob: 7bf78d2160563213d29a8751896946b7019914c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
$NetBSD: patch-aa,v 1.5 2000/09/19 11:09:21 fredb Exp $

--- ../xmmix-1.2/Imakefile	Sun Jul 14 19:48:56 1996
+++ ./Imakefile	Fri Oct 24 23:34:17 1997
@@ -43,7 +43,7 @@
  * #include "Motif.tmpl"
  * #include "Motif.rules"
  */
-LOCAL_LIBRARIES= XmClientLibs
+LOCAL_LIBRARIES= -lXm -lXt -lX11 -lossaudio
 
 
 /*
--- ../xmmix-1.2/appenv.h	Sun Jul 14 19:48:59 1996
+++ ./appenv.h	Fri Oct 24 23:33:47 1997
@@ -59,7 +59,13 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#ifdef __NetBSD__
+#include <soundcard.h>
+/* Ensure we SIGIO */
+#undef _POSIX_SOURCE
+#else
 #include <sys/soundcard.h>
+#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
--- ../xmmix-1.2/main.c	Thu Nov  7 17:01:43 1996
+++ ./main.c	Mon Aug 11 23:12:51 1997
@@ -159,7 +159,7 @@
 	post_realize_config(&widgets);
 
 	/* Register callback routines */
-	register_callbacks(&widgets);
+	register_callbacks(&widgets, app);
 
 	/* Initialize screen controls */
 	mx_start(&widgets);
--- ../xmmix-1.2/mixer.h	Sun Jul 14 19:49:04 1996
+++ ./mixer.h	Mon Aug 11 23:19:17 1997
@@ -78,6 +78,7 @@
 extern void	mx_fsok_btn(Widget, XtPointer, XtPointer);
 extern void	mx_fscancel_btn(Widget, XtPointer, XtPointer);
 extern void	mx_focuschg(Widget, XtPointer, XtPointer);
+extern void	mx_change(XtPointer);
 
 #endif	/* __MIXER_H__ */
 
--- ../xmmix-1.2/widget.h	Sun Jul 14 19:49:10 1996
+++ ./widget.h	Mon Aug 11 23:13:43 1997
@@ -119,7 +119,7 @@
 extern void	widget_init(widgets_t *);
 extern void	create_widgets(widgets_t *);
 extern void	post_realize_config(widgets_t *);
-extern void	register_callbacks(widgets_t *);
+extern void	register_callbacks(widgets_t *, XtAppContext);
 
 #endif /* __WIDGET_H__ */