summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Goryachev via Guix-patches via <guix-patches@gnu.org>2024-09-19 19:39:11 +0300
committerAndrew Tropin <andrew@trop.in>2024-09-24 15:51:12 +0400
commitd6211bd0c1d30fa0639953b5e3181c0d99843e72 (patch)
treed7fc6e237cf84c8f1beba4adc185f72946e0a593
parentd600adbca6156b2cb552d198b0238cdbb0429c09 (diff)
downloadguix-patches-d6211bd0c1d30fa0639953b5e3181c0d99843e72.tar
guix-patches-d6211bd0c1d30fa0639953b5e3181c0d99843e72.tar.gz
gnu: erlang: Fix build.
* gnu/packages/patches/erlang-man-path.patch: Adjust patch. Change-Id: I2531c92001a3b1c2a3363615a7a1542904fa98b7 Signed-off-by: Andrew Tropin <andrew@trop.in>
-rw-r--r--gnu/packages/patches/erlang-man-path.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/patches/erlang-man-path.patch b/gnu/packages/patches/erlang-man-path.patch
index 68fc9f45b4..e5beb4af1e 100644
--- a/gnu/packages/patches/erlang-man-path.patch
+++ b/gnu/packages/patches/erlang-man-path.patch
@@ -9,10 +9,10 @@ as other man pages.)
--- a/erts/etc/common/erlexec.c
+++ b/erts/etc/common/erlexec.c
-@@ -709,8 +709,10 @@
- error("-man not supported on Windows");
- #else
- argv[i] = "man";
+@@ -728,8 +728,10 @@ int main(int argc, char **argv)
+ break;
+ }
+ }
- erts_snprintf(tmpStr, sizeof(tmpStr), "%s/man", rootdir);
- set_env("MANPATH", tmpStr);
+ /*