mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Fix BROKEN on gcc 4.2.
PR: ports/119679 Submitted by: Tsuyoshi Arai <taraijpn@gmail.com> Reviewed by: nyan Note: I committed only some part of the PR. It's enough to unbreak this port.
This commit is contained in:
parent
797a21a563
commit
3a3ffafe23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212027
@ -46,10 +46,6 @@ CONFLICTS= nmh-[0-9]*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Does not compile with GCC 4.2
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCDIR}
|
||||
|
@ -1,8 +1,6 @@
|
||||
Index: sbr/concat.c
|
||||
diff -u sbr/concat.c.orig sbr/concat.c
|
||||
--- sbr/concat.c.orig Wed Dec 1 13:01:21 1993
|
||||
+++ sbr/concat.c Fri Jul 18 14:42:47 2003
|
||||
@@ -2,13 +2,12 @@
|
||||
--- sbr/concat.c.orig 1993-12-01 13:01:21.000000000 +0900
|
||||
+++ sbr/concat.c 2008-04-27 00:14:56.000000000 +0900
|
||||
@@ -2,34 +2,40 @@
|
||||
|
||||
#include "../h/mh.h"
|
||||
#include <stdio.h>
|
||||
@ -18,8 +16,10 @@ diff -u sbr/concat.c.orig sbr/concat.c
|
||||
{
|
||||
register char *cp,
|
||||
*dp,
|
||||
@@ -17,19 +16,26 @@
|
||||
register va_list list;
|
||||
*sp;
|
||||
register unsigned len;
|
||||
- register va_list list;
|
||||
+ va_list list;
|
||||
|
||||
len = 1;
|
||||
- va_start (list);
|
||||
|
Loading…
Reference in New Issue
Block a user