Update to 0.11.2

This commit is contained in:
David King 2018-02-19 10:50:39 +00:00
parent e9bc252d0e
commit fc4188ecd5
4 changed files with 34 additions and 3 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -0,0 +1,26 @@
From baa8a81ae25f7157a41ee6d43f6fb02fbf2693ab Mon Sep 17 00:00:00 2001
From: David King <amigadave@amigadave.com>
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 <string.h>
#include <sys/stat.h>
#include <sys/file.h>
+#include <sys/mman.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include <sys/ioctl.h>
--
2.14.3

View File

@ -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 <amigadave@amigadave.com> - 0.11.2-1
- Update to 0.11.2
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.11.1-1
- Update to 0.11.1 (#1545224)

View File

@ -1 +1 @@
SHA512 (flatpak-0.11.1.tar.xz) = e1ccf0727769379d19027876e3f5de18efd23904658b1e567d04eeec8fed2c1b3555fea94285d542ddf3e4bdcc07794683ddea336cc04bd18f9fea063eb56089
SHA512 (flatpak-0.11.2.tar.xz) = 6b37a213a29d68b5713c53bd4e8d1e84f66ae3ff05936b7a9326fb3e8849ce6e5c098f67e6963ddee58b29f442714ebcfddc21128caab46e7f47e61114f1b563