forked from Lainports/freebsd-ports
Take maintainership ANSI and QT5 interfaces added Use OPTIONS_SINGLE to make it more clear that only one interface can be selected at a time. Port uses three configure scripts, but only the main one was receiving CONFIGURE_ENV, so home-brew a do-configure target. Use CONFIGURE_ENV to pass variables instead of substitutions.
26 lines
665 B
C
26 lines
665 B
C
Fix build with aarch64, armv6, and armv7
|
|
|
|
#--- mpdm_s.o ---
|
|
mpdm_s.c:1070:5: error: conflicting types for '__wcwidth'
|
|
int wcwidth(wchar_t);
|
|
^
|
|
/usr/include/wchar.h:211:21: note: expanded from macro 'wcwidth'
|
|
#define wcwidth(_c) __wcwidth(_c)
|
|
^
|
|
/usr/include/_ctype.h:159:1: note: previous definition is here
|
|
__wcwidth(__ct_rune_t _c)
|
|
^
|
|
1 error generated.
|
|
*** [mpdm_s.o] Error code 1
|
|
|
|
--- mpdm/mpdm_s.c.orig 2018-03-04 00:49:18 UTC
|
|
+++ mpdm/mpdm_s.c
|
|
@@ -1067,8 +1067,6 @@ int mpdm_gettext_domain(const mpdm_t dom, const mpdm_t
|
|
|
|
#ifdef CONFOPT_WCWIDTH
|
|
|
|
-int wcwidth(wchar_t);
|
|
-
|
|
int mpdm_wcwidth(wchar_t c)
|
|
{
|
|
return wcwidth(c);
|