summarylogtreecommitdiffstats
path: root/xdg-basedir.patch
diff options
context:
space:
mode:
authorNoah Vogt2021-12-21 11:04:02 +0100
committerNoah Vogt2021-12-21 11:04:02 +0100
commitc9cdefbf45649f3ad3f3b06f785019f03ab81bef (patch)
treebd486f77347b4f6ea03c636fdedfb7f4e1fa4d9f /xdg-basedir.patch
parent333a33cdc3a868ae8e9b9f7fbad6d90a214062fc (diff)
downloadaur-c9cdefbf45649f3ad3f3b06f785019f03ab81bef.tar.gz
uppkg -> 96.0.4664.110-2
Diffstat (limited to 'xdg-basedir.patch')
-rw-r--r--xdg-basedir.patch19
1 files changed, 10 insertions, 9 deletions
diff --git a/xdg-basedir.patch b/xdg-basedir.patch
index cf3181577703..06df859a0cfd 100644
--- a/xdg-basedir.patch
+++ b/xdg-basedir.patch
@@ -1,6 +1,9 @@
-diff -ruN a/base/nix/xdg_util.cc b/base/nix/xdg_util.cc
---- a/base/nix/xdg_util.cc 2021-10-01 03:36:37.000000000 +0200
-+++ b/base/nix/xdg_util.cc 2021-10-11 23:38:26.553638013 +0200
+# Move ~/.pki directory to ${XDG_DATA_HOME:-$HOME/.local}/share/pki on linux
+# builds to follow the XDG Base Directory Specification. For details, refer to
+# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
+
+--- a/base/nix/xdg_util.cc
++++ b/base/nix/xdg_util.cc
@@ -29,6 +29,8 @@
const char kXdgConfigHomeEnvVar[] = "XDG_CONFIG_HOME";
const char kXdgCurrentDesktopEnvVar[] = "XDG_CURRENT_DESKTOP";
@@ -11,9 +14,8 @@ diff -ruN a/base/nix/xdg_util.cc b/base/nix/xdg_util.cc
FilePath GetXDGDirectory(Environment* env, const char* env_name,
const char* fallback_dir) {
-diff -ruN a/base/nix/xdg_util.h b/base/nix/xdg_util.h
---- a/base/nix/xdg_util.h 2021-10-11 23:57:48.607012470 +0200
-+++ b/base/nix/xdg_util.h 2021-10-12 00:04:46.457027239 +0200
+--- a/base/nix/xdg_util.h
++++ b/base/nix/xdg_util.h
@@ -37,6 +37,12 @@
// The XDG session type environment variable.
BASE_EXPORT extern const char kXdgSessionTypeEnvVar[];
@@ -28,9 +30,8 @@ diff -ruN a/base/nix/xdg_util.h b/base/nix/xdg_util.h
// |env_name| is the name of an environment variable that we want to use to get
// a directory path. |fallback_dir| is the directory relative to $HOME that we
-diff -ruN a/crypto/nss_util.cc b/crypto/nss_util.cc
---- a/crypto/nss_util.cc 2021-10-01 03:36:49.000000000 +0200
-+++ b/crypto/nss_util.cc 2021-10-12 12:45:52.235119130 +0200
+--- a/crypto/nss_util.cc
++++ b/crypto/nss_util.cc
@@ -30,6 +30,9 @@
#include "build/chromeos_buildflags.h"
#include "crypto/nss_crypto_module_delegate.h"