My only test environment is 10.10, but this patch is required to build here.
It should work as far back as 10.9 for sure (when clang became the default) and probably earlier, but I haven't tested. There's also some plumbing in homebrew to work out what version you're on, but I didn't do it because I wasn't sure what versions actually needed this tweak. Patch inlined as well in case groups doesn't like my attachment. Thanks! --- prosody.rb.orig 2014-07-07 17:32:21.000000000 +1000 +++ prosody.rb 2014-07-07 17:32:32.000000000 +1000 @@ -6,7 +6,7 @@ sha1 'c201c0cd82dfb6b209d8dc176033e5a7ba9559c3' def self.depends_on_rock( rockname ) - system "luarocks", "install", rockname + system "luarocks", "CC=clang", "LD=clang", "install", rockname end def patches; DATA end -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/prosody-dev. For more options, visit https://groups.google.com/d/optout.
--- prosody.rb.orig 2014-07-07 17:32:21.000000000 +1000 +++ prosody.rb 2014-07-07 17:32:32.000000000 +1000 @@ -6,7 +6,7 @@ sha1 'c201c0cd82dfb6b209d8dc176033e5a7ba9559c3' def self.depends_on_rock( rockname ) - system "luarocks", "install", rockname + system "luarocks", "CC=clang", "LD=clang", "install", rockname end def patches; DATA end
