/[gentoo-x86]/dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jan 11 01:25:07 2010 UTC (4 years, 11 months ago) by abcd
Branch: MAIN
CVS Tags: HEAD
Add prefix keywords, patches
(Portage version: -svn/cvs/Linux i686)

1 http://public.kitware.com/Bug/view.php?id=7933
2
3 diff -ur cmake-2.6.2/Source/kwsys/kwsysPlatformTestsCXX.cxx cmake-2.6.2-p/Source/kwsys/kwsysPlatformTestsCXX.cxx
4 --- cmake-2.6.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Wed Sep 24 20:34:37 2008
5 +++ cmake-2.6.2-p/Source/kwsys/kwsysPlatformTestsCXX.cxx Tue Nov 4 11:18:32 2008
6 @@ -38,6 +38,13 @@
7 int main() { return 0; }
8 #endif
9
10 +#ifdef TEST_KWSYS_LFS_SUPPORT
11 +#define _LARGE_FILES
12 +#include <iostream>
13 +int main() { return 0; }
14 +#endif
15 +
16 +
17 #ifdef TEST_KWSYS_IOS_HAVE_STD
18 #include <iosfwd>
19 void f(std ::ostream*) {}
20 diff -ur cmake-2.6.2/bootstrap cmake-2.6.2-p/bootstrap
21 --- cmake-2.6.2/bootstrap Wed Sep 24 20:34:33 2008
22 +++ cmake-2.6.2-p/bootstrap Tue Nov 4 11:17:11 2008
23 @@ -1005,6 +1005,16 @@
24 echo "${cmake_cxx_compiler} does not have stl iterator_traits"
25 fi
26
27 +if cmake_try_run "${cmake_cxx_compiler}" \
28 + "${cmake_cxx_flags} -DTEST_KWSYS_LFS_SUPPORT" \
29 + "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then
30 + KWSYS_LFS_AVAILABLE=1
31 + echo "LFS support available"
32 +else
33 + KWSYS_LFS_AVAILABLE=0
34 + echo "LFS support unavailable, disabled"
35 +fi
36 +
37 if [ "x${KWSYS_STL_HAS_ITERATOR_TRAITS}" = "x0" ]; then
38 if cmake_try_run "${cmake_cxx_compiler}" \
39 "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ITERATOR_CATEGORY -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \

  ViewVC Help
Powered by ViewVC 1.1.20