Hello community,
here is the log from the commit of package java-1_8_0-openjdk for
openSUSE:Factory checked in at 2018-01-29 14:55:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-1_8_0-openjdk (Old)
and /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-1_8_0-openjdk"
Mon Jan 29 14:55:46 2018 rev:55 rq:570493 version:1.8.0.151
Changes:
--------
--- /work/SRC/openSUSE:Factory/java-1_8_0-openjdk/java-1_8_0-openjdk.changes
2017-11-09 13:52:57.369696773 +0100
+++
/work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new/java-1_8_0-openjdk.changes
2018-01-29 14:56:30.861166145 +0100
@@ -1,0 +2,7 @@
+Mon Jan 29 09:44:55 UTC 2018 - [email protected]
+
+- Fix build with gcc 7.3
+ * add -fno-delete-null-pointer-checks -fno-lifetime-dse and
+ -std=gnu++98
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ java-1_8_0-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.VO36Il/_old 2018-01-29 14:56:33.537041128 +0100
+++ /var/tmp/diff_new_pack.VO36Il/_new 2018-01-29 14:56:33.541040941 +0100
@@ -1,7 +1,7 @@
#
# spec file for package java-1_8_0-openjdk
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -446,8 +446,18 @@
%endif
CFLAGS=$(rpm -E '%{optflags}' | sed 's/-Wall\>//')
+CFLAGS="$CFLAGS -Wno-error"
+CXXFLAGS=${CFLAGS}
+%ifarch ppc64 ppc64le ppc
+CFLAGS="$CFLAGS -fno-strict-aliasing"
+%endif
+%if 0%{?suse_version} >= 1330
+CFLAGS="$CFLAGS -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse
-fpermissive"
+CXXFLAGS="$CXXFLAGS -std=gnu++98 -fno-delete-null-pointer-checks
-fno-lifetime-dse"
+%endif
export CFLAGS
-export CXXFLAGS=${CFLAGS}
+export CXXFLAGS
+
%if %{with_sunec}
export NSS_SOFTOKN_CFLAGS="`pkg-config --cflags nss` -I`pwd`"
export NSS_SOFTOKN_LIBS="-L%{_libdir} -lnssdbm3 -lsoftokn3 -lssl3 -lsmime3
-lnss3 -lnssutil3 -lfreebl -L%{_libdir}/nspr -lplds4 -lplc4 -lnspr4"