summaryrefslogtreecommitdiff
path: root/Ports/glib/patches/0012-Do-not-flag-support-for-extended-attributes-xattr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/glib/patches/0012-Do-not-flag-support-for-extended-attributes-xattr.patch')
-rw-r--r--Ports/glib/patches/0012-Do-not-flag-support-for-extended-attributes-xattr.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/Ports/glib/patches/0012-Do-not-flag-support-for-extended-attributes-xattr.patch b/Ports/glib/patches/0012-Do-not-flag-support-for-extended-attributes-xattr.patch
new file mode 100644
index 0000000000..1cb28fa471
--- /dev/null
+++ b/Ports/glib/patches/0012-Do-not-flag-support-for-extended-attributes-xattr.patch
@@ -0,0 +1,22 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Kenneth Myhra <kennethmyhra@gmail.com>
+Date: Mon, 3 Oct 2022 17:19:25 +0200
+Subject: [PATCH] Do not flag support for extended attributes (xattr)
+
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 6a7ea498e55d51f0fb7547160be7f87e95708039..40f9351ef98943871549911f69ecae7218743366 100644
+--- a/meson.build
++++ b/meson.build
+@@ -2164,7 +2164,7 @@ if host_system == 'linux'
+ endif
+
+ xattr_dep = []
+-if host_system != 'windows' and get_option('xattr')
++if host_system != 'windows' and host_system != 'serenity' and get_option('xattr')
+ # either glibc or libattr can provide xattr support
+ # for both of them, we check for getxattr being in
+ # the library and a valid xattr header.