aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:16 -0500
committerJack Nagel2014-03-20 14:05:16 -0500
commitd81843dbf6fd2edc5ab385288069b02709f8ed74 (patch)
treea3d19f026e60b2a7c613a823ad87c8fe829efbee /Library/Formula
parent24f55bca1421570ff8be995f2d83cadc8671c9a9 (diff)
downloadhomebrew-d81843dbf6fd2edc5ab385288069b02709f8ed74.tar.bz2
pjsip: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pjsip.rb18
1 files changed, 7 insertions, 11 deletions
diff --git a/Library/Formula/pjsip.rb b/Library/Formula/pjsip.rb
index 9e4348cc3..12698542c 100644
--- a/Library/Formula/pjsip.rb
+++ b/Library/Formula/pjsip.rb
@@ -5,17 +5,13 @@ class Pjsip < Formula
url 'http://www.pjsip.org/release/2.1/pjproject-2.1.tar.bz2'
sha1 '244884fb900594104792c431946384e0fedc9560'
- def patches
- # 1. We aren't cross compiling
- # pjsip thinks we are, this is fixed somewhere between
- # revision 4305 and 4621. This should be removed when
- # this formula is updated to 2.2.
- # 2, 3. Clang compatibility
- # This is fixed in revision 4588 and should be removed
- # when this formula is updated to 2.2.
- # http://trac.pjsip.org/repos/ticket/1576
- DATA
- end
+ # 1. We aren't cross compiling
+ # pjsip thinks we are, this is fixed somewhere between revision 4305 and
+ # 4621. This should be removed when this formula is updated to 2.2.
+ # 2, 3. Clang compatibility
+ # This is fixed in revision 4588 and should be removed when this formula
+ # is updated to 2.2. http://trac.pjsip.org/repos/ticket/1576
+ patch :DATA
def install
ENV.j1