ports/devel/pika/files/patch-tests_regressions_unhandled__exception__582.cpp
2025-01-17 19:29:33 -08:00

14 lines
366 B
C++

--- tests/regressions/unhandled_exception_582.cpp.orig 2025-01-18 02:01:28 UTC
+++ tests/regressions/unhandled_exception_582.cpp
@@ -21,6 +21,11 @@ int main(int argc, char** argv)
int main(int argc, char** argv)
{
+#if defined(__FreeBSD__)
+ extern char **environ;
+ freebsd_environ = environ;
+#endif
+
bool caught_exception = false;
try
{