diff options
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.3-FindLibArchive.patch')
-rw-r--r-- | dev-util/cmake/files/cmake-2.8.3-FindLibArchive.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.3-FindLibArchive.patch b/dev-util/cmake/files/cmake-2.8.3-FindLibArchive.patch new file mode 100644 index 000000000000..ede3400f012e --- /dev/null +++ b/dev-util/cmake/files/cmake-2.8.3-FindLibArchive.patch @@ -0,0 +1,12 @@ +diff -ruN cmake-2.8.3.orig/Modules/FindLibArchive.cmake cmake-2.8.3/Modules/FindLibArchive.cmake +--- cmake-2.8.3.orig/Modules/FindLibArchive.cmake 2010-11-04 02:58:27.000000000 +0700 ++++ cmake-2.8.3/Modules/FindLibArchive.cmake 2010-11-05 17:40:53.712001939 +0700 +@@ -50,7 +50,7 @@ + + # Handle the QUIETLY and REQUIRED arguments and set LIBARCHIVE_FOUND + # to TRUE if all listed variables are TRUE. +-include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake") ++include("${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake") + find_package_handle_standard_args(LibArchive DEFAULT_MSG + LibArchive_LIBRARY LibArchive_INCLUDE_DIR + ) |