mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
Port changes: * Change to DISTVERSION * Add LICENSE/LICENSE_FILE * Fix misspeling in the CONFIGURE_ENABLE for the NEXT_LOOK option * Add ifdef guarding against non-existing I_PUSH ioctl value * Regenerate other patches because portlint said they weren't properly generated * Remove nls translation files (.mo) because they were deleted in configure with the note that they weren't maintained Reported by: portscout
18 lines
494 B
C
18 lines
494 B
C
--- widget/widechar.c.orig 2017-08-04 19:12:31 UTC
|
|
+++ widget/widechar.c
|
|
@@ -227,6 +227,7 @@ static inline struct mb_rule apply_mb_ru
|
|
static inline struct mb_rule apply_mb_rules_going_right (WEdit * edit, long byte_index, struct mb_rule mb_rule)
|
|
{
|
|
#ifdef HAVE_WCHAR_H
|
|
+#ifdef HAVE_MBRTOWC
|
|
wchar_t wc;
|
|
unsigned char p[16];
|
|
int n;
|
|
@@ -253,6 +254,7 @@ static inline struct mb_rule apply_mb_ru
|
|
mb_rule.end = 0;
|
|
mb_rule.ch = -1;
|
|
#endif
|
|
+#endif
|
|
return mb_rule;
|
|
}
|
|
|