[gtk2/f20] Fix build on aarch64

Matthias Clasen mclasen at fedoraproject.org
Mon Nov 11 17:05:04 UTC 2013


commit 17ff6bf46f337b2b7ca5ab2cb91b8a2f03f8a7c6
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Mon Nov 11 11:51:00 2013 -0500

    Fix build on aarch64

 gtk2.spec                 |    7 +++++--
 update-gdk-pixbuf-loaders |    2 +-
 update-gtk-immodules      |    2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/gtk2.spec b/gtk2.spec
index 95cb1ff..6037886 100644
--- a/gtk2.spec
+++ b/gtk2.spec
@@ -18,7 +18,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: 2.24.22
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -222,7 +222,7 @@ done
 # for places where we have two copies of the GTK+ package installed.
 # (we might have x86_64 and i686 packages on the same system, for example.)
 case "$host" in
-  alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*)
+  alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*|aarch64*)
    mv $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0 $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0-64
    ;;
   *)
@@ -336,6 +336,9 @@ gtk-query-immodules-2.0-%{__isa_bits} --update-cache
 %doc tmpdocs/examples
 
 %changelog
+* Mon Nov 11 2013 Matthias Clasen <mclasen at redhat.com> - 2.24.22-2
+- Fix build on aarch64
+
 * Fri Oct 11 2013 Matthias Clasen <mclasen at redhat.com> - 2.24.22-1
 - Update to 2.24.22
 
diff --git a/update-gdk-pixbuf-loaders b/update-gdk-pixbuf-loaders
index 9bd1ed3..4cb3045 100755
--- a/update-gdk-pixbuf-loaders
+++ b/update-gdk-pixbuf-loaders
@@ -39,7 +39,7 @@ fi
 FILE=/etc/gtk-2.0/$host/gdk-pixbuf.loaders
 
 case "$host" in
-  alpha*|ia64*|powerpc64*|s390x*|x86_64*)
+  alpha*|ia64*|powerpc64*|s390x*|x86_64*|aarch64*)
    /usr/bin/gdk-pixbuf-query-loaders-64 > $FILE
    ;;
   *)
diff --git a/update-gtk-immodules b/update-gtk-immodules
index 0837a77..2b9471b 100755
--- a/update-gtk-immodules
+++ b/update-gtk-immodules
@@ -8,7 +8,7 @@ fi
 umask 022
 
 case "$1" in
-  alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*)
+  alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*|aarch64*)
    /usr/bin/gtk-query-immodules-2.0-64 --update-cache
    ;;
   *)


More information about the scm-commits mailing list