diff options
| author | Dmitry Nedospasov | 2013-04-24 11:49:47 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-08 23:35:35 -0700 |
| commit | 01058a2eae6fc064ca1fd36cd4cf5536a75e5f82 (patch) | |
| tree | 7f81a59162452f4763f2554ed364eb38a69ae2d2 | |
| parent | 27fc2fda68fe70dd9a5e2a4061b7eed6e4f2c54d (diff) | |
| download | homebrew-01058a2eae6fc064ca1fd36cd4cf5536a75e5f82.tar.bz2 | |
tnef 1.4.9
Closes #19401.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/tnef.rb | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/Library/Formula/tnef.rb b/Library/Formula/tnef.rb index c24f68caf..9583973e5 100644 --- a/Library/Formula/tnef.rb +++ b/Library/Formula/tnef.rb @@ -2,11 +2,30 @@ require 'formula' class Tnef < Formula homepage 'http://sourceforge.net/projects/tnef/' - url 'http://downloads.sourceforge.net/project/tnef/tnef/tnef-1.4.8.tar.gz' - sha1 '19431176ee523fe3fd5e745882a9083426cc5671' + url 'http://downloads.sourceforge.net/project/tnef/tnef/tnef-1.4.9.tar.gz' + sha1 'd42ccbe3d41e797fb4133f2e01120680101e8782' + + # LLVM gets confused without a function prototype + def patches; DATA; end def install system "./configure", "--prefix=#{prefix}" system "make install" end end + +__END__ +diff --git a/src/tnef.c b/src/tnef.c +index 1cb46d1..86aa214 100644 +--- a/src/tnef.c ++++ b/src/tnef.c +@@ -57,6 +57,9 @@ typedef enum + RTF = 'r' + } MessageBodyTypes; + ++// Quick fix for compiling on MacOSX 10.8 ++void free_bodies(VarLenData **bodies, int len); ++ + /* Reads and decodes a object from the stream */ + + static Attr* |
