diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-20 12:25:49 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-20 12:25:49 +0100 |
commit | a74b8da459dcdee1d1fc633d9d1856fdb89fd7bd (patch) | |
tree | 291ff6b5793e74c8994696a7fe26e82f6f646601 /package/firefox/patches/patch-ipc_chromium_src_base_file_util_h | |
parent | 33adad70313bb73464cbd002370cd14bade79a54 (diff) |
fix musl compile, when xorg package collection is selected. X still does not work with musl
Diffstat (limited to 'package/firefox/patches/patch-ipc_chromium_src_base_file_util_h')
-rw-r--r-- | package/firefox/patches/patch-ipc_chromium_src_base_file_util_h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_file_util_h b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_h new file mode 100644 index 000000000..137efacd8 --- /dev/null +++ b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_h @@ -0,0 +1,23 @@ +--- mozilla-release.orig/ipc/chromium/src/base/file_util.h 2013-09-11 01:15:04.000000000 +0200 ++++ mozilla-release/ipc/chromium/src/base/file_util.h 2013-10-23 16:28:38.000000000 +0200 +@@ -16,7 +16,11 @@ + #include <sys/stat.h> + #elif defined(OS_POSIX) + #include <sys/types.h> ++#ifndef __GLIBC__ ++#define NO_FTS ++#else + #include <fts.h> ++#endif + #include <sys/stat.h> + #endif + +@@ -466,7 +470,7 @@ class FileEnumerator { + #if defined(OS_WIN) + WIN32_FIND_DATA find_data_; + HANDLE find_handle_; +-#elif defined(ANDROID) ++#elif defined(NO_FTS) + void *fts_; + #elif defined(OS_POSIX) + FTS* fts_; |