Date: Sun, 4 Aug 2024 12:01:07 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c7958f8bd874 - main - ftp/weex: fix build on powerpc Message-ID: <202408041201.474C17rj012390@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7958f8bd8749324f0a3ccd2f260145a004a94bf commit c7958f8bd8749324f0a3ccd2f260145a004a94bf Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-07-30 00:09:02 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-08-04 12:00:20 +0000 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. --- ftp/weex/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/ftp/weex/Makefile b/ftp/weex/Makefile index e33d2ef92fde..13ab1e0b457b 100644 --- a/ftp/weex/Makefile +++ b/ftp/weex/Makefile @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408041201.474C17rj012390>