1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

ftp/weex: fix build on powerpc

strlib.c:176:2: error: array type 'va_list' (aka '__builtin_va_list') is not assignable
  176 |         G_VA_COPY(ap2,ap1);
      |         ^~~~~~~~~~~~~~~~~~
strlib.c:48:42: note: expanded from macro 'G_VA_COPY'
   48 | #  define G_VA_COPY(ap1, ap2)     ((ap1) = (ap2))
      |                                    ~~~~~ ^
1 error generated.
This commit is contained in:
Piotr Kubaj 2024-07-30 02:09:02 +02:00
parent 546c4b1fe5
commit c7958f8bd8

View File

@ -15,6 +15,7 @@ USES= autoreconf cpe gettext-tools gmake ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cafile=${LOCALBASE}/share/certs/ca-root-nss.crt
CFLAGS_powerpc= -D_CALL_SYSV
CPPFLAGS+= -I${OPENSSLINC}
LIBS+= -L${OPENSSLLIB}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}