aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-17 20:41:16 -0700
committerAdam Vandenberg2012-03-17 20:50:03 -0700
commit264d273bea6abe3d1f84e2234a54229b2a766484 (patch)
treef1459cfff592ed0184e209bcfa99bd82601a1f4e /Library
parent74aced7819cf0a902ab1b6d59761a0f5f5a8faf5 (diff)
downloadhomebrew-264d273bea6abe3d1f84e2234a54229b2a766484.tar.bz2
mod_python: use a p1 patch
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mod_python.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/mod_python.rb b/Library/Formula/mod_python.rb
index 2ff58ec6c..d10ec2572 100644
--- a/Library/Formula/mod_python.rb
+++ b/Library/Formula/mod_python.rb
@@ -6,9 +6,7 @@ class ModPython < Formula
md5 'a3b0150176b726bd2833dac3a7837dc5'
# patch-src-connobject.c.diff from MacPorts
- def patches
- { :p0 => DATA }
- end
+ def patches; DATA; end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
@@ -42,8 +40,8 @@ class ModPython < Formula
end
__END__
---- src/connobject.c 2006-12-03 05:36:37.000000000 +0100
-+++ src/connobject.c 2008-07-30 12:30:10.000000000 +0200
+--- a/src/connobject.c 2006-12-03 05:36:37.000000000 +0100
++++ b/src/connobject.c 2008-07-30 12:30:10.000000000 +0200
@@ -139,7 +139,7 @@
bytes_read = 0;