all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 0397bd5a35748de1b63d69c6a45aeadbec939041 681 bytes (raw)
name: gnu/packages/patches/postgresql-disable-normalize_exec_path.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
diff --git a/src/common/exec.c b/src/common/exec.c
index f209b93..ed42202 100644
--- a/src/common/exec.c
+++ b/src/common/exec.c
@@ -238,6 +238,14 @@ find_my_exec(const char *argv0, char *retpath)
 static int
 normalize_exec_path(char *path)
 {
+	/*
+	 * Guix specific patch: postgresql extensions need to be located in the
+	 * same directory as postgresql.
+	 * In Guix we currently use directory-unions to create extended postgresql
+	 * packages. Directory unions use symlinks, that's why we need to be able
+	 * to use symlinks.
+	 */
+	return 0;
 	/*
 	 * We used to do a lot of work ourselves here, but now we just let
 	 * realpath(3) do all the heavy lifting.
-- 
2.46.0


debug log:

solving 0397bd5a35 ...
found 0397bd5a35 in https://yhetil.org/guix/20241026224730.981-3-ngraves@ngraves.fr/

applying [1/1] https://yhetil.org/guix/20241026224730.981-3-ngraves@ngraves.fr/
diff --git a/gnu/packages/patches/postgresql-disable-normalize_exec_path.patch b/gnu/packages/patches/postgresql-disable-normalize_exec_path.patch
new file mode 100644
index 0000000000..0397bd5a35

1:23: space before tab in indent.
 	/*
1:24: space before tab in indent.
 	 * We used to do a lot of work ourselves here, but now we just let
1:25: space before tab in indent.
 	 * realpath(3) do all the heavy lifting.
1:26: trailing whitespace.
-- 
Checking patch gnu/packages/patches/postgresql-disable-normalize_exec_path.patch...
1:28: new blank line at EOF.
+
Applied patch gnu/packages/patches/postgresql-disable-normalize_exec_path.patch cleanly.
warning: 5 lines add whitespace errors.

index at:
100644 0397bd5a35748de1b63d69c6a45aeadbec939041	gnu/packages/patches/postgresql-disable-normalize_exec_path.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.