diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2015-03-08 15:14:03 +0000 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2015-03-08 15:14:03 +0000 |
commit | 9a0fd32cf6e2ada37675bc743532c5004b16e5e3 (patch) | |
tree | d66faa3279486d2e8ad72bf70e7ef522460372a0 /data/patches/gnuzilla-bug-1030899-1.patch | |
parent | 2732de330618bc29b7ab07f4004d8e84f698cf95 (diff) |
Added patches to fix build bugs for Windows, MacOS and Android
Diffstat (limited to 'data/patches/gnuzilla-bug-1030899-1.patch')
-rw-r--r-- | data/patches/gnuzilla-bug-1030899-1.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/data/patches/gnuzilla-bug-1030899-1.patch b/data/patches/gnuzilla-bug-1030899-1.patch new file mode 100644 index 0000000..5f3d3ba --- /dev/null +++ b/data/patches/gnuzilla-bug-1030899-1.patch @@ -0,0 +1,60 @@ +--- a/ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch ++++ a/ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch +@@ -0,0 +1,22 @@ ++diff --git a/ipc/chromium/src/third_party/libevent/android/event2/event-config.h b/ipc/chromium/src/third_party/libevent/android/event2/event-config.h ++--- a/ipc/chromium/src/third_party/libevent/android/event2/event-config.h +++++ b/ipc/chromium/src/third_party/libevent/android/event2/event-config.h ++@@ -119,17 +119,17 @@ ++ ++ /* Define to 1 if you have the `inet_pton' function. */ ++ #define _EVENT_HAVE_INET_PTON 1 ++ ++ /* Define to 1 if you have the <inttypes.h> header file. */ ++ #define _EVENT_HAVE_INTTYPES_H 1 ++ ++ /* Define to 1 if you have the `issetugid' function. */ ++-#define _EVENT_HAVE_ISSETUGID 1 +++/* #undef _EVENT_HAVE_ISSETUGID */ ++ ++ /* Define to 1 if you have the `kqueue' function. */ ++ /* #undef _EVENT_HAVE_KQUEUE */ ++ ++ /* Define if the system has zlib */ ++ #define _EVENT_HAVE_LIBZ 1 ++ ++ /* Define to 1 if you have the <memory.h> header file. */ +--- a/ipc/chromium/src/third_party/libevent/README.mozilla ++++ a/ipc/chromium/src/third_party/libevent/README.mozilla +@@ -10,8 +10,10 @@ These files are taken from libevent-2.0. + + 2. This is ugly, prepare yourself. OS X has a weird problem with how the "TAILQ_END(head)" is used, causing a linking error. Just replace all use of the "TAILQ_END(head)" macro with "NULL". + + 3. Apply "add mac-arc4random-buf.patch", which removes some bad OS X compatibility code. This will allow libevent to compile on all supported versions of OS X. + + 4. Apply "openbsd-no-arc4random_addrandom.patch", which fixes the build on OpenBSD (which doesnt provide arc4random_addrandom anymore, see #931354) + + 5. Apply "libevent-use-non-deprecated-syscalls.patch", which fixes the build on AArch64 architecture (which does not provide deprecated syscalls) ++ ++6. Apply "libevent-dont-use-issetugid-on-android.patch'. which fixes the build on Android L preview +--- a/ipc/chromium/src/third_party/libevent/android/event2/event-config.h ++++ a/ipc/chromium/src/third_party/libevent/android/event2/event-config.h +@@ -119,17 +119,17 @@ + + /* Define to 1 if you have the `inet_pton' function. */ + #define _EVENT_HAVE_INET_PTON 1 + + /* Define to 1 if you have the <inttypes.h> header file. */ + #define _EVENT_HAVE_INTTYPES_H 1 + + /* Define to 1 if you have the `issetugid' function. */ +-#define _EVENT_HAVE_ISSETUGID 1 ++/* #undef _EVENT_HAVE_ISSETUGID */ + + /* Define to 1 if you have the `kqueue' function. */ + /* #undef _EVENT_HAVE_KQUEUE */ + + /* Define if the system has zlib */ + #define _EVENT_HAVE_LIBZ 1 + + /* Define to 1 if you have the <memory.h> header file. */ + |