Updating link to change in openSUSE:Factory/libssh revision 36.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libssh?expand=0&rev=b60422a84f5e29dc41762b3b8eedcf03
This commit is contained in:
OBS User buildservice-autocommit 2015-05-10 08:54:32 +00:00 committed by Git OBS Bridge
parent 79829a2685
commit 90dff46344
3 changed files with 18 additions and 0 deletions

11
gcc5-fixes.patch Normal file
View File

@ -0,0 +1,11 @@
--- 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")

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 6 20:26:52 UTC 2015 - dmueller@suse.com
- add gcc5-fixes.patch: Fix build against GCC 5.x
-------------------------------------------------------------------
Thu Apr 30 14:08:31 UTC 2015 - asn@cryptomilk.org

View File

@ -34,6 +34,7 @@ Url: https://www.libssh.org
Source0: %{name}-%{version}.tar.xz
Source99: baselibs.conf
Patch0: gcc5-fixes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -86,6 +87,7 @@ Documentation for libssh development.
%prep
%setup -q -n %{name}-%{version}
%patch0
%build
if test ! -e "build"; then