Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2018 09:19:13 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479238 - head/textproc/scim-bridge
Message-ID:  <201809080919.w889JDZq038766@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809080919.w889JDZq038766>