diff options
Diffstat (limited to 'media-gfx/exiv2/files/exiv2-0.26-cmake4.patch')
-rw-r--r-- | media-gfx/exiv2/files/exiv2-0.26-cmake4.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/exiv2/files/exiv2-0.26-cmake4.patch b/media-gfx/exiv2/files/exiv2-0.26-cmake4.patch new file mode 100644 index 000000000000..3824a5740005 --- /dev/null +++ b/media-gfx/exiv2/files/exiv2-0.26-cmake4.patch @@ -0,0 +1,24 @@ +From 23ac3eeced6a4de0d34ae162ac7784ab9b7e4310 Mon Sep 17 00:00:00 2001 +From: clanmills <robin@clanmills.com> +Date: Sat, 3 Jun 2017 20:58:08 +0100 +Subject: [PATCH] #7 Fix for libintl + +--- + config/CMakeChecks.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config/CMakeChecks.txt b/config/CMakeChecks.txt +index 0dfe96b7..8c88aa27 100644 +--- a/config/CMakeChecks.txt ++++ b/config/CMakeChecks.txt +@@ -103,8 +103,8 @@ IF( EXIV2_ENABLE_NLS ) + find_library(LIBINTL_LIBRARY NAMES intl libintl) + if(libintl_FOUND) + SET(LIBINTL_LIBRARIES ${LIBINTL_LIBRARY}) +- else(libintl_FOUND) +- SET(LIBINTL_LIBRARIES) ++ else() ++ SET(LIBINTL_LIBRARIES -lintl) + endif() + endif() + IF( NOT LOCALEDIR ) |