freebsd-ports/www/elinks/files/patch-src_intl_gettext_libintl.h
Dustin Marquess 6636979433 www/elinks: update to 0.16.0
ChangeLog: https://raw.githubusercontent.com/rkd77/elinks/master/NEWS

 * detect xterm on my computer
 * alternative mujs engine for js
 * bump mozjs to 102
 * experimental XHR implementation
 * macros in exmode
 * removed infinite loop, which occurred under BSD
 * optional terminal hyperlinks in dumps

PR:             268664
Reported by:    jailbird@fdf.net
2023-01-08 19:33:55 +01:00

12 lines
366 B
C

--- src/intl/gettext/libintl.h.orig 2022-12-25 18:17:02 UTC
+++ src/intl/gettext/libintl.h
@@ -44,7 +44,7 @@ _(const char *msg, struct terminal *term)
return (char *)gettext_noop(msg);
}
-static inline char *
+static inline const char *
n_(const char *msg1, const char *msg2, unsigned long int n, struct terminal *term)
{
return (char *)gettext_noop(msg1);