gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / postgresql-disable-resolve_symlinks.patch
CommitLineData
c336567d
JL
1From 223c82d1d6ed1f29f26307249827ff679e09c780 Mon Sep 17 00:00:00 2001
2From: Julien Lepiller <julien@lepiller.eu>
3Date: Sat, 28 Jul 2018 12:22:12 +0200
4Subject: [PATCH] disable resolve_symlink
5
6---
7 src/common/exec.c | 2 ++
8 1 file changed, 2 insertions(+)
9
10diff --git a/src/common/exec.c b/src/common/exec.c
11index 878fc29..6b3e283 100644
12--- a/src/common/exec.c
13+++ b/src/common/exec.c
14@@ -218,6 +218,8 @@ find_my_exec(const char *argv0, char *retpath)
15 static int
16 resolve_symlinks(char *path)
17 {
18+ // On GuixSD we *want* stuff relative to symlinks.
19+ return 0;
20 #ifdef HAVE_READLINK
21 struct stat buf;
22 char orig_wd[MAXPGPATH],
23--
242.18.0
25