diff options
| author | Leif Middelschulte | 2013-05-20 17:11:14 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-24 21:15:00 -0700 |
| commit | a9558e86bc6b0219331a93050ac3733a3f6a8927 (patch) | |
| tree | 0019e749aa6d7585dc496df0e3083ec264618391 /Library/Formula | |
| parent | 39f9385c06265baee909e32b7416d86ac6b48fbd (diff) | |
| download | homebrew-a9558e86bc6b0219331a93050ac3733a3f6a8927.tar.bz2 | |
libswiften 2.0
Closes #19990.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libswiften.rb | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/Library/Formula/libswiften.rb b/Library/Formula/libswiften.rb index a1d70b467..a52d7daba 100644 --- a/Library/Formula/libswiften.rb +++ b/Library/Formula/libswiften.rb @@ -2,21 +2,19 @@ require 'formula' class Libswiften < Formula homepage 'http://swift.im/swiften' - url 'http://swift.im/downloads/releases/swift-1.0/swift-1.0.tar.gz' - sha1 '9f3780e5dca32c0e0a0ad04e36a3f6214400a1ca' + url 'http://swift.im/downloads/releases/swift-2.0/swift-2.0.tar.gz' + sha1 'b04ba098fffb1edc2ef0215957371c249458f0be' head "git://swift.im/swift" - devel do - url 'http://swift.im/downloads/releases/swift-2.0beta2/swift-2.0beta2.tar.gz' - version '2.0beta2' - sha1 '1ad1967f5d1928d1e7ce9a76877912b779e20c8f' - end - depends_on 'scons' => :build depends_on 'libidn' depends_on 'boost' + # Patch to include lock from boost. Taken from + # http://comments.gmane.org/gmane.linux.redhat.fedora.extras.cvs/957411 + def patches; DATA; end + def install boost = Formula.factory("boost") libidn = Formula.factory("libidn") @@ -40,3 +38,15 @@ class Libswiften < Formula system "#{bin}/swiften-config" end end + +__END__ +--- a/Swiften/EventLoop/EventLoop.cpp ++++ b/Swiften/EventLoop/EventLoop.cpp +@@ -12,6 +12,7 @@ + #include <cassert> + + #include <Swiften/Base/Log.h> ++#include <boost/thread/locks.hpp> + + + namespace Swift { |
