patches/alsa-lib-03-alloca.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 2968 55a6e68a55fc
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
388
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
diff -ur alsa-lib-1.0.14a.orig/include/local.h alsa-lib-1.0.14a/include/local.h
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
--- alsa-lib-1.0.14a.orig/include/local.h	2007-06-11 15:53:13.000000000 +0700
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
+++ alsa-lib-1.0.14a/include/local.h	2007-08-11 14:22:27.829399072 +0700
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
@@ -32,6 +32,9 @@
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 #include <stdarg.h>
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 #include <sys/poll.h>
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
 #include <errno.h>
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
+#ifdef HAVE_ALLOCA_H
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
+#include <alloca.h>
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
+#endif
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
 
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    12
 #include "config.h"
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
 #ifdef SUPPORT_RESMGR
2968
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    14
--- alsa-lib-1.0.23.orig/include/asoundlib-head.h	Sun Sep 19 13:00:16 2010
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    15
+++ alsa-lib-1.0.23/include/asoundlib-head.h	Sun Sep 19 13:00:22 2010
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    16
@@ -42,6 +42,9 @@
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    17
 #include <sys/poll.h>
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    18
 #include <errno.h>
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    19
 #include <stdarg.h>
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    20
+#ifdef HAVE_ALLOCA_H
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    21
+#include <alloca.h>
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    22
+#endif
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    23
 
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    24
 #include <alsa/asoundef.h>
55a6e68a55fc SFEalsa-lib.spec: bump to 1.0.23
jurikm
parents: 388
diff changeset
    25
 #include <alsa/version.h>