]> git.pld-linux.org Git - packages/QtCurve.git/commitdiff
- fix build on lib64 archs
authortommat <tommat@pld-linux.org>
Sat, 16 Feb 2008 21:58:46 +0000 (21:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    QtCurve-Gtk1-lib64.patch -> 1.1
    QtCurve.spec -> 1.57

QtCurve-Gtk1-lib64.patch [new file with mode: 0644]
QtCurve.spec

diff --git a/QtCurve-Gtk1-lib64.patch b/QtCurve-Gtk1-lib64.patch
new file mode 100644 (file)
index 0000000..9bc74a2
--- /dev/null
@@ -0,0 +1,9 @@
+--- QtCurve-Gtk1-0.42.2/gtk/Makefile.am.orig   2008-02-16 21:40:20.000000000 +0000
++++ QtCurve-Gtk1-0.42.2/gtk/Makefile.am        2008-02-16 21:40:26.000000000 +0000
+@@ -1,5 +1,5 @@
+ INCLUDES = $(GTK_CFLAGS)
+-enginedir = $(GTK_PREFIX)/lib/gtk/themes/engines
++enginedir = $(GTK_PREFIX)/lib64/gtk/themes/engines
+ engine_LTLIBRARIES = libqtcurve.la
+ libqtcurve_la_SOURCES = qtcurve.c
+ libqtcurve_la_LDFLAGS = -module -avoid-version
index 8249cc66d8c4905ea6da3635d6d0fb66078bc834..94ec3a7c3c2d48aae9f85735fa8bb9a0c6d8285d 100644 (file)
@@ -26,6 +26,7 @@ Source2:      http://home.freeuk.com/cpdrummond/%{name}-Gtk1-%{gtk1_ver}.tar.gz
 # Source2-md5: 8219f58493ca4e65a8fe61ee76eca522
 Patch0:                %{name}-Gtk2-userjs.patch
 Patch1:                %{name}-Gtk2-mailto.patch
+Patch2:                %{name}-Gtk1-lib64.patch
 URL:           http://www.kde-look.org/content/show.php?content=40492
 BuildRequires: autoconf
 BuildRequires: automake
@@ -114,6 +115,15 @@ cd %{name}-Gtk2-%{gtk2_ver}
 cd -
 %endif
 
+%if %{with gtk}
+%if "%{_lib}" == "lib64"
+cd %{name}-Gtk1-%{gtk1_ver}
+%patch2 -p1
+cd -
+%endif
+%endif
+
+
 %build
 %if %{with kde}
 cd %{name}-KDE3-%{kde_ver}
This page took 0.091461 seconds and 4 git commands to generate.