aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-05 14:59:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-05 14:59:29 +0000
commit1d1c9d8fd9ffda0fb391fdc46ba598da138fdbad (patch)
treeb300f0fa869d53ad6cebdb58842cfdee517f7df8 /converters
parent0b3f4f780c6887805aaaf3c1d2840052d0974105 (diff)
downloadports-1d1c9d8fd9ffda0fb391fdc46ba598da138fdbad.tar.gz
ports-1d1c9d8fd9ffda0fb391fdc46ba598da138fdbad.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/tnef/Makefile1
-rw-r--r--converters/tnef/files/patch-src__tnef.c20
2 files changed, 20 insertions, 1 deletions
diff --git a/converters/tnef/Makefile b/converters/tnef/Makefile
index c0eebb896fcf..70811adcc46e 100644
--- a/converters/tnef/Makefile
+++ b/converters/tnef/Makefile
@@ -11,7 +11,6 @@ COMMENT= Unpack data in MS Outlook TNEF format
OPTIONS_DEFINE= DOCS
-USE_GCC= any
GNU_CONFIGURE= yes
MAN1= tnef.1
diff --git a/converters/tnef/files/patch-src__tnef.c b/converters/tnef/files/patch-src__tnef.c
new file mode 100644
index 000000000000..5b890f2f97ec
--- /dev/null
+++ b/converters/tnef/files/patch-src__tnef.c
@@ -0,0 +1,20 @@
+--- ./src/tnef.c.orig 2012-03-01 00:46:07.000000000 +0100
++++ ./src/tnef.c 2013-09-05 16:57:10.926068671 +0200
+@@ -43,6 +43,8 @@
+
+ static size_t filesize;
+
++static void free_bodies(VarLenData **bodies, int len);
++
+ typedef struct
+ {
+ VarLenData **text_body;
+@@ -386,7 +388,7 @@
+ return 0;
+ }
+
+-void free_bodies(VarLenData **bodies, int len)
++static void free_bodies(VarLenData **bodies, int len)
+ {
+ while (len--)
+ {