about [UPDATING (4 days)] [MOVED (15 hours)] [vuxml (3 hours)]summaryrefslograw-logtreecommitdiffstats
path: root/www/librewolf/files/patch-ipc_glue_ForkServer.cpp [up]
Last 15 commits to file "www/librewolf/files/patch-ipc_glue_ForkServer.cpp" in the last year: [ Last 15 commits to this file | All commits to this file ]
 
Commit messageAuthorDateFilesLines
* [ file ]www/librewolf: Update 149.0.2-2 => 150.0.1-1Martin Filla2026-04-30 19:32:11 +01001-0/+35


commit: (<title> <author> <date> etc.)
blob: 6632ff89fa51c47d83742cd785dd888f532cbe4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
commit cf2fba7d3f8414cfc993b6a2d9ab01b43f6669d5
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>

    we need signal.h and BinaryPath.h

diff --git ipc/glue/ForkServer.cpp ipc/glue/ForkServer.cpp
index d18fab02d686..837d0ac62f40 100644
--- ipc/glue/ForkServer.cpp
+++ ipc/glue/ForkServer.cpp
@@ -22,12 +22,15 @@
 #include <string.h>
 #include <sys/wait.h>
 #include <unistd.h>
+#if defined(XP_FREEBSD)
+#include <signal.h>
+#endif
 
 #if defined(XP_LINUX) && defined(MOZ_SANDBOX)
 #  include "mozilla/SandboxLaunch.h"
 #endif
 
-#if defined(XP_OPENBSD)
+#if defined(XP_OPENBSD) || defined(XP_FREEBSD)
 #  include "BinaryPath.h"
 #  include <err.h>
 #endif
@@ -76,7 +79,7 @@ ForkServer::ForkServer(int* aArgc, char*** aArgv) : mArgc(aArgc), mArgv(aArgv) {
  */
 static void ForkServerPreload(int& aArgc, char** aArgv) {
   Omnijar::ChildProcessInit(aArgc, aArgv);
-#if defined(XP_OPENBSD)
+#if defined(XP_OPENBSD) || defined(XP_FREEBSD)
   char binaryPath[MAXPATHLEN];
   nsresult rv = mozilla::BinaryPath::Get(binaryPath);
   if (NS_FAILED(rv)) {
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.