diff mbox series

[bug#73367,2/4] gnu: erlang: Fix build.

Message ID 29b85464b5bc31000efa77af6f5094b331146543.1726763309.git.igor@goryachev.org
State New
Headers show
Series Update erlang, elixir and rebar3. | expand

Commit Message

Igor Goryachev Sept. 19, 2024, 4:39 p.m. UTC
* gnu/packages/patches/erlang-man-path.patch: Adjust patch.

Change-Id: I2531c92001a3b1c2a3363615a7a1542904fa98b7
---
 gnu/packages/patches/erlang-man-path.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

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);
 +			/*