slackbuilds_ponce/graphics/darktable/darktable-0.9.x_libpaths.patch
David Spencer 61de6e44eb graphics/darktable: Updated for version 0.9.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-12-29 00:34:32 -06:00

24 lines
1.2 KiB
Diff

diff -u -r darktable-0.9.2//cmake/modules/FindGTK2.cmake darktable-0.9.2-patched//cmake/modules/FindGTK2.cmake
--- darktable-0.9.2//cmake/modules/FindGTK2.cmake 2011-08-24 10:20:29.000000000 +0100
+++ darktable-0.9.2-patched//cmake/modules/FindGTK2.cmake 2011-08-29 21:10:41.758237394 +0100
@@ -170,8 +170,6 @@
/usr/lib/i386-linux-gnu/
/usr/lib/x86_64-linux-gnu/
# end fix for Ubuntu >= 11.04 (Natty Narwhal)
- # look in debian/ubuntu multi-arch path (needs cmake >= 2.85~rc2)
- /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}
/usr/local/lib64
/usr/local/lib
/usr/lib64
diff -u -r darktable-0.9.2//cmake/modules/FindGlib.cmake darktable-0.9.2-patched//cmake/modules/FindGlib.cmake
--- darktable-0.9.2//cmake/modules/FindGlib.cmake 2011-08-29 21:55:53.743097178 +0100
+++ darktable-0.9.2-patched//cmake/modules/FindGlib.cmake 2011-08-29 21:55:09.927007977 +0100
@@ -21,7 +21,7 @@
find_path(GlibConfig_INCLUDE_DIR
NAMES glibconfig.h
PATHS ${Glib_PKGCONF_INCLUDE_DIRS} /usr
- PATH_SUFFIXES lib/glib-2.0/include ../lib/glib-2.0/include
+ PATH_SUFFIXES lib${LIB_SUFFIX}/glib-2.0/include ../lib${LIB_SUFFIX}/glib-2.0/include
)
# Finally the library itself