diff -ruN metacity-2.28.0-20.el6.src.rpm-rpmbuild/SOURCES/metacity-disable-Wcast-align.patch metacity-2.28.0-20.el6.0.src.rpm-rpmbuild/SOURCES/metacity-disable-Wcast-align.patch
--- metacity-2.28.0-20.el6.src.rpm-rpmbuild/SOURCES/metacity-disable-Wcast-align.patch	1970-01-01 01:00:00.000000000 +0100
+++ metacity-2.28.0-20.el6.0.src.rpm-rpmbuild/SOURCES/metacity-disable-Wcast-align.patch	2011-10-16 02:56:23.000000000 +0100
@@ -0,0 +1,15 @@
+diff -dur metacity-2.28.0.backup/configure.in metacity-2.28.0/configure.in
+--- metacity-2.28.0.backup/configure.in	2009-09-22 15:35:47.000000000 +0200
++++ metacity-2.28.0/configure.in	2009-11-02 13:49:02.380872832 +0100
+@@ -84,11 +84,6 @@
+   esac
+ 
+   case " $CFLAGS " in
+-  *[\ \	]-Wcast-align[\ \	]*) ;;
+-  *) CFLAGS="$CFLAGS -Wcast-align" ;;
+-  esac
+-
+-  case " $CFLAGS " in
+   *[\ \	]-Wsign-compare[\ \	]*) ;;
+   *) CFLAGS="$CFLAGS -Wsign-compare" ;;
+   esac
diff -ruN metacity-2.28.0-20.el6.src.rpm-rpmbuild/SPECS/metacity.spec metacity-2.28.0-20.el6.0.src.rpm-rpmbuild/SPECS/metacity.spec
--- metacity-2.28.0-20.el6.src.rpm-rpmbuild/SPECS/metacity.spec	2010-08-23 20:46:40.000000000 +0100
+++ metacity-2.28.0-20.el6.0.src.rpm-rpmbuild/SPECS/metacity.spec	2011-10-18 03:33:32.000000000 +0100
@@ -3,7 +3,7 @@
 Summary: Unobtrusive window manager
 Name: metacity
 Version: 2.28.0
-Release: 20%{?dist}
+Release: 20%{?dist}.0
 URL: http://download.gnome.org/sources/metacity/
 Source0: http://download.gnome.org/sources/metacity/2.28/metacity-%{version}.tar.bz2
 Patch0: default-theme.patch
@@ -70,6 +70,7 @@
 # If we pull in the full fix for 461927 at any point this patch
 # can be dropped.
 Patch30: metacity-2.28.0-unmaximize-user-rect.patch
+Patch31: metacity-disable-Wcast-align.patch
 
 License: GPLv2+
 Group: User Interface/Desktops
@@ -160,6 +161,7 @@
 %patch28 -p1 -b .grab-tracking
 %patch29 -p1 -b .mouse-unmaximize
 %patch30 -p1 -b .unmaximize-user-rect
+%patch31 -p1 -b .disable-wcast
 
 # force regeneration
 rm src/metacity.schemas
@@ -267,6 +269,9 @@
 %{_mandir}/man1/metacity-window-demo.1.gz
 
 %changelog
+* Sat Oct 15 2011 Donald Gullett <webwillow@thewebwillow.com> - 2.28.0-11
+- Patch for bug 595759 - armel: core/async-getprop.c: cast increases required alignment of target type
+
 * Thu Aug 19 2010 Owen Taylor <otaylor@redhat.com> - 2.28.0-20
 - Fix cases where unmaximized size wouldn't be honored when unmaximizing
   in reduced resources mode.
