diff options
Diffstat (limited to 'www/seamonkey/files/patch-bug798354')
-rw-r--r-- | www/seamonkey/files/patch-bug798354 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/seamonkey/files/patch-bug798354 b/www/seamonkey/files/patch-bug798354 new file mode 100644 index 000000000000..26ce712479ff --- /dev/null +++ b/www/seamonkey/files/patch-bug798354 @@ -0,0 +1,15 @@ +--- mozilla/ipc/chromium/src/chrome/common/ipc_channel_posix.cc~ ++++ mozilla/ipc/chromium/src/chrome/common/ipc_channel_posix.cc +@@ -133,7 +133,12 @@ int ChannelNameToClientFD(const std::string& channel_id) { + } + + //------------------------------------------------------------------------------ ++#if !defined(__clang__) && defined(__GNUC__) && __GNUC_MINOR__ <= 2 ++sockaddr_un sizecheck; ++const size_t kMaxPipeNameLength = sizeof(sizecheck.sun_path); ++#else + const size_t kMaxPipeNameLength = sizeof(sockaddr_un::sun_path); ++#endif + + // Creates a Fifo with the specified name ready to listen on. + bool CreateServerFifo(const std::string& pipe_name, int* server_listen_fd) { |