Hello community,

here is the log from the commit of package seamonkey for openSUSE:Factory 
checked in at 2016-10-19 13:13:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/seamonkey (Old)
 and      /work/SRC/openSUSE:Factory/.seamonkey.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "seamonkey"

Changes:
--------
--- /work/SRC/openSUSE:Factory/seamonkey/seamonkey.changes      2016-08-24 
10:08:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.seamonkey.new/seamonkey.changes 2016-10-19 
13:14:05.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Oct 17 11:30:39 UTC 2016 - [email protected]
+
+- mozilla-binutils-visibility.patch to fix build issues with
+  gcc/binutils combination used in Leap 42.2 (boo#984637)
+
+-------------------------------------------------------------------

New:
----
  mozilla-binutils-visibility.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ seamonkey.spec ++++++
--- /var/tmp/diff_new_pack.Umhnnw/_old  2016-10-19 13:14:16.000000000 +0200
+++ /var/tmp/diff_new_pack.Umhnnw/_new  2016-10-19 13:14:16.000000000 +0200
@@ -90,6 +90,7 @@
 Patch8:         mozilla-libproxy.patch
 Patch9:         mozilla-reduce-files-per-UnifiedBindings.patch
 Patch10:        mozilla-gcc6.patch
+Patch11:        mozilla-binutils-visibility.patch
 Patch100:       seamonkey-ua-locale.patch
 # hotfix
 Patch150:       mozilla-flex_buffer_overrun.patch
@@ -199,6 +200,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 %patch150 -p1
 popd
 # comm patches
@@ -255,8 +257,8 @@
 ac_add_options --disable-optimize
 %endif
 %endif
-%ifnarch ppc ppc64 ppc64le aarch64
-ac_add_options --enable-elf-hack
+%ifarch x86_64
+ac_add_options --disable-elf-hack
 %endif
 ac_add_options --disable-debug --disable-dtd-debug
 ac_add_options --enable-libxul


++++++ mozilla-binutils-visibility.patch ++++++
# HG changeset patch
# User Wolfgang Rosenauer <[email protected]>
# Parent  83bc32d997c714b607db1ffa71f02b30e1484a75
From: NetBSD
Subject: Workaround for gcc/binutils combination in Leap 42.2
References:
https://bugzilla.opensuse.org/show_bug.cgi?id=984637

diff --git a/xpcom/components/Module.h b/xpcom/components/Module.h
--- a/xpcom/components/Module.h
+++ b/xpcom/components/Module.h
@@ -120,17 +120,17 @@ struct Module
 #if defined(MOZILLA_INTERNAL_API)
 #  define NSMODULE_NAME(_name) _name##_NSModule
 #  if defined(_MSC_VER)
 #    pragma section(".kPStaticModules$M", read)
 #    pragma comment(linker, "/merge:.kPStaticModules=.rdata")
 #    define NSMODULE_SECTION __declspec(allocate(".kPStaticModules$M"), 
dllexport)
 #  elif defined(__GNUC__)
 #    if defined(__ELF__)
-#      define NSMODULE_SECTION __attribute__((section(".kPStaticModules"), 
visibility("protected")))
+#      define NSMODULE_SECTION __attribute__((section(".kPStaticModules"), 
visibility("default")))
 #    elif defined(__MACH__)
 #      define NSMODULE_SECTION __attribute__((section("__DATA, 
.kPStaticModules"), visibility("default")))
 #    elif defined (_WIN32)
 #      define NSMODULE_SECTION __attribute__((section(".kPStaticModules"), 
dllexport))
 #    endif
 #  endif
 #  if !defined(NSMODULE_SECTION)
 #    error Do not know how to define sections.

Reply via email to