Bug 225304

Summary: devel/rubygem-eventmachine : fix build with clang 6
Product: Ports & Packages Reporter: Antoine Brodin <antoine>
Component: Individual Port(s)Assignee: freebsd-ruby (Nobody) <ruby>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (ruby)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 224669    
Description Flags
Proposed patch none

Description Antoine Brodin freebsd_committer 2018-01-18 20:01:28 UTC
Created attachment 189891 [details]
Proposed patch

devel/rubygem-eventmachine fails to build with clang 6
Comment 1 commit-hook freebsd_committer 2018-01-20 20:28:48 UTC
A commit references this bug:

Author: antoine
Date: Sat Jan 20 20:27:51 UTC 2018
New revision: 459550
URL: https://svnweb.freebsd.org/changeset/ports/459550

  Fix build with clang 6

  em.cpp:1242:59: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long &>' and 'int')
                  if (bind (sd, (struct sockaddr *)&bind_to, bind_to_len) < 0) {
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

  PR:		225304
  Reported by:	pkg-fallout