Csync updated to remove crashing iconv related bug and smbc_utime

bugs on yosemite.   Only tested for HEAD
I only have access to a Yosemite system here - I cannot compile csync without the first void * patch.   I cannot run the program without the second patch as it crashes with a malloc free error.   Can someone else please try to reproduce these bugs before I submit upstream please?

Mark

> On 23 Dec 2014, at 8:35 pm, Mike McQuaid <notifications@github.com> wrote:
> 
> In Library/Formula/csync.rb <https://github.com/Homebrew/homebrew/pull/35207#discussion-diff-22208560>:
> 
> > -      # yet. We also have to patch "link.txt" for all module
> > -      # targets. This should probably be reported upstream.
> > -      system "make csync"
> > -      inreplace Dir['modules/CMakeFiles/*/link.txt'] do |s|
> > -        s.gsub! '-o', "../src/libcsync.dylib ../src/std/libcstdlib.a -o"
> > -      end
> > -      # Now we can make and install.
> > -      system "make all"
> > +    system "cmake", "..", *std_cmake_args
> > +    # We need to run make csync first to make the "core",
> > +    # or the build system will freak out and try to link
> > +    # modules against core functions that aren't compiled
> > +    # yet. We also have to patch "link.txt" for all module
> > +    # targets. This should probably be reported upstream.
> > +    system "make csync"
> > +    inreplace Dir['modules/CMakeFiles/*/link.txt'] do |s|
> Please submit these changes upstream as patches.
> 
> —
> Reply to this email directly or view it on GitHub <https://github.com/Homebrew/homebrew/pull/35207/files#r22208560>.
>