svn commit: r326406 - in head/converters/tnef: . files

Baptiste Daroussin bapt at FreeBSD.org
Thu Sep 5 14:59:30 UTC 2013


Author: bapt
Date: Thu Sep  5 14:59:29 2013
New Revision: 326406
URL: http://svnweb.freebsd.org/changeset/ports/326406

Log:
  Fix build with clang, remove now unnecessary USE_GCC=any

Added:
  head/converters/tnef/files/
  head/converters/tnef/files/patch-src__tnef.c   (contents, props changed)
Modified:
  head/converters/tnef/Makefile

Modified: head/converters/tnef/Makefile
==============================================================================
--- head/converters/tnef/Makefile	Thu Sep  5 14:40:24 2013	(r326405)
+++ head/converters/tnef/Makefile	Thu Sep  5 14:59:29 2013	(r326406)
@@ -11,7 +11,6 @@ COMMENT=	Unpack data in MS Outlook TNEF 
 
 OPTIONS_DEFINE=	DOCS
 
-USE_GCC=	any
 GNU_CONFIGURE=	yes
 
 MAN1=		tnef.1

Added: head/converters/tnef/files/patch-src__tnef.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/tnef/files/patch-src__tnef.c	Thu Sep  5 14:59:29 2013	(r326406)
@@ -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--)
+     {


More information about the svn-ports-all mailing list