aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xulrunner/fix-ipc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-03 14:47:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-03 14:47:28 +0000
commit67f0d66bcc7f22d53d3b00a97fc0c98eaf411430 (patch)
tree6d2d398432c47101e23f1edeaa7b00c394fbc8ea /testing/xulrunner/fix-ipc.patch
parent6bf481e6ab8edac1c66698dcc1a6eee048b75f0d (diff)
downloadaports-67f0d66bcc7f22d53d3b00a97fc0c98eaf411430.tar.bz2
aports-67f0d66bcc7f22d53d3b00a97fc0c98eaf411430.tar.xz
testing/xulrunner: add xulrunner-32.0
Diffstat (limited to 'testing/xulrunner/fix-ipc.patch')
-rw-r--r--testing/xulrunner/fix-ipc.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/testing/xulrunner/fix-ipc.patch b/testing/xulrunner/fix-ipc.patch
new file mode 100644
index 0000000000..e21d57f40d
--- /dev/null
+++ b/testing/xulrunner/fix-ipc.patch
@@ -0,0 +1,66 @@
+--- mozilla-release.orig/ipc/chromium/src/base/debug_util_posix.cc
++++ mozilla-release/ipc/chromium/src/base/debug_util_posix.cc
+@@ -5,7 +5,7 @@
+ #include "build/build_config.h"
+ #include "base/debug_util.h"
+
+-#define MOZ_HAVE_EXECINFO_H (defined(OS_LINUX) && !defined(ANDROID))
++#define MOZ_HAVE_EXECINFO_H (defined(OS_LINUX) && defined(__GLIBC__))
+
+ #include <errno.h>
+ #include <fcntl.h>
+--- 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