termux-packages/disabled-packages/alsa-lib/pcm_mmap.c.patch.old
Vishal Biswas ffcb22f1b0 add more disabled packages (#742)
* easy-rsa: add as disabled package

* openvpn: add as disabled package

* squid: add as disabled package

* llvm: add as disabled package

* alsa-lib: add as disabled package

* alsa-utils: add as disabled package

* openjdk-9-headless: add as disabled package
2017-02-08 00:44:12 +01:00

21 lines
530 B
Diff

--- ./src/pcm/pcm_mmap.c 2016-08-02 23:18:38.000000000 +0530
+++ /home/vishal/AndroidDev/alsa/src/pcm/pcm_mmap.c 2016-12-03 00:06:36.620336924 +0530
@@ -344,7 +344,7 @@
i->addr = ptr;
break;
case SND_PCM_AREA_SHM:
-#ifdef HAVE_SYS_SHM_H
+#if 0
if (i->u.shm.shmid < 0) {
int id;
/* FIXME: safer permission? */
@@ -474,7 +474,7 @@
errno = 0;
break;
case SND_PCM_AREA_SHM:
-#ifdef HAVE_SYS_SHM_H
+#if 0
if (i->u.shm.area) {
snd_shm_area_destroy(i->u.shm.area);
i->u.shm.area = NULL;