From 07d86fb334de4168e8b99a17c0d21975e6ce9058 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 25 Jul 2015 17:56:10 -0400 Subject: [PATCH] fish: Ensure that strategy_shmem_polling is never defined --- packages/fish/env_universal_common.h.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/fish/env_universal_common.h.patch diff --git a/packages/fish/env_universal_common.h.patch b/packages/fish/env_universal_common.h.patch new file mode 100644 index 00000000..842acf03 --- /dev/null +++ b/packages/fish/env_universal_common.h.patch @@ -0,0 +1,14 @@ +diff -u -r ../fish-2.2.0/env_universal_common.h ./env_universal_common.h +--- ../fish-2.2.0/env_universal_common.h 2015-07-03 15:46:59.000000000 -0400 ++++ ./env_universal_common.h 2015-07-25 17:52:47.555388223 -0400 +@@ -123,8 +123,10 @@ + // Default meta-strategy to use the 'best' notifier for the system + strategy_default, + ++#ifndef __ANDROID__ + // Use a value in shared memory. Simple, but requires polling and therefore semi-frequent wakeups. + strategy_shmem_polling, ++#endif + + // Strategy that uses a named pipe. Somewhat complex, but portable and doesn't require polling most of the time. + strategy_named_pipe, -- 2.11.0