blob: 9583973e5e5d3e07fc4619278334f6cd261a5466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
require 'formula'
class Tnef < Formula
homepage 'http://sourceforge.net/projects/tnef/'
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*
|