ports/x11/mrxvt/files/patch-src-main.c
Muhammad Moinur Rahman eacbf30357 x11/mrxvt: Refactor
- Add LICENSE GPLv2
- Change to USES=localbase
- Add description for JAPANESE OPTION
- Convert post-install target to @ keywork
- make patches make-makepatch compatible
- Take MAINTAINERSHIP
2023-02-12 10:52:19 -06:00

11 lines
366 B
C

--- src/main.c.orig 2005-08-31 05:30:41 UTC
+++ src/main.c
@@ -1568,7 +1568,7 @@ rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window w
void
rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window win, const char* str)
{
-#ifdef HAVE_WCHAR_H
+#ifdef HAVE_WCHAR_H && _FreeBSD_version >= 500000
wchar_t* ws = rxvt_mbstowcs (str);
char* s = rxvt_wcstoutf8 (ws);