summaryrefslogtreecommitdiff
path: root/Ports/glib/patches
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2022-10-03 21:38:56 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-03 22:48:56 +0100
commit898948229358583f033cdfddc8c5ab11895122bd (patch)
treeb43295b5fb72503ad4df6d5bb9eb84b22063953d /Ports/glib/patches
parent64b46794b91bd3e137f490f641d3d27c4be3520e (diff)
downloadserenity-898948229358583f033cdfddc8c5ab11895122bd.zip
Ports/glib: Do not flag support for extended attributes (xattr)
Diffstat (limited to 'Ports/glib/patches')
-rw-r--r--Ports/glib/patches/0012-Do-not-flag-support-for-extended-attributes-xattr.patch22
-rw-r--r--Ports/glib/patches/ReadMe.md5
2 files changed, 27 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.
diff --git a/Ports/glib/patches/ReadMe.md b/Ports/glib/patches/ReadMe.md
index dd07f28d05..59b26099ad 100644
--- a/Ports/glib/patches/ReadMe.md
+++ b/Ports/glib/patches/ReadMe.md
@@ -65,3 +65,8 @@ Include 'strings.h' for strcasecmp
Exclude arpa/nameser.h as it does not exist on Serenity
+## `0012-Do-not-flag-support-for-extended-attributes-xattr.patch`
+
+Do not flag support for extended attributes (xattr)
+
+