svn commit: r479238 - head/textproc/scim-bridge
Tobias Kortkamp
tobik at FreeBSD.org
Sat Sep 8 09:19:14 UTC 2018
Author: tobik
Date: Sat Sep 8 09:19:13 2018
New Revision: 479238
URL: https://svnweb.freebsd.org/changeset/ports/479238
Log:
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
Modified:
head/textproc/scim-bridge/Makefile
Modified: head/textproc/scim-bridge/Makefile
==============================================================================
--- head/textproc/scim-bridge/Makefile Sat Sep 8 09:08:18 2018 (r479237)
+++ head/textproc/scim-bridge/Makefile Sat Sep 8 09:19:13 2018 (r479238)
@@ -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>
More information about the svn-ports-head
mailing list