/[gentoo-x86]/dev-util/cmake/files/cmake-2.6.0-interix.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.6.0-interix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun May 8 11:33:39 2011 UTC (3 years, 3 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Drop older stuff. Keep just latest stable.

(Portage version: 2.2.0_alpha31/cvs/Linux x86_64)

1 diff -ruN cmake-2.6.0.orig/Modules/Platform/Interix.cmake cmake-2.6.0/Modules/Platform/Interix.cmake
2 --- cmake-2.6.0.orig/Modules/Platform/Interix.cmake 1970-01-01 01:00:00 +0100
3 +++ cmake-2.6.0/Modules/Platform/Interix.cmake 2008-06-02 14:22:45 +0200
4 @@ -0,0 +1,31 @@
5 +# This is a proposed Platform definition for Interix GCC/G++
6 +
7 +SET(CMAKE_DL_LIBS "dl")
8 +SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
9 +SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
10 +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
11 +SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
12 +SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
13 +SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-h,")
14 +SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-h,")
15 +
16 +SET(UNIX 1)
17 +
18 +# also add the install directory of the running cmake to the search directories
19 +# CMAKE_ROOT is CMAKE_INSTALL_PREFIX/share/cmake, so we need to go two levels up
20 +GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH)
21 +GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)
22 +
23 +LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
24 + "${_CMAKE_INSTALL_DIR}"
25 + "${CMAKE_INSTALL_PREFIX}"
26 + )
27 +
28 +LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH
29 + "${CMAKE_INSTALL_PREFIX}"/include
30 + )
31 +
32 +LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH
33 + "${CMAKE_INSTALL_PREFIX}"/lib
34 + )
35 +
36 diff -ruN cmake-2.6.0.orig/Utilities/cmtar/encode.c cmake-2.6.0/Utilities/cmtar/encode.c
37 --- cmake-2.6.0.orig/Utilities/cmtar/encode.c 2008-06-02 13:00:44 +0200
38 +++ cmake-2.6.0/Utilities/cmtar/encode.c 2008-06-02 14:02:39 +0200
39 @@ -24,6 +24,9 @@
40 # include <stdlib.h>
41 #endif
42
43 +#ifdef HAVE_SYS_MKDEV_H
44 +# include <sys/mkdev.h>
45 +#endif
46
47 /* magic, version, and checksum */
48 void

  ViewVC Help
Powered by ViewVC 1.1.20