Ruby 2.5.0 (#2143)
[termux-packages] / disabled-packages / alsa-lib / pcm_mmap.c.patch.old
1 --- ./src/pcm/pcm_mmap.c 2016-08-02 23:18:38.000000000 +0530
2 +++ /home/vishal/AndroidDev/alsa/src/pcm/pcm_mmap.c 2016-12-03 00:06:36.620336924 +0530
3 @@ -344,7 +344,7 @@
4 i->addr = ptr;
5 break;
6 case SND_PCM_AREA_SHM:
7 -#ifdef HAVE_SYS_SHM_H
8 +#if 0
9 if (i->u.shm.shmid < 0) {
10 int id;
11 /* FIXME: safer permission? */
12 @@ -474,7 +474,7 @@
13 errno = 0;
14 break;
15 case SND_PCM_AREA_SHM:
16 -#ifdef HAVE_SYS_SHM_H
17 +#if 0
18 if (i->u.shm.area) {
19 snd_shm_area_destroy(i->u.shm.area);
20 i->u.shm.area = NULL;