|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Index: libssh-0.4.6/cmake/Modules/DefineCompilerFlags.cmake
|
|
|
|
|
--- libssh-0.4.6/cmake/Modules/DefineCompilerFlags.cmake.orig 2010-02-13 13:13:58 +0100
|
|
|
|
|
+++ libssh-0.4.6/cmake/Modules/DefineCompilerFlags.cmake 2010-02-13 18:08:29 +0100
|
|
|
|
|
Index: libssh-0.4.7/cmake/Modules/DefineCompilerFlags.cmake
|
|
|
|
|
--- libssh-0.4.7/cmake/Modules/DefineCompilerFlags.cmake.orig 2010-02-13 13:13:58 +0100
|
|
|
|
|
+++ libssh-0.4.7/cmake/Modules/DefineCompilerFlags.cmake 2010-02-13 18:08:29 +0100
|
|
|
|
|
@@ -13,11 +13,6 @@
|
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
|
|
|
|
|
endif (WITH_FPIC)
|
|
|
|
|
@ -13,9 +13,9 @@ Index: libssh-0.4.6/cmake/Modules/DefineCompilerFlags.cmake
|
|
|
|
|
check_c_compiler_flag("-D_FORTIFY_SOURCE=2" WITH_FORTIFY_SOURCE)
|
|
|
|
|
if (WITH_FORTIFY_SOURCE)
|
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2")
|
|
|
|
|
Index: libssh-0.4.6/include/libssh/priv.h
|
|
|
|
|
--- libssh-0.4.6/include/libssh/priv.h.orig 2010-02-13 13:13:58 +0100
|
|
|
|
|
+++ libssh-0.4.6/include/libssh/priv.h 2010-02-13 18:07:21 +0100
|
|
|
|
|
Index: libssh-0.4.7/include/libssh/priv.h
|
|
|
|
|
--- libssh-0.4.7/include/libssh/priv.h.orig 2010-02-13 13:13:58 +0100
|
|
|
|
|
+++ libssh-0.4.7/include/libssh/priv.h 2010-02-13 18:07:21 +0100
|
|
|
|
|
@@ -250,5 +250,9 @@
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|