diff --git a/.gitignore b/.gitignore index 5eeb045..805c9f9 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /flatpak-0.10.2.1.tar.xz /flatpak-0.10.3.tar.xz /flatpak-0.11.1.tar.xz +/flatpak-0.11.2.tar.xz diff --git a/flatpak-0.11.2-include-sys_mman_h.patch b/flatpak-0.11.2-include-sys_mman_h.patch new file mode 100644 index 0000000..07fa45d --- /dev/null +++ b/flatpak-0.11.2-include-sys_mman_h.patch @@ -0,0 +1,26 @@ +From baa8a81ae25f7157a41ee6d43f6fb02fbf2693ab Mon Sep 17 00:00:00 2001 +From: David King +Date: Mon, 19 Feb 2018 10:31:41 +0000 +Subject: [PATCH] common: Include sys/mman.h for memfd_create() + +Versions of glibc starting with 2.27 include support for memfd_create() +in sys/mman.h, and the included libglnx then drops its internal define. +--- + common/flatpak-utils.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c +index ef240032..9b18be3a 100644 +--- a/common/flatpak-utils.c ++++ b/common/flatpak-utils.c +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.14.3 + diff --git a/flatpak.spec b/flatpak.spec index ed82d83..dfa3c59 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -2,16 +2,17 @@ %global ostree_version 2017.14 Name: flatpak -Version: 0.11.1 +Version: 0.11.2 Release: 1%{?dist} Summary: Application deployment framework for desktop apps License: LGPLv2+ URL: http://flatpak.org/ Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz +# https://github.com/flatpak/flatpak/pull/1432 +Patch0: flatpak-0.11.2-include-sys_mman_h.patch BuildRequires: pkgconfig(appstream-glib) -BuildRequires: pkgconfig(fuse) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.40.0 BuildRequires: pkgconfig(json-glib-1.0) @@ -145,6 +146,9 @@ flatpak remote-list --system &> /dev/null || : %changelog +* Mon Feb 19 2018 David King - 0.11.2-1 +- Update to 0.11.2 + * Wed Feb 14 2018 David King - 0.11.1-1 - Update to 0.11.1 (#1545224) diff --git a/sources b/sources index 6d29840..dfcbc49 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flatpak-0.11.1.tar.xz) = e1ccf0727769379d19027876e3f5de18efd23904658b1e567d04eeec8fed2c1b3555fea94285d542ddf3e4bdcc07794683ddea336cc04bd18f9fea063eb56089 +SHA512 (flatpak-0.11.2.tar.xz) = 6b37a213a29d68b5713c53bd4e8d1e84f66ae3ff05936b7a9326fb3e8849ce6e5c098f67e6963ddee58b29f442714ebcfddc21128caab46e7f47e61114f1b563