Hello community, here is the log from the commit of package yast2-core for openSUSE:Factory checked in at 2015-03-16 09:40:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-core (Old) and /work/SRC/openSUSE:Factory/.yast2-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-core" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-core/yast2-core.changes 2015-01-25 21:13:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-core.new/yast2-core.changes 2015-03-16 09:40:22.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Mar 3 14:49:39 UTC 2015 - [email protected] + +- Fixed compilation (but not tests) with GCC 5 (boo#914255). +- 3.1.16 + +------------------------------------------------------------------- Old: ---- yast2-core-3.1.15.tar.bz2 New: ---- yast2-core-3.1.16.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-core.spec ++++++ --- /var/tmp/diff_new_pack.LuoJsY/_old 2015-03-16 09:40:23.000000000 +0100 +++ /var/tmp/diff_new_pack.LuoJsY/_new 2015-03-16 09:40:23.000000000 +0100 @@ -17,8 +17,9 @@ Name: yast2-core -Version: 3.1.15 +Version: 3.1.16 Release: 0 +Url: https://github.com/yast/yast-core BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 @@ -59,7 +60,7 @@ Requires: yast2-core = %version Summary: YaST2 - Core Libraries -Group: System/YaST +Group: Development/Libraries Provides: liby2util-devel = 2.16.1 Obsoletes: liby2util-devel < 2.16.1 Requires: glibc-devel ++++++ yast2-core-3.1.15.tar.bz2 -> yast2-core-3.1.16.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.1.15/configure.in.in new/yast2-core-3.1.16/configure.in.in --- old/yast2-core-3.1.15/configure.in.in 2015-01-23 10:29:13.000000000 +0100 +++ new/yast2-core-3.1.16/configure.in.in 2015-03-03 17:59:08.000000000 +0100 @@ -48,32 +48,13 @@ $(top_builddir)/liby2/src/liby2.la dnl ${Y2UTIL_LIBS}' -## <ext/hash_map> produces ugly warnings in gcc 4.3, but its replacement, -## <unordered_map>, is in C++0x which is not stablilized yet. -## More importantly, this thing is in a public header so we need to propagate -## the findings to yast2-core users AC_PROG_CXX -AC_MSG_CHECKING([for version of C++ standard]) -GCCVER=`$CXX -v 2>&1 | tail -n1` -case "$GCCVER" in -[ gcc\ version\ 4.[3456789]*)]dnl **** quoting -dnl we need a HAVE_* flag for a public header, yuck -dnl AC_DEFINE([HAVE_CXX0X], 1, [Define to 1 if the c++ compiler knows <unordered_map> and the like]) -dnl Y2CORE_CFLAGS="-std=c++0x" - # gnu++0x instead of c++0x so that - # we do not lose gnu extensions like typeof - Y2CORE_CFLAGS="-std=gnu++0x -DHAVE_CXX0X" - Y2CORE_CXXFLAGS="-std=gnu++0x -DHAVE_CXX0X" - AC_MSG_RESULT([c++0x]) - ;; - *) - Y2CORE_CFLAGS="" - Y2CORE_CXXFLAGS="" - AC_MSG_RESULT([older than c++0x]) - ;; -esac -AC_SUBST(Y2CORE_CFLAGS) dnl included in {C,CXX}FLAGS in YAST2-CHECKS-PROGRAM +# gnu++0x instead of c++0x so that +# we do not lose gnu extensions like typeof +# FIXME: rename to Y2CORE_CXXFLAGS and change in devtools:y2autoconf +Y2CORE_CFLAGS="-std=gnu++0x" +AC_SUBST(Y2CORE_CFLAGS) dnl included in CXXFLAGS in YAST2-CHECKS-PROGRAM AC_CHECK_HEADERS(xcrypt.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.1.15/liby2util-r/testsuite/test_thread_log.cc new/yast2-core-3.1.16/liby2util-r/testsuite/test_thread_log.cc --- old/yast2-core-3.1.15/liby2util-r/testsuite/test_thread_log.cc 2015-01-23 10:29:13.000000000 +0100 +++ new/yast2-core-3.1.16/liby2util-r/testsuite/test_thread_log.cc 2015-03-03 17:59:08.000000000 +0100 @@ -8,6 +8,7 @@ #include <pthread.h> #include <stdio.h> #include <stdlib.h> +#include <stdint.h> #define NUM_THREADS 5 #include <y2util/y2log.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.1.15/libycp/src/include/ycp/YCode.h new/yast2-core-3.1.16/libycp/src/include/ycp/YCode.h --- old/yast2-core-3.1.15/libycp/src/include/ycp/YCode.h 2015-01-23 10:29:13.000000000 +0100 +++ new/yast2-core-3.1.16/libycp/src/include/ycp/YCode.h 2015-03-03 17:59:08.000000000 +0100 @@ -310,15 +310,7 @@ constTypePtr type() const; }; -// bother, 4.3 requires -std=c++0x -// so without a condition in configure.in you can't have code -// that works with 4.2 and 4.3 without warnings -#ifdef HAVE_CXX0X #include <unordered_map> -#else -#include <ext/hash_map> -#endif - #include <string> #include <cstddef> @@ -344,11 +336,7 @@ }; public: -#ifdef HAVE_CXX0X typedef unordered_map<const char*, bool, hash<const char*>, eqstr> t_uniquedomains; -#else - typedef __gnu_cxx::hash_map<const char*, bool, __gnu_cxx::hash<const char*>, eqstr> t_uniquedomains; -#endif static t_uniquedomains domains; // keep every textdomain only once static t_uniquedomains::const_iterator setDomainStatus (const string& domain, bool status); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.1.15/package/yast2-core.changes new/yast2-core-3.1.16/package/yast2-core.changes --- old/yast2-core-3.1.15/package/yast2-core.changes 2015-01-23 10:29:14.000000000 +0100 +++ new/yast2-core-3.1.16/package/yast2-core.changes 2015-03-03 17:59:08.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Mar 3 14:49:39 UTC 2015 - [email protected] + +- Fixed compilation (but not tests) with GCC 5 (boo#914255). +- 3.1.16 + +------------------------------------------------------------------- Thu Jan 22 19:10:06 UTC 2015 - [email protected] - skip empty environment variables when activating the locale diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.1.15/package/yast2-core.spec new/yast2-core-3.1.16/package/yast2-core.spec --- old/yast2-core-3.1.15/package/yast2-core.spec 2015-01-23 10:29:14.000000000 +0100 +++ new/yast2-core-3.1.16/package/yast2-core.spec 2015-03-03 17:59:08.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-core # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,49 +16,55 @@ # - Name: yast2-core -Version: 3.1.15 +Version: 3.1.16 Release: 0 +Url: https://github.com/yast/yast-core BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 -Group: System/YaST -License: GPL-2.0+ # obviously -BuildRequires: gcc-c++ boost-devel libtool +BuildRequires: boost-devel +BuildRequires: gcc-c++ +BuildRequires: libtool # we have a parser -BuildRequires: flex bison +BuildRequires: bison +BuildRequires: flex # incompatible change, parser.h -> parser.hh BuildRequires: automake >= 1.12 # needed for all yast packages -BuildRequires: yast2-devtools >= 3.1.10 +BuildRequires: yast2-devtools >= 3.1.10 # testsuite -BuildRequires: dejagnu +BuildRequires: dejagnu # autodocs -BuildRequires: doxygen +BuildRequires: doxygen # docbook docs -BuildRequires: docbook-xsl-stylesheets libxslt +BuildRequires: docbook-xsl-stylesheets +BuildRequires: libxslt # catalog: convert URIs to local filenames -BuildRequires: sgml-skel +BuildRequires: sgml-skel -Summary: YaST2 - Core Libraries -Requires: perl = %{perl_version} -Provides: liby2util = 2.16.1 -Obsoletes: liby2util < 2.16.1 +Summary: YaST2 - Core Libraries +License: GPL-2.0+ +Group: System/YaST +Requires: perl = %{perl_version} +Provides: liby2util = 2.16.1 +Obsoletes: liby2util < 2.16.1 %description This package contains the scanner, parser, and interpreter runtime library for the YCP scripting language used in YaST2. %package devel -Requires: yast2-core = %version +Requires: yast2-core = %version -Summary: YaST2 - Core Libraries -Provides: liby2util-devel = 2.16.1 -Obsoletes: liby2util-devel < 2.16.1 -Requires: glibc-devel libstdc++-devel +Summary: YaST2 - Core Libraries +Group: Development/Libraries +Provides: liby2util-devel = 2.16.1 +Obsoletes: liby2util-devel < 2.16.1 +Requires: glibc-devel +Requires: libstdc++-devel %description devel This package contains include and documentation files for developing @@ -66,8 +72,8 @@ %package debugger Requires: yast2-core = %version +Summary: YaST2 - Core Libraries Group: Development/Libraries -Summary: YaST2 - Core Libraries %description debugger YCP debugger client. @@ -75,7 +81,6 @@ %prep %setup -n %{name}-%{version} - %build %ifarch %arm @@ -95,7 +100,6 @@ mkdir -p "$RPM_BUILD_ROOT"%{yast_logdir} %perl_process_packlist - %post /sbin/ldconfig # bnc#485992, since oS 11.2 @@ -161,3 +165,5 @@ %files debugger %defattr(-,root,root) %attr(0755,-,-) %{yast_ybindir}/ycp-debugger + +%changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
