1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: [test] Do not change declaration of install_signal_handler
-flto caused compilation error.
Origin: upstream,commit: 2761271897a5113d1c9717cae841fc34b6666ba5
Bug: https://github.com/rkd77/elinks/issues/399
Bug-Debian: https://bugs.debian.org/1015394
Index: elinks/src/mime/backend/mailcap.c
===================================================================
--- elinks.orig/src/mime/backend/mailcap.c 2025-10-31 17:22:40.753488652 +0100
+++ elinks/src/mime/backend/mailcap.c 2025-10-31 17:22:40.751488672 +0100
@@ -816,11 +816,15 @@
/* Some ugly shortcuts for getting defined symbols to work. */
int default_mime_backend,
- install_signal_handler,
mimetypes_mime_backend,
program;
LIST_OF(struct terminal) terminals;
+void
+install_signal_handler(int sig, void (*fn)(void *), void *data, int critical)
+{
+}
+
int
main(int argc, char *argv[])
{
|