]> git.pld-linux.org Git - packages/darktable.git/commitdiff
fix cmake glib finding for lib64
authorElan Ruusamäe <glen@delfi.ee>
Tue, 28 Aug 2012 18:08:37 +0000 (21:08 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 28 Aug 2012 18:08:37 +0000 (21:08 +0300)
cmake-glib.patch [new file with mode: 0644]
darktable.spec

diff --git a/cmake-glib.patch b/cmake-glib.patch
new file mode 100644 (file)
index 0000000..73ccc7a
--- /dev/null
@@ -0,0 +1,11 @@
+--- darktable-1.0.5/./cmake/modules/FindGlib.cmake~    2012-07-21 13:44:08.000000000 +0300
++++ darktable-1.0.5/./cmake/modules/FindGlib.cmake     2012-08-28 21:05:30.233854241 +0300
+@@ -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 lib64/glib-2.0/include lib/glib-2.0/include ../lib/glib-2.0/include
+ )
+ # Finally the library itself
index cc719e57438cde6a1f81cb3b3aa0d6fe8c7d967d..43e239238e71c0e9ce9531bbcaa752b52b7ec7b8 100644 (file)
@@ -11,6 +11,7 @@ License:      GPL v3
 Group:         X11/Applications/Graphics
 Source0:       http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.gz
 # Source0-md5: 9ad88a1a6b9761fce28c8073d8f47941
 Group:         X11/Applications/Graphics
 Source0:       http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.gz
 # Source0-md5: 9ad88a1a6b9761fce28c8073d8f47941
+Patch0:                cmake-glib.patch
 URL:           http://darktable.sourceforge.net/
 BuildRequires: GConf2
 BuildRequires: GConf2-devel
 URL:           http://darktable.sourceforge.net/
 BuildRequires: GConf2
 BuildRequires: GConf2-devel
@@ -58,6 +59,7 @@ darktable to wirtualny podświetlany stół i ciemnia dla fotografów
 
 %prep
 %setup -q
 
 %prep
 %setup -q
+%patch0
 
 %build
 install -d build
 
 %build
 install -d build
This page took 0.124813 seconds and 4 git commands to generate.