diff options
author | tobik <tobik@FreeBSD.org> | 2018-09-08 17:19:13 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-09-08 17:19:13 +0800 |
commit | 1096a8469a384ef5258aed20c4ec255a34252271 (patch) | |
tree | f1eef0fa8ee3ee0e6bc3c792cf308129ef09326b /textproc | |
parent | 7b05c0a0cfd1edce767713a84475a11d06f7b6ca (diff) | |
download | freebsd-ports-gnome-1096a8469a384ef5258aed20c4ec255a34252271.tar.gz freebsd-ports-gnome-1096a8469a384ef5258aed20c4ec255a34252271.tar.zst freebsd-ports-gnome-1096a8469a384ef5258aed20c4ec255a34252271.zip |
textproc/scim-bridge: Mark as broken on systems using Clang 6
scim-bridge-agent-signal-listener.cpp:67:9: error: no matching function for call to 'send'
send (pipe_in, '\0', sizeof (char), MSG_NOSIGNAL);
^~~~
/usr/include/sys/socket.h:680:9: note: candidate function not viable: no known conversion from 'char' to 'const void *' for 2nd argument
ssize_t send(int, const void *, size_t, int);
^
There was no maintainer feedback and it is doubtful that my proposed
fix in the PR is correct.
PR: 230891
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/scim-bridge/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/textproc/scim-bridge/Makefile b/textproc/scim-bridge/Makefile index e2049cb97bc5..e1eb7aceabfc 100644 --- a/textproc/scim-bridge/Makefile +++ b/textproc/scim-bridge/Makefile @@ -30,10 +30,18 @@ CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} \ PLIST_FILES= bin/scim-bridge +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD +.if ( ${OSVERSION} >= 1101513 && ${OSVERSION} < 1200000 ) || ${OSVERSION} >= 1200060 +BROKEN= fails to compile with clang6 or later +.endif +.endif + post-patch: @${GREP} -lR "<malloc\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|<malloc\.h>|<stdlib.h>|g' @${GREP} -lR "<alloca\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|<alloca\.h>|<stdlib.h>|g' -.include <bsd.port.mk> +.include <bsd.port.post.mk> |