Hello community,
here is the log from the commit of package MozillaThunderbird for
openSUSE:Factory checked in at 2016-05-31 12:11:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/MozillaThunderbird (Old)
and /work/SRC/openSUSE:Factory/.MozillaThunderbird.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "MozillaThunderbird"
Changes:
--------
--- /work/SRC/openSUSE:Factory/MozillaThunderbird/MozillaThunderbird.changes
2016-05-20 11:55:06.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.MozillaThunderbird.new/MozillaThunderbird.changes
2016-05-31 12:11:22.000000000 +0200
@@ -1,0 +2,16 @@
+Wed May 25 18:20:24 UTC 2016 - [email protected]
+
+- The conditional testing for gcc was failing for different
+ openSUSE versions, drop it and apply patches unconditionally.
+
+-------------------------------------------------------------------
+Tue May 24 18:28:31 UTC 2016 - [email protected]
+
+- Add patches to fix building with gcc >= 6:
+ + mozilla-gcc6.patch: patch taken from fedora's git and is
+ essentially identical to upstream firefox patch:
+ https://hg.mozilla.org/mozilla-central/rev/55212130f19d.
+ + mozilla-flexible-array-member-in-union.patch: patch taken
+ from upstream bmo#1272649.
+
+-------------------------------------------------------------------
New:
----
mozilla-flexible-array-member-in-union.patch
mozilla-gcc6.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ MozillaThunderbird.spec ++++++
--- /var/tmp/diff_new_pack.I2IJkv/_old 2016-05-31 12:11:27.000000000 +0200
+++ /var/tmp/diff_new_pack.I2IJkv/_new 2016-05-31 12:11:27.000000000 +0200
@@ -103,6 +103,8 @@
Patch3: mozilla-kde.patch
Patch4: mozilla-develdirs.patch
Patch5: mozilla-no-stdcxx-check.patch
+Patch6: mozilla-gcc6.patch
+Patch7: mozilla-flexible-array-member-in-union.patch
# Thunderbird/mail
Patch20: tb-ssldap.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -198,6 +200,8 @@
%endif
%patch4 -p1
%patch5 -p1
+%patch6 -p1
+%patch7 -p1
popd
# comm-central patches
%patch20 -p1
++++++ mozilla-flexible-array-member-in-union.patch ++++++
--- firefox-45.0.1-orig/gfx/harfbuzz/src/hb-font-private.hh 2016-03-15
23:37:28.000000000 +0100
+++ firefox-45.0.1/gfx/harfbuzz/src/hb-font-private.hh 2016-05-13
17:20:25.836258108 +0200
@@ -80,7 +80,7 @@ struct hb_font_funcs_t {
HB_FONT_FUNCS_IMPLEMENT_CALLBACKS
#undef HB_FONT_FUNC_IMPLEMENT
} f;
- void (*array[]) (void);
+ void (*array[VAR]) (void);
} get;
};
--- firefox-45.0.1-orig/gfx/harfbuzz/src/hb-private.hh 2016-03-15
23:37:28.000000000 +0100
+++ firefox-45.0.1/gfx/harfbuzz/src/hb-private.hh 2016-05-13
17:20:55.909655179 +0200
@@ -1010,5 +1010,7 @@ hb_options (void)
return _hb_options.opts;
}
+/* Size signifying variable-sized array */
+#define VAR 1
#endif /* HB_PRIVATE_HH */
++++++ mozilla-gcc6.patch ++++++
diff -up firefox-44.0/nsprpub/config/make-system-wrappers.pl.back
firefox-44.0/nsprpub/config/make-system-wrappers.pl
--- firefox-44.0/nsprpub/config/make-system-wrappers.pl.back 2016-01-24
00:23:49.000000000 +0100
+++ firefox-44.0/nsprpub/config/make-system-wrappers.pl 2016-02-02
14:58:45.064112655 +0100
@@ -19,7 +19,9 @@ while (<STDIN>) {
open OUT, ">$output_dir/$_";
print OUT "#pragma GCC system_header\n"; # suppress include_next warning
print OUT "#pragma GCC visibility push(default)\n";
+ print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
print OUT "#include_next \<$_\>\n";
+ print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
print OUT "#pragma GCC visibility pop\n";
close OUT;
}
diff -up firefox-44.0/mozglue/build/arm.cpp.old
firefox-44.0/mozglue/build/arm.cpp
--- firefox-44.0/mozglue/build/arm.cpp.old 2016-02-03 10:07:29.879526500
+0100
+++ firefox-44.0/mozglue/build/arm.cpp 2016-02-03 10:08:11.062697517 +0100
@@ -104,7 +104,9 @@ check_neon(void)
# elif defined(__linux__) || defined(ANDROID)
# include <stdio.h>
+#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
# include <stdlib.h>
+#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
# include <string.h>
enum{