Hello community, here is the log from the commit of package libssh for openSUSE:Factory checked in at 2015-05-10 10:54:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libssh (Old) and /work/SRC/openSUSE:Factory/.libssh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libssh" Changes: -------- --- /work/SRC/openSUSE:Factory/libssh/libssh.changes 2015-05-07 09:20:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libssh.new/libssh.changes 2015-05-10 10:54:34.000000000 +0200 @@ -1,0 +2,5 @@ +Wed May 6 20:26:52 UTC 2015 - dmueller@suse.com + +- add gcc5-fixes.patch: Fix build against GCC 5.x + +------------------------------------------------------------------- New: ---- gcc5-fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libssh.spec ++++++ --- /var/tmp/diff_new_pack.egicaW/_old 2015-05-10 10:54:34.000000000 +0200 +++ /var/tmp/diff_new_pack.egicaW/_new 2015-05-10 10:54:34.000000000 +0200 @@ -34,6 +34,7 @@ Source0: %{name}-%{version}.tar.xz Source99: baselibs.conf +Patch0: gcc5-fixes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -86,6 +87,7 @@ %prep %setup -q -n %{name}-%{version} +%patch0 %build if test ! -e "build"; then ++++++ gcc5-fixes.patch ++++++ --- cmake/Modules/DefineCompilerFlags.cmake +++ cmake/Modules/DefineCompilerFlags.cmake @@ -10,7 +10,7 @@ if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)") # add -Wconversion ? - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -pedantic-errors") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-format-attribute")