Colin Walters 2018-07-30 16:40:59 +00:00
parent e255679cea
commit 1196f1c2b3
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From 7be25521cf639acc77ad8f968eb6c918533e94ec Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Wed, 11 Jul 2018 14:56:32 -0400
Subject: [PATCH] libglnx.m4: Include stdio.h for renameat2
glibc added it upstream:
https://sourceware.org/git/?p=glibc.git;a=commit;h=d6da5cb6a8e0e8a9ce92b7d951a254cf325248d7
But we need the right header.
Ref: https://github.com/flatpak/flatpak/issues/1890
---
libglnx.m4 | 1 +
1 file changed, 1 insertion(+)
diff --git a/libglnx.m4 b/libglnx.m4
index 34caf20..5922805 100644
--- a/libglnx/libglnx.m4
+++ b/libglnx/libglnx.m4
@@ -7,6 +7,7 @@ AC_CHECK_DECLS([
[], [], [[
#include <sys/types.h>
#include <unistd.h>
+#include <stdio.h>
#include <sys/mount.h>
#include <fcntl.h>
#include <sched.h>
--
2.17.1

View File

@ -16,6 +16,7 @@ Release: 4%{?dist}
Source0: rpm-ostree-%{version}.tar.xz
Patch1: 0001-build-sys-Use-python3-for-libdnf-by-default-if-avail.patch
Patch2: 0001-core-Use-new-rpmtsSetVfyLevel-API-for-writing-rpmdb.patch
Patch3: 0001-libglnx.m4-Include-stdio.h-for-renameat2.patch
License: LGPLv2+
URL: https://github.com/projectatomic/rpm-ostree
@ -183,6 +184,7 @@ $PYTHON autofiles.py > files.devel \
* Mon Jul 30 2018 Colin Walters <walters@verbum.org> - 2018.6-4
- Backport patch for https://bugzilla.redhat.com/show_bug.cgi?id=1607223
from https://github.com/projectatomic/rpm-ostree/pull/1469
- Also https://github.com/projectatomic/rpm-ostree/pull/1461
* Mon Jul 16 2018 Colin Walters <walters@verbum.org> - 2018.6-3
- Make build python3-only compatible for distributions that want that