From 815ac39742d0bdb2fe3a44b410011710547b4d92 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: May 15 2018 13:39:54 +0000 Subject: Patch for major(), minor() with glibc 2.28 --- diff --git a/spacefm-1.0.6-major-glibc228.patch b/spacefm-1.0.6-major-glibc228.patch new file mode 100644 index 0000000..e028ae7 --- /dev/null +++ b/spacefm-1.0.6-major-glibc228.patch @@ -0,0 +1,10 @@ +--- spacefm-1.0.6/src/main.c.debug 2018-05-15 22:23:58.150900841 +0900 ++++ spacefm-1.0.6/src/main.c 2018-05-15 22:34:43.861899547 +0900 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include /* for major, minor */ + + #include + diff --git a/spacefm.spec b/spacefm.spec index 1f60d74..4a22794 100644 --- a/spacefm.spec +++ b/spacefm.spec @@ -1,6 +1,6 @@ Name: spacefm Version: 1.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multi-panel tabbed file and desktop manager License: GPLv3+ @@ -8,6 +8,8 @@ URL: http://ignorantguru.github.io/spacefm/ Source0: https://github.com/IgnorantGuru/spacefm/archive/%{version}/%{name}-%{version}.tar.gz # Force x11 as gdk backend (bug 1438277) Patch0: spacefm-1.0.5-force-x11-backend.patch +# Patch for major(), minor() with glibc 2.28 +Patch1: spacefm-1.0.6-major-glibc228.patch BuildRequires: libX11-devel BuildRequires: desktop-file-utils @@ -35,6 +37,7 @@ This package contains Faenza theme files for spacefm. %prep %setup -q %patch0 -p1 -b .x11 +%patch1 -p1 -b .glibc228 find . -name \*.c -print0 | xargs --null chmod 0644 %build @@ -119,6 +122,9 @@ gtk-update-icon-cache %{_datadir}/icons/Faenza &>/dev/null || : %{_datadir}/icons/Faenza/apps/*/%{name}* %changelog +* Tue May 15 2018 Mamoru TASAKA - 1.0.6-2 +- Patch for major(), minor() with glibc 2.28 + * Tue May 15 2018 Mamoru TASAKA - 1.0.6-1 - 1.0.6