aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChad Catlett2012-09-25 07:38:46 -0500
committerAdam Vandenberg2012-10-20 13:55:07 -0700
commitba65a52fbead653569a60bd5f5dd719fe81b5a85 (patch)
tree94626e9d1e0978afe57766477e55e746ee29c033 /Library
parent897f01352b5792912f0c7a86a17e740bde3a3777 (diff)
downloadhomebrew-ba65a52fbead653569a60bd5f5dd719fe81b5a85.tar.bz2
bsdsfv: patch for 64-bit compiles
Bug report: http://sourceforge.net/tracker/?func=detail&aid=2887842&group_id=7211&atid=107211 Closes #15097. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bsdsfv.rb20
1 files changed, 19 insertions, 1 deletions
diff --git a/Library/Formula/bsdsfv.rb b/Library/Formula/bsdsfv.rb
index 03969b29f..2da042751 100644
--- a/Library/Formula/bsdsfv.rb
+++ b/Library/Formula/bsdsfv.rb
@@ -1,10 +1,17 @@
require 'formula'
class Bsdsfv < Formula
- url 'http://sourceforge.net/projects/bsdsfv/files/bsdsfv/1.18/bsdsfv-1.18.tar.gz'
homepage 'http://bsdsfv.sourceforge.net/'
+ url 'http://sourceforge.net/projects/bsdsfv/files/bsdsfv/1.18/bsdsfv-1.18.tar.gz'
sha1 '5e72c5e12bce2d5f77469d8f2425064a0ea6fc1e'
+ # bug report:
+ # http://sourceforge.net/tracker/?func=detail&aid=2887842&group_id=7211&atid=107211
+ # Patch from MacPorts
+ def patches
+ DATA
+ end
+
def install
bin.mkpath
@@ -18,3 +25,14 @@ class Bsdsfv < Formula
system "make install"
end
end
+
+__END__
+--- a/bsdsfv.c 2012-09-25 07:31:03.000000000 -0500
++++ b/bsdsfv.c 2012-09-25 07:31:08.000000000 -0500
+@@ -44,5 +44,5 @@
+ typedef struct sfvtable {
+ char filename[FNAMELEN];
+- int crc;
++ unsigned int crc;
+ int found;
+ } SFVTABLE;