svn commit: r395725 - in head/mail/ifile: . files

Kurt Jaeger pi at FreeBSD.org
Mon Aug 31 19:31:08 UTC 2015


Author: pi
Date: Mon Aug 31 19:31:06 2015
New Revision: 395725
URL: https://svnweb.freebsd.org/changeset/ports/395725

Log:
  mail/ifile: fix mail/ifile build with FORTIFY_SOURCE
  
  PR:		202572
  Submitted by:	Oliver Pinter <op at freebsd.org>

Added:
  head/mail/ifile/files/patch-argp_argp-fmtstream.h   (contents, props changed)
  head/mail/ifile/files/patch-argp_argp-fs-xinl.c   (contents, props changed)
  head/mail/ifile/files/patch-argp_argp-xinl.c   (contents, props changed)
Modified:
  head/mail/ifile/Makefile
  head/mail/ifile/files/patch-Makefile.in
  head/mail/ifile/files/patch-argp_argp.h

Modified: head/mail/ifile/Makefile
==============================================================================
--- head/mail/ifile/Makefile	Mon Aug 31 18:58:44 2015	(r395724)
+++ head/mail/ifile/Makefile	Mon Aug 31 19:31:06 2015	(r395725)
@@ -9,6 +9,8 @@ MASTER_SITES=	http://people.csail.mit.ed
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Application of machine learning to e-mail filtering
 
+LICENSE=	GPLv2
+
 USES=		gmake
 GNU_CONFIGURE=	yes
 USE_CSTD=	gnu89

Modified: head/mail/ifile/files/patch-Makefile.in
==============================================================================
--- head/mail/ifile/files/patch-Makefile.in	Mon Aug 31 18:58:44 2015	(r395724)
+++ head/mail/ifile/files/patch-Makefile.in	Mon Aug 31 19:31:06 2015	(r395725)
@@ -1,14 +1,22 @@
---- Makefile.in.orig	2006-05-22 11:49:21.000000000 -0500
-+++ Makefile.in	2011-03-25 14:18:34.000000000 -0500
-@@ -48,3 +48,3 @@
+--- Makefile.in.orig	2006-05-22 16:49:21 UTC
++++ Makefile.in
+@@ -46,7 +46,7 @@ LIBS = @LIBS@
+ CFLAGS = @CFLAGS@
+ CPPFLAGS = @CPPFLAGS@
  INCLUDEFLAGS =
 -LDFLAGS =
 +LDFLAGS = @LDFLAGS@
  
-@@ -56,4 +56,4 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+@@ -54,8 +54,8 @@ bindir = @bindir@
+ mandir = @mandir@
+ 
  # Installation locations
 -if [ ! $bindir ] ; then bindir = $(exec_prefix)/bin; fi
 -if [ ! $mandir ] ; then mandir = $(prefix)/man; fi
 +# if [ ! $bindir ] ; then bindir = $(exec_prefix)/bin; fi
 +# if [ ! $mandir ] ; then mandir = $(prefix)/man; fi
  
+ #### This is just a test---feel free to delete ###
+ printdirs:

Added: head/mail/ifile/files/patch-argp_argp-fmtstream.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/ifile/files/patch-argp_argp-fmtstream.h	Mon Aug 31 19:31:06 2015	(r395725)
@@ -0,0 +1,20 @@
+--- argp/argp-fmtstream.h.orig	2006-05-22 16:49:23 UTC
++++ argp/argp-fmtstream.h
+@@ -186,7 +186,7 @@ extern void __argp_fmtstream_update (arg
+ extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
+ extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
+ 

+-#ifdef __OPTIMIZE__
++#ifdef __OPTIMIZE_INLINE__
+ /* Inline versions of above routines.  */
+ 
+ #if !_LIBC
+@@ -298,7 +298,7 @@ __argp_fmtstream_point (argp_fmtstream_t
+ #undef __argp_fmtstream_ensure
+ #endif
+ 
+-#endif /* __OPTIMIZE__ */
++#endif /* __OPTIMIZE_INLINE__ */
+ 
+ #endif /* ARGP_FMTSTREAM_USE_LINEWRAP */
+ 

Added: head/mail/ifile/files/patch-argp_argp-fs-xinl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/ifile/files/patch-argp_argp-fs-xinl.c	Mon Aug 31 19:31:06 2015	(r395725)
@@ -0,0 +1,12 @@
+--- argp/argp-fs-xinl.c.orig	2006-05-22 16:49:22 UTC
++++ argp/argp-fs-xinl.c
+@@ -24,7 +24,8 @@
+ 
+ #define ARGP_FS_EI
+ #undef __OPTIMIZE__
+-#define __OPTIMIZE__
++#define	__OPTIMIZE__	0
++#define __OPTIMIZE_INLINE__
+ #include "argp-fmtstream.h"
+ 
+ /* Add weak aliases.  */

Added: head/mail/ifile/files/patch-argp_argp-xinl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/ifile/files/patch-argp_argp-xinl.c	Mon Aug 31 19:31:06 2015	(r395725)
@@ -0,0 +1,12 @@
+--- argp/argp-xinl.c.orig	2006-05-22 16:49:22 UTC
++++ argp/argp-xinl.c
+@@ -24,7 +24,8 @@
+ 
+ #define ARGP_EI
+ #undef __OPTIMIZE__
+-#define __OPTIMIZE__
++#define __OPTIMIZE__	0
++#define	__OPTIMIZE_INLINE__
+ #include "argp.h"
+ 
+ /* Add weak aliases.  */

Modified: head/mail/ifile/files/patch-argp_argp.h
==============================================================================
--- head/mail/ifile/files/patch-argp_argp.h	Mon Aug 31 18:58:44 2015	(r395724)
+++ head/mail/ifile/files/patch-argp_argp.h	Mon Aug 31 19:31:06 2015	(r395725)
@@ -1,6 +1,6 @@
---- argp/argp.h.orig	Tue Jun 10 23:09:27 2003
-+++ argp/argp.h	Mon Jul  7 04:31:41 2003
-@@ -352,7 +352,7 @@
+--- argp/argp.h.orig	2006-05-22 16:49:22 UTC
++++ argp/argp.h
+@@ -352,7 +352,7 @@ struct argp_state
  #define ARGP_NO_EXIT	0x20
  
  /* Use the gnu getopt `long-only' rules for parsing arguments.  */


More information about the svn-ports-all mailing list