ports/www/elinks/files/patch-src_document_renderer.c
Dustin Marquess c8b37a8387 www/elinks: Update to 0.18.0
Drop the libCSS/libdom patch as it's not needed anymore.
Removes options that don't require a library installed from a package
(except for EXMODE/LOCAL_CGI/NOROOT)
Wire in the test suite.
Add MUJS, PYTHON, and SIXEL options.

PR:		281909
Approved by:	submitter is maintainer
2025-01-12 21:12:28 +01:00

16 lines
422 B
C

--- src/document/renderer.c.orig 2024-12-26 11:02:09 UTC
+++ src/document/renderer.c
@@ -415,11 +415,11 @@ struct conv_table *
}
struct conv_table *
-get_convert_table(char *head, int to_cp,
+get_convert_table(const char *head, int to_cp,
int default_cp, int *from_cp,
enum cp_status *cp_status, int ignore_server_cp)
{
- char *part = head;
+ const char *part = head;
int cp_index = -1;
assert(head);