diff options
| author | Johannes Huber <johu@gentoo.org> | 2012-01-13 10:02:13 +0100 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2012-01-13 10:02:44 +0100 |
| commit | d1742db94e44817130ab96eed8343e96068e937d (patch) | |
| tree | 08d6f9043e4dcff8baf4fd8ce05233436f11022d /dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch | |
| parent | a6042a48069c13ffb3501577c06b4c06acb1a664 (diff) | |
| download | kde-d1742db94e44817130ab96eed8343e96068e937d.tar.gz kde-d1742db94e44817130ab96eed8343e96068e937d.tar.bz2 kde-d1742db94e44817130ab96eed8343e96068e937d.zip | |
[dev-util/cmake] Revision bump. Adds new FindBoost.cmake patch which fixes bug 335108.
(Portage version: 2.2.0_alpha84/git/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch')
| -rw-r--r-- | dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch b/dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch new file mode 100644 index 00000000000..02c3011c8f7 --- /dev/null +++ b/dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch @@ -0,0 +1,39 @@ +http://public.kitware.com/Bug/view.php?id=7933 + +diff -ur cmake-2.6.2/Source/kwsys/kwsysPlatformTestsCXX.cxx cmake-2.6.2-p/Source/kwsys/kwsysPlatformTestsCXX.cxx +--- cmake-2.6.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Wed Sep 24 20:34:37 2008 ++++ cmake-2.6.2-p/Source/kwsys/kwsysPlatformTestsCXX.cxx Tue Nov 4 11:18:32 2008 +@@ -38,6 +38,13 @@ + int main() { return 0; } + #endif + ++#ifdef TEST_KWSYS_LFS_SUPPORT ++#define _LARGE_FILES ++#include <iostream> ++int main() { return 0; } ++#endif ++ ++ + #ifdef TEST_KWSYS_IOS_HAVE_STD + #include <iosfwd> + void f(std ::ostream*) {} +diff -ur cmake-2.6.2/bootstrap cmake-2.6.2-p/bootstrap +--- cmake-2.6.2/bootstrap Wed Sep 24 20:34:33 2008 ++++ cmake-2.6.2-p/bootstrap Tue Nov 4 11:17:11 2008 +@@ -1005,6 +1005,16 @@ + echo "${cmake_cxx_compiler} does not have stl iterator_traits" + fi + ++if cmake_try_run "${cmake_cxx_compiler}" \ ++ "${cmake_cxx_flags} -DTEST_KWSYS_LFS_SUPPORT" \ ++ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then ++ KWSYS_LFS_AVAILABLE=1 ++ echo "LFS support available" ++else ++ KWSYS_LFS_AVAILABLE=0 ++ echo "LFS support unavailable, disabled" ++fi ++ + if [ "x${KWSYS_STL_HAS_ITERATOR_TRAITS}" = "x0" ]; then + if cmake_try_run "${cmake_cxx_compiler}" \ + "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ITERATOR_CATEGORY -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \ |
