diff options
| author | Stefan | 2014-02-11 22:15:29 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2014-02-11 21:37:17 +0000 | 
| commit | 8f1b5d068037b32ec2917375b6651e113cb27bbc (patch) | |
| tree | e87dfa3552c0c0b1d3951396cea6d8e21e430956 /Library/Formula/emacs-clang-complete-async.rb | |
| parent | 5ec3fc91a39c950c9b22a8a76b62373f549bf388 (diff) | |
| download | homebrew-8f1b5d068037b32ec2917375b6651e113cb27bbc.tar.bz2 | |
emacs-clang-complete-async: add llvm 3.4 patch
Closes #26637.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/emacs-clang-complete-async.rb')
| -rw-r--r-- | Library/Formula/emacs-clang-complete-async.rb | 15 | 
1 files changed, 15 insertions, 0 deletions
| diff --git a/Library/Formula/emacs-clang-complete-async.rb b/Library/Formula/emacs-clang-complete-async.rb index 142c01154..2bbb0d117 100644 --- a/Library/Formula/emacs-clang-complete-async.rb +++ b/Library/Formula/emacs-clang-complete-async.rb @@ -11,9 +11,24 @@ class EmacsClangCompleteAsync < Formula    depends_on 'llvm' => 'with-clang' +  # https://github.com/Golevka/emacs-clang-complete-async/issues/65 +  def patches; DATA; end +    def install      system "make"      bin.install "clang-complete"      share.install "auto-complete-clang-async.el" if build.include? 'with-elisp'    end  end + +__END__ +--- a/src/completion.h	2013-05-26 17:27:46.000000000 +0200 ++++ b/src/completion.h	2014-02-11 21:40:18.000000000 +0100 +@@ -3,6 +3,7 @@ + + + #include <clang-c/Index.h> ++#include <stdio.h> + + + typedef struct __completion_Session_struct | 
