patches/alsa-lib-07-aflocal.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 388 9f564876c65d
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/aserver.h alsa-lib-1.0.14a/include/aserver.h
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
--- alsa-lib-1.0.14a.orig/include/aserver.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/aserver.h	2007-08-11 15:32:38.229765762 +0700
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
@@ -22,6 +22,14 @@
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 #include "../src/pcm/pcm_local.h"
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 #include "../src/control/control_local.h"
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
 
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
+#if !defined(PF_LOCAL) && defined(PF_UNIX)
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
+#define PF_LOCAL PF_UNIX
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
+#if !defined(AF_LOCAL) && defined(AF_UNIX)
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
+#define AF_LOCAL AF_UNIX
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    14
+#endif
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    15
+
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    16
 int snd_receive_fd(int sock, void *data, size_t len, int *fd);
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    17
 int snd_is_local(struct hostent *hent);
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    18
 
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    19
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
    20
--- 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
    21
+++ alsa-lib-1.0.14a/include/local.h	2007-08-11 15:34:57.628949597 +0700
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    22
@@ -43,6 +43,14 @@
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    23
 #define RTLD_NOW	0
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    24
 #endif
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    25
 
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    26
+#if !defined(PF_LOCAL) && defined(PF_UNIX)
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    27
+#define PF_LOCAL PF_UNIX
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    28
+#endif
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    29
+
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    30
+#if !defined(AF_LOCAL) && defined(AF_UNIX)
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    31
+#define AF_LOCAL AF_UNIX
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    32
+#endif
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    33
+
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    34
 #define _snd_config_iterator list_head
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    35
 #define _snd_interval sndrv_interval
9f564876c65d 2007-08-30 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    36
 #define _snd_pcm_info sndrv_pcm_info