aboutsummaryrefslogtreecommitdiffstats
path: root/main/libssh/libssh-ccache.patch
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2011-02-16 19:14:26 +0000
committerAndrew Manison <amanison@anselsystems.com>2011-02-16 19:14:26 +0000
commit71e39ce025e46b17e9634cb8fdeec7af04f2f0fa (patch)
treeab6569d59ab7f79ae8cb7c677658f9ba12854069 /main/libssh/libssh-ccache.patch
parent01fd4f6611dd2b61cd8ceee01b4a454d74bbbc51 (diff)
parent692f71db5a7621fe29b255de3ef9ae973b74eacb (diff)
downloadaports-71e39ce025e46b17e9634cb8fdeec7af04f2f0fa.tar.bz2
aports-71e39ce025e46b17e9634cb8fdeec7af04f2f0fa.tar.xz
Merge branch 'master' of ssh://git.alpinelinux.org/gitroot/aports-amanison
Conflicts: main/iaxmodem/APKBUILD
Diffstat (limited to 'main/libssh/libssh-ccache.patch')
-rw-r--r--main/libssh/libssh-ccache.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/libssh/libssh-ccache.patch b/main/libssh/libssh-ccache.patch
new file mode 100644
index 0000000000..65927431d8
--- /dev/null
+++ b/main/libssh/libssh-ccache.patch
@@ -0,0 +1,28 @@
+--- ./ConfigureChecks.cmake.orig
++++ ./ConfigureChecks.cmake
+@@ -17,25 +17,6 @@
+ set(BINARYDIR ${CMAKE_BINARY_DIR})
+ set(SOURCEDIR ${CMAKE_SOURCE_DIR})
+
+-function(COMPILER_DUMPVERSION _OUTPUT_VERSION)
+- execute_process(
+- COMMAND
+- ${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1} -dumpversion
+- OUTPUT_VARIABLE _COMPILER_VERSION
+- )
+-
+- string(REGEX REPLACE "([0-9])\\.([0-9])(\\.[0-9])?" "\\1\\2"
+- _COMPILER_VERSION ${_COMPILER_VERSION})
+-
+- set(${_OUTPUT_VERSION} ${_COMPILER_VERSION} PARENT_SCOPE)
+-endfunction()
+-
+-if(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
+- compiler_dumpversion(GNUCC_VERSION)
+- if (NOT GNUCC_VERSION EQUAL 34)
+- check_c_compiler_flag("-fvisibility=hidden" WITH_VISIBILITY_HIDDEN)
+- endif (NOT GNUCC_VERSION EQUAL 34)
+-endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
+
+ # HEADER FILES
+ check_include_file(argp.h HAVE_ARGP_H)