1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix build with clang, remove now unnecessary USE_GCC=any

This commit is contained in:
Baptiste Daroussin 2013-09-05 14:59:29 +00:00
parent 0b3f4f780c
commit 1d1c9d8fd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326406
2 changed files with 20 additions and 1 deletions

View File

@ -11,7 +11,6 @@ COMMENT= Unpack data in MS Outlook TNEF format
OPTIONS_DEFINE= DOCS
USE_GCC= any
GNU_CONFIGURE= yes
MAN1= tnef.1

View File

@ -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--)
{