diff options
author | snj <snj@pkgsrc.org> | 2017-03-07 22:28:00 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2017-03-07 22:28:00 +0000 |
commit | a7c794b5378c9270651bf724e39e7937ddff9b87 (patch) | |
tree | 9ff12de2c20a17735703e3481c716af8a6cee545 /www/firefox | |
parent | d9111dd220f4017c7b72c39c2ee4ef1d20115086 (diff) | |
download | pkgsrc-a7c794b5378c9270651bf724e39e7937ddff9b87.tar.gz |
bring back patch-ipc_chromium_src_base_message__pump__libevent.cc to
fix build on netbsd-7
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/distinfo | 3 | ||||
-rw-r--r-- | www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 6a2d20df02f..a1183d1613b 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.274 2017/03/07 20:45:43 ryoon Exp $ +$NetBSD: distinfo,v 1.275 2017/03/07 22:28:00 snj Exp $ SHA1 (firefox-52.0.source.tar.xz) = 991aea082084438e08f2da59bbebf47b8e9b1741 RMD160 (firefox-52.0.source.tar.xz) = cd65f848fd82f94b4050281e2f75930b99eb1aed @@ -47,6 +47,7 @@ SHA1 (patch-image_decoders_nsJPEGDecoder.cpp) = ed86c3fbb3aef753eec6f6a97940594a SHA1 (patch-intl_hyphenation_glue_hnjalloc.h) = abe01bea5872a57f3d00bbbf89f958621f08a655 SHA1 (patch-intl_unicharutil_util_moz.build) = 2e604c8695b490657ee14cae01ca84d7bd51236c SHA1 (patch-ipc_chromium_src_base_atomicops.h) = 24b63a6e51d9ab27f2788ee02f2ffa7e1c36f29a +SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 99b9f3f9dd88f1c8008d2fb6058450695394f5cf SHA1 (patch-ipc_chromium_src_base_platform__thread.h) = c81930280bd76a00fbad37aad02fb8451d80b1ee SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 45409f2152d5ffc376c18c0c9bc696e08e3910ce SHA1 (patch-ipc_chromium_src_base_process__util.h) = 4b24c3467866a601d68bb83f44e5fd38fb27188d diff --git a/www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc b/www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc new file mode 100644 index 00000000000..f65e8ea30e3 --- /dev/null +++ b/www/firefox/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc @@ -0,0 +1,22 @@ +$NetBSD: patch-ipc_chromium_src_base_message__pump__libevent.cc,v 1.8 2017/03/07 22:28:01 snj Exp $ + +Allow older libevent + +--- ipc/chromium/src/base/message_pump_libevent.cc.orig 2017-02-27 08:10:53.000000000 -0800 ++++ ipc/chromium/src/base/message_pump_libevent.cc 2017-03-07 14:06:51.000000000 -0800 +@@ -22,6 +22,7 @@ + + // This macro checks that the _EVENT_SIZEOF_* constants defined in + // ipc/chromiume/src/third_party/<platform>/event2/event-config.h are correct. ++#if 0 + #if defined(_EVENT_SIZEOF_SHORT) + #define CHECK_EVENT_SIZEOF(TYPE, type) \ + static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \ +@@ -40,6 +41,7 @@ CHECK_EVENT_SIZEOF(PTHREAD_T, pthread_t) + CHECK_EVENT_SIZEOF(SHORT, short); + CHECK_EVENT_SIZEOF(SIZE_T, size_t); + CHECK_EVENT_SIZEOF(VOID_P, void*); ++#endif + + // Lifecycle of struct event + // Libevent uses two main data structures: |