mutter: fix failure on i686

This commit is contained in:
Luca Bruno 2015-05-26 10:56:25 +02:00
parent 138a51b84b
commit 4053dcdace
2 changed files with 24 additions and 2 deletions

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
name = "mutter-${gnome3.version}.1.1";
name = "mutter-${gnome3.version}.2";
src = fetchurl {
url = "mirror://gnome/sources/mutter/${gnome3.version}/${name}.tar.xz";
sha256 = "07059jmwhc7zf2gww2xw94hhy4csjj2v30ivyzllbas2nvv88l3r";
sha256 = "0qq7gpkljn1z45sg2sxvmia52krj4ck2541iar89z99s1cppaasa";
};
# fatal error: gio/gunixfdlist.h: No such file or directory
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
patches = [ ./x86.patch ];
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = [ maintainers.lethalman ];

View File

@ -0,0 +1,20 @@
--- mutter-3.16.2/src/core/window.c.orig 2015-05-26 10:52:41.382834963 +0200
+++ mutter-3.16.2/src/core/window.c 2015-05-26 10:53:03.039948034 +0200
@@ -3499,7 +3499,7 @@
static MetaMonitorInfo *
find_monitor_by_winsys_id (MetaWindow *window,
- guint winsys_id)
+ gint winsys_id)
{
int i;
@@ -3618,7 +3618,7 @@
*/
gboolean did_placement;
- guint old_output_winsys_id;
+ gint old_output_winsys_id;
MetaRectangle unconstrained_rect;
MetaRectangle constrained_rect;
MetaMoveResizeResultFlags result = 0;