From 3dd3658931d4946f256d56cdabe5f9f42977927a Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Jun 03 2015 05:53:53 +0000 Subject: fix compilation error on arm --- diff --git a/spacefm-1.0.2-arm-mmintrin.patch b/spacefm-1.0.2-arm-mmintrin.patch new file mode 100644 index 0000000..4416989 --- /dev/null +++ b/spacefm-1.0.2-arm-mmintrin.patch @@ -0,0 +1,12 @@ +--- spacefm-1.0.2/src/exo/exo-gdk-pixbuf-extensions.c.arm 2015-06-02 21:34:20.000000000 +0900 ++++ spacefm-1.0.2/src/exo/exo-gdk-pixbuf-extensions.c 2015-06-03 14:51:04.781017613 +0900 +@@ -41,7 +41,9 @@ + #include + #include + #include ++#if defined(__GNUC__) && defined(__MMX__) + #include ++#endif + + #ifdef HAVE_STDLIB_H + #include diff --git a/spacefm.spec b/spacefm.spec index 9ac1b67..dd9e8db 100644 --- a/spacefm.spec +++ b/spacefm.spec @@ -6,6 +6,8 @@ Summary: Multi-panel tabbed file and desktop manager License: GPLv3+ URL: http://ignorantguru.github.io/spacefm/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz +# https://github.com/IgnorantGuru/spacefm/issues/550 +Patch0: spacefm-1.0.2-arm-mmintrin.patch BuildRequires: libX11-devel BuildRequires: desktop-file-utils @@ -32,6 +34,7 @@ This package contains Faenza theme files for spacefm. %prep %setup -q +%patch0 -p1 -b .arm find . -name \*.c -print0 | xargs --null chmod 0644 %build