summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2005-02-11 22:18:15 +0000
committerTony Vroon <chainsaw@gentoo.org>2005-02-11 22:18:15 +0000
commitba42f34ee82eb20f9d9db5472d7f44007f79e63c (patch)
tree2ba9c45c6e8c7d2e91bc021eaae1370973cc9036 /media-libs/alsa-lib/files
parentNew release, mostly bugfixes. Arch detection code is now faster thanks to a c... (diff)
downloadgentoo-2-ba42f34ee82eb20f9d9db5472d7f44007f79e63c.tar.gz
gentoo-2-ba42f34ee82eb20f9d9db5472d7f44007f79e63c.tar.bz2
gentoo-2-ba42f34ee82eb20f9d9db5472d7f44007f79e63c.zip
GCC 4 compat update, closes bug #80759.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-libs/alsa-lib/files')
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.0.8-gcc4.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.0.8-gcc4.patch b/media-libs/alsa-lib/files/alsa-lib-1.0.8-gcc4.patch
new file mode 100644
index 000000000000..f5694531f8a3
--- /dev/null
+++ b/media-libs/alsa-lib/files/alsa-lib-1.0.8-gcc4.patch
@@ -0,0 +1,39 @@
+--- src/pcm/pcm_dmix.c~ 2005-01-11 18:42:49.000000000 +0100
++++ src/pcm/pcm_dmix.c 2005-01-23 13:06:51.000000000 +0100
+@@ -56,9 +56,9 @@
+ /*
+ * sum ring buffer shared memory area
+ */
++static int shm_sum_discard(snd_pcm_direct_t *dmix);
+ static int shm_sum_create_or_connect(snd_pcm_direct_t *dmix)
+ {
+- static int shm_sum_discard(snd_pcm_direct_t *dmix);
+ struct shmid_ds buf;
+ int tmpid, err;
+ size_t size;
+--- src/conf.c~ 2004-10-05 17:33:04.000000000 +0200
++++ src/conf.c 2005-01-23 13:11:51.000000000 +0100
+@@ -2494,9 +2494,9 @@
+ * specified by \p result.
+ * \return Zero if successful, otherwise a negative error code.
+ */
++static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
+ int snd_config_search_hooks(snd_config_t *config, const char *key, snd_config_t **result)
+ {
+- static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
+ SND_CONFIG_SEARCH(config, key, result, \
+ err = snd_config_hooks(config, NULL); \
+ if (err < 0) \
+--- src/conf.c~ 2005-01-23 13:11:51.000000000 +0100
++++ src/conf.c 2005-01-23 13:18:19.000000000 +0100
+@@ -2514,9 +2514,9 @@
+ * specified by \p result.
+ * \return Zero if successful, otherwise a negative error code.
+ */
++static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
+ int snd_config_searcha_hooks(snd_config_t *root, snd_config_t *config, const char *key, snd_config_t **result)
+ {
+- static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
+ SND_CONFIG_SEARCHA(root, config, key, result,
+ snd_config_searcha_hooks,
+ err = snd_config_hooks(config, NULL); \