aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/fix-ipc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-03-31 09:32:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-31 12:48:15 +0000
commit4c9e27a54c4f400e46645cb768b7743d2e29f9b1 (patch)
treeefafab3e4b167b8a11a8991d468c1655d25403c4 /community/firefox-esr/fix-ipc.patch
parenta94573fafecc06cfd799ff83b4b3da40e29d469d (diff)
downloadaports-4c9e27a54c4f400e46645cb768b7743d2e29f9b1.tar.bz2
aports-4c9e27a54c4f400e46645cb768b7743d2e29f9b1.tar.xz
community/firefox-esr: renamed from firefox
Diffstat (limited to 'community/firefox-esr/fix-ipc.patch')
-rw-r--r--community/firefox-esr/fix-ipc.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/community/firefox-esr/fix-ipc.patch b/community/firefox-esr/fix-ipc.patch
new file mode 100644
index 0000000000..8371957d4b
--- /dev/null
+++ b/community/firefox-esr/fix-ipc.patch
@@ -0,0 +1,55 @@
+--- mozilla-release.orig/ipc/chromium/src/base/file_util.h
++++ mozilla-release/ipc/chromium/src/base/file_util.h
+@@ -14,10 +14,15 @@
+ #include <windows.h>
+ #elif defined(ANDROID)
+ #include <sys/stat.h>
++#define NO_FTS
+ #elif defined(OS_POSIX)
+ #include <sys/types.h>
+-#include <fts.h>
+ #include <sys/stat.h>
++#ifdef __GLIBC__
++#include <fts.h>
++#else
++#define NO_FTS
++#endif
+ #endif
+
+ #include <stdio.h>
+--- mozilla-release.orig/ipc/chromium/src/base/file_util_posix.cc
++++ mozilla-release/ipc/chromium/src/base/file_util_posix.cc
+@@ -8,13 +8,13 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <fnmatch.h>
+-#ifndef ANDROID
++#ifndef NO_FTS
+ #include <fts.h>
+ #endif
+ #include <libgen.h>
+ #include <stdio.h>
+ #include <string.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/mman.h>
+ #define _DARWIN_USE_64_BIT_INODE // Use 64-bit inode data structures
+ #include <sys/stat.h>
+@@ -67,7 +67,7 @@
+ if (!recursive)
+ return (rmdir(path_str) == 0);
+
+-#ifdef ANDROID
++#ifdef NO_FTS
+ // XXX Need ftsless impl for bionic
+ return false;
+ #else
+@@ -140,7 +140,7 @@
+ return false;
+ }
+
+-#ifdef ANDROID
++#ifdef NO_FTS
+ // XXX Need ftsless impl for bionic
+ return false;
+ #else