mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-24 04:52:31 +00:00
Similar to patch for texlive-bin, inetutils, emacs and zsh. Cast from void to function pointer had to be modified though, , or else we get a compilation error: cgdb.cpp:1770:12: error: cannot initialize a variable of type 'void (*)(enum android_fdsan_error_level)' with an rvalue of type 'void *' void (*set_fdsan_error_level)(enum android_fdsan_error_level newlevel) = dlsym(lib_handle, "android_fdsan_set_error_level"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Not sure why we have not seen the same error for the other packages with this patch. Fixes https://github.com/termux/termux-packages/issues/7881.
1.1 KiB
1.1 KiB