[gnome-apps-nightly] Software: patch libfuse for aarch64 fixes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-apps-nightly] Software: patch libfuse for aarch64 fixes
- Date: Fri, 8 Sep 2017 08:17:02 +0000 (UTC)
commit ee3e5681cccf7972c5ddcc7280fd9049f6d7add1
Author: Christian Hergert <chergert redhat com>
Date: Fri Sep 8 01:16:51 2017 -0700
Software: patch libfuse for aarch64 fixes
fuse-2.9.2-namespace-conflict-fix.patch | 21 +++++++++++++++++++++
org.gnome.Software.json | 10 +++++++++-
2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/fuse-2.9.2-namespace-conflict-fix.patch b/fuse-2.9.2-namespace-conflict-fix.patch
new file mode 100644
index 0000000..ae67e7d
--- /dev/null
+++ b/fuse-2.9.2-namespace-conflict-fix.patch
@@ -0,0 +1,21 @@
+diff -up fuse-2.9.2/include/fuse_kernel.h.conflictfix fuse-2.9.2/include/fuse_kernel.h
+--- fuse-2.9.2/include/fuse_kernel.h.conflictfix 2013-06-26 09:31:57.862198038 -0400
++++ fuse-2.9.2/include/fuse_kernel.h 2013-06-26 09:32:19.679198365 -0400
+@@ -88,12 +88,16 @@
+ #ifndef _LINUX_FUSE_H
+ #define _LINUX_FUSE_H
+
+-#include <sys/types.h>
++#ifdef __linux__
++#include <linux/types.h>
++#else
++#include <stdint.h>
+ #define __u64 uint64_t
+ #define __s64 int64_t
+ #define __u32 uint32_t
+ #define __s32 int32_t
+ #define __u16 uint16_t
++#endif
+
+ /*
+ * Version negotiation:
diff --git a/org.gnome.Software.json b/org.gnome.Software.json
index adb280e..b16f602 100644
--- a/org.gnome.Software.json
+++ b/org.gnome.Software.json
@@ -74,13 +74,21 @@
{
/* README: needed for flatpak and fuse */
"name": "libfuse",
- "config-opts": ["--disable-util"],
"cleanup": [ "/bin" ],
+ "config-opts": [
+ "UDEV_RULES_PATH=/app/etc/udev/rules.d",
+ "INIT_D_PATH=/app/etc/init.d",
+ "--disable-util"
+ ],
"sources": [
{
"type": "archive",
"url":
"https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz",
"sha256": "832432d1ad4f833c20e13b57cf40ce5277a9d33e483205fc63c78111b3358874"
+ },
+ {
+ "type": "patch",
+ "path": "fuse-2.9.2-namespace-conflict-fix.patch"
}
]
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]