From e7f2433fb7e0ae36d1f5acf4a377b5488495eea1 Mon Sep 17 00:00:00 2001 From: Andrzej Zawadzki Date: Tue, 31 May 2005 23:11:24 +0000 Subject: [PATCH] - obsolete Changed files: alsa-lib-gcc4.patch -> 1.4 --- alsa-lib-gcc4.patch | 66 --------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 alsa-lib-gcc4.patch diff --git a/alsa-lib-gcc4.patch b/alsa-lib-gcc4.patch deleted file mode 100644 index a5ba1ac..0000000 --- a/alsa-lib-gcc4.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- alsa-lib-1.0.8/src/pcm/pcm_dmix.c.orig 2005-01-11 18:42:49.000000000 +0100 -+++ alsa-lib-1.0.8/src/pcm/pcm_dmix.c 2005-05-03 14:47:10.000000000 +0200 -@@ -53,12 +53,13 @@ - * - */ - -+static int shm_sum_discard(snd_pcm_direct_t *dmix); -+ - /* - * sum ring buffer shared memory area - */ - 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; -@@ -244,9 +245,9 @@ - } while (*sum != old_sample); - if (!--size) - return; -- ((char *)src) += src_step; -- ((char *)dst) += dst_step; -- ((char *)sum) += sum_step; -+ src = ((void *)src) + src_step; -+ dst = ((void *)dst) + dst_step; -+ sum = ((void *)sum) + sum_step; - } - } - -@@ -276,9 +277,9 @@ - } while (*sum != old_sample); - if (!--size) - return; -- ((char *)src) += src_step; -- ((char *)dst) += dst_step; -- ((char *)sum) += sum_step; -+ src = ((void *)src) + src_step; -+ dst = ((void *)dst) + dst_step; -+ sum = ((void *)sum) + sum_step; - } - } - ---- alsa-lib-1.0.8/src/conf.c.orig 2004-10-05 17:33:04.000000000 +0200 -+++ alsa-lib-1.0.8/src/conf.c 2005-05-03 14:53:20.000000000 +0200 -@@ -2494,9 +2494,11 @@ - * 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) \ -@@ -2516,7 +2518,6 @@ - */ - 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); \ -- 2.44.0