aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/freerdp.rb16
1 files changed, 10 insertions, 6 deletions
diff --git a/Library/Formula/freerdp.rb b/Library/Formula/freerdp.rb
index f0cdbfa8c..a96c7693a 100644
--- a/Library/Formula/freerdp.rb
+++ b/Library/Formula/freerdp.rb
@@ -3,22 +3,26 @@ require 'formula'
class Freerdp < Formula
homepage 'http://www.freerdp.com/'
url 'https://github.com/FreeRDP/FreeRDP/tarball/1.0.1'
- md5 '1282189a87893bf196da20382e45f6c1'
+ sha1 '93a7ffaa0e0942f3446810777154bf78053cc66c'
head 'https://github.com/FreeRDP/FreeRDP.git'
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
- # Fixes clang build problems
- # Already upstream, check for removal on 1.1 release:
- # https://github.com/FreeRDP/FreeRDP/pull/544
def patches
- 'https://github.com/bmiklautz/FreeRDP/commit/1d32894775edd1bacdbcb4b6c3e129841b637374.patch'
+ [
+ # Fixes clang build problems
+ # Already upstream, check for removal on 1.1 release:
+ # https://github.com/FreeRDP/FreeRDP/pull/544
+ 'https://github.com/mikemcquaid/FreeRDP/commit/1d3289.patch',
+ # Fixes Mountain Lion build problem
+ 'https://github.com/mikemcquaid/FreeRDP/commit/e32f9e.patch'
+ ]
end
def install
- system "cmake", ".", *std_cmake_args
+ system "cmake", ".", "-DWITH_X11=OFF", *std_cmake_args
system "make install"
end
end