Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2024 00:13:35 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2fb025b854c1 - main - devel/folly: Fix build on aarch due to missing #include
Message-ID:  <202411180013.4AI0DZH5067218@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2fb025b854c153fc0077fea98bb8c103ea92cb66

commit 2fb025b854c153fc0077fea98bb8c103ea92cb66
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-17 20:41:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-18 00:13:28 +0000

    devel/folly: Fix build on aarch due to missing #include
    
    Reported by:    fallout
---
 devel/folly/files/patch-folly_system_EnvUtil.cpp | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/devel/folly/files/patch-folly_system_EnvUtil.cpp b/devel/folly/files/patch-folly_system_EnvUtil.cpp
new file mode 100644
index 000000000000..c3e1c6fc9d6b
--- /dev/null
+++ b/devel/folly/files/patch-folly_system_EnvUtil.cpp
@@ -0,0 +1,13 @@
+- workaround for https://github.com/facebook/folly/pull/2338#issuecomment-2481533535
+
+--- folly/system/EnvUtil.cpp.orig	2024-11-17 20:11:35 UTC
++++ folly/system/EnvUtil.cpp
+@@ -22,6 +22,8 @@
+ #include <folly/portability/Stdlib.h>
+ #include <folly/portability/Unistd.h>
+ 
++#include <stdlib.h>
++
+ using namespace folly;
+ using namespace folly::experimental;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411180013.4AI0DZH5067218>