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:
parent
0b3f4f780c
commit
1d1c9d8fd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326406
@ -11,7 +11,6 @@ COMMENT= Unpack data in MS Outlook TNEF format
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USE_GCC= any
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= tnef.1
|
||||
|
20
converters/tnef/files/patch-src__tnef.c
Normal file
20
converters/tnef/files/patch-src__tnef.c
Normal 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--)
|
||||
{
|
Loading…
Reference in New Issue
Block a user