aboutsummaryrefslogtreecommitdiff
path: root/packages/patches
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-02-27 17:07:07 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-02-27 17:07:07 +0000
commit979bf4b7cb7b2a48529644ba758e7a62e11ceac5 (patch)
tree686ec789cd37040343f03748700bbcc973c2e714 /packages/patches
parentf1697ad27d0548662cf0a6633f4671cd55b38ab9 (diff)
only include the alsa_adddev function prototype if the ALSA API is enabled
svn path=/trunk/; revision=4622
Diffstat (limited to 'packages/patches')
-rw-r--r--packages/patches/alsa_adddev_proto_with_alsa_only-0.40-pre.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/patches/alsa_adddev_proto_with_alsa_only-0.40-pre.patch b/packages/patches/alsa_adddev_proto_with_alsa_only-0.40-pre.patch
new file mode 100644
index 00000000..34016b35
--- /dev/null
+++ b/packages/patches/alsa_adddev_proto_with_alsa_only-0.40-pre.patch
@@ -0,0 +1,17 @@
+Index: s_main.c
+===================================================================
+RCS file: /cvsroot/pure-data/pd/src/s_main.c,v
+retrieving revision 1.22
+diff -u -w -r1.22 s_main.c
+--- s_main.c 31 Dec 2005 20:55:25 -0000 1.22
++++ s_main.c 27 Feb 2006 17:04:49 -0000
+@@ -33,7 +33,9 @@
+ int sys_rcfile(void);
+ int m_scheduler(void);
+ void sys_addhelppath(char *p);
++#ifdef USEAPI_ALSA
+ void alsa_adddev(char *name);
++#endif
+
+ int sys_debuglevel;
+ int sys_verbose;