aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lv.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/lv.rb b/Library/Formula/lv.rb
index a7f27b8a6..3e880376a 100644
--- a/Library/Formula/lv.rb
+++ b/Library/Formula/lv.rb
@@ -6,6 +6,10 @@ class Lv < Formula
version '4.51'
sha1 '1a70299c27aa317a436976a557853858db4dcb5f'
+ def patches
+ DATA
+ end
+
def install
cd 'build' do
system "../src/configure", "--prefix=#{prefix}"
@@ -18,3 +22,16 @@ class Lv < Formula
(lib + 'lv').install 'lv.hlp'
end
end
+
+__END__
+--- a/src/stream.c 2012-01-01 00:00:00.000000000 +0000
++++ b/src/stream.c 2012-01-01 00:00:00.000000000 +0000
+@@ -41,7 +41,7 @@
+ #include <begin.h>
+ #include "stream.h"
+
+-private byte *gz_filter = "zcat";
++private byte *gz_filter = "gzcat";
+ private byte *bz2_filter = "bzcat";
+
+ private stream_t *StreamAlloc()