Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
emacs-clang-complete-async: add llvm 3.4 patch
Closes Homebrew/legacy-homebrew#26637.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
Stefan authored and MikeMcQuaid committed Feb 11, 2014
1 parent a4abe0d commit 679ff35
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Formula/emacs-clang-complete-async.rb
Expand Up @@ -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

0 comments on commit 679ff35

Please sign in to comment.