Description: Fix build with GCC-14 Using GCC-14, and without this patch, the compiler may not find the correct type of RANDOM_RETURN_TYPE from the system, which may result in a compilation failure. Author: Marcos Talau Bug-Debian: https://bugs.debian.org/1075321 Last-Update: 2024-10-25 --- ns2-2.35+dfsg.orig/configure +++ ns2-2.35+dfsg/configure @@ -7986,7 +7986,7 @@ else #include #include "confdefs.h" long random() { return 1; } -main() { exit(0); } +int main() { exit(0); } _ACEOF if ac_fn_c_try_run "$LINENO"; then :