You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.0 KiB
59 lines
2.0 KiB
Index: erts/emulator/sys/unix/erl_unix_sys.h |
|
--- erts/emulator/sys/unix/erl_unix_sys.h.orig 2025-05-20 21:30:06.000000000 +0200 |
|
+++ erts/emulator/sys/unix/erl_unix_sys.h 2025-05-22 21:31:22.010144000 +0200 |
|
@@ -364,7 +364,7 @@ |
|
#ifdef USE_ISINF_ISNAN /* simulate finite() */ |
|
# define isfinite(f) (!isinf(f) && !isnan(f)) |
|
# define HAVE_ISFINITE |
|
-#elif (defined(__GNUC__) && !defined(__llvm__)) && defined(HAVE_FINITE) |
|
+#elif (defined(__GNUC__) && !defined(__llvm__)) && defined(HAVE_FINITE) && !defined(__FreeBSD__) |
|
/* We use finite in gcc as it emits assembler instead of |
|
the function call that isfinite emits. The assembler is |
|
significantly faster. */ |
|
Index: lib/erl_interface/src/connect/ei_resolve.c |
|
--- lib/erl_interface/src/connect/ei_resolve.c.orig 2025-05-20 21:30:06.000000000 +0200 |
|
+++ lib/erl_interface/src/connect/ei_resolve.c 2025-05-22 21:31:22.010390000 +0200 |
|
@@ -58,6 +58,10 @@ |
|
#undef HAVE_GETHOSTBYNAME_R |
|
#endif |
|
|
|
+#if defined(HAVE_GETHOSTBYNAME_R) && defined(__FreeBSD__) |
|
+#undef HAVE_GETHOSTBYNAME_R |
|
+#endif |
|
+ |
|
#ifdef HAVE_GETHOSTBYNAME_R |
|
|
|
int ei_init_resolve(void) |
|
Index: lib/wx/configure |
|
--- lib/wx/configure.orig 2025-05-22 21:31:22.012386000 +0200 |
|
+++ lib/wx/configure 2025-05-22 21:34:28.335959000 +0200 |
|
@@ -6533,21 +6533,21 @@ |
|
|
|
case $host_os in |
|
mingw32) |
|
- DEBUG_CFLAGS="-g -Wall -DDEBUG $CFLAGS" |
|
- CFLAGS="-g -Wall -O2 $CFLAGS -fomit-frame-pointer" |
|
+ DEBUG_CFLAGS="-DDEBUG $CFLAGS" |
|
+ CFLAGS="-O2 $CFLAGS -fomit-frame-pointer" |
|
;; |
|
win32) |
|
- DEBUG_CFLAGS="-g -Wall $CFLAGS -DDEBUG" |
|
- CFLAGS="-g -Wall -O2 $CFLAGS" |
|
+ DEBUG_CFLAGS="$CFLAGS -DDEBUG" |
|
+ CFLAGS="-O2 $CFLAGS" |
|
;; |
|
darwin*) |
|
- DEBUG_CFLAGS="-g -Wall -fPIC $CFLAGS -DDEBUG" |
|
+ DEBUG_CFLAGS="-fPIC $CFLAGS -DDEBUG" |
|
# omit-frame-pointer causes seg faults with 10.9 and clang |
|
- CFLAGS="-g -Wall -fPIC $CFLAGS" |
|
+ CFLAGS="-fPIC $CFLAGS" |
|
;; |
|
*) |
|
- DEBUG_CFLAGS="-g -Wall -fPIC $CFLAGS -DDEBUG" |
|
- CFLAGS="-Wall -fPIC $CFLAGS -fomit-frame-pointer" |
|
+ DEBUG_CFLAGS="-fPIC $CFLAGS -DDEBUG" |
|
+ CFLAGS="-fPIC $CFLAGS -fomit-frame-pointer" |
|
;; |
|
esac |
|
|
|
|