Skip to content

Commit

Permalink
bsdsfv: patch for 64-bit compiles
Browse files Browse the repository at this point in the history
Bug report: http://sourceforge.net/tracker/?func=detail&aid=2887842&group_id=7211&atid=107211

Closes Homebrew#15097.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
chadcatlett authored and adamv committed Oct 20, 2012
1 parent 011f5ca commit 4724ce6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Library/Formula/bsdsfv.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,17 @@
require 'formula' require 'formula'


class Bsdsfv < Formula class Bsdsfv < Formula
url 'http://sourceforge.net/projects/bsdsfv/files/bsdsfv/1.18/bsdsfv-1.18.tar.gz'
homepage 'http://bsdsfv.sourceforge.net/' homepage 'http://bsdsfv.sourceforge.net/'
url 'http://sourceforge.net/projects/bsdsfv/files/bsdsfv/1.18/bsdsfv-1.18.tar.gz'
sha1 '5e72c5e12bce2d5f77469d8f2425064a0ea6fc1e' 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 def install
bin.mkpath bin.mkpath


Expand All @@ -18,3 +25,14 @@ def install
system "make install" system "make install"
end end
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;

0 comments on commit 4724ce6

Please sign in to comment.