Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2021 20:32:46 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568281 - in head/japanese/mh: . files
Message-ID:  <202103132032.12DKWk0m078506@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Sat Mar 13 20:32:45 2021
New Revision: 568281
URL: https://svnweb.freebsd.org/changeset/ports/568281

Log:
  japanese/mh: Fix build failure on 13 (with -fno-common)
  
  PR:		249013
  Submitted by:	WATANABE Kazuhiro <CQG00620@nifty.ne.jp> (maintainer)

Added:
  head/japanese/mh/files/patch-h_formatsbr.h   (contents, props changed)
  head/japanese/mh/files/patch-sbr_fmtcompile.c   (contents, props changed)
Modified:
  head/japanese/mh/Makefile

Modified: head/japanese/mh/Makefile
==============================================================================
--- head/japanese/mh/Makefile	Sat Mar 13 20:27:34 2021	(r568280)
+++ head/japanese/mh/Makefile	Sat Mar 13 20:32:45 2021	(r568281)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mh
 PORTVERSION=	${VERSION}.j${JP_VERSION}
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	japanese mail
 MASTER_SITES=	ftp://ftp.laic.u-hyogo.ac.jp/pub/net/mh/ \
 		http://mirror.amdmi3.ru/distfiles/

Added: head/japanese/mh/files/patch-h_formatsbr.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/mh/files/patch-h_formatsbr.h	Sat Mar 13 20:32:45 2021	(r568281)
@@ -0,0 +1,11 @@
+--- h/formatsbr.h.orig	1993-12-01 04:00:26 UTC
++++ h/formatsbr.h
+@@ -32,7 +32,7 @@ struct comp {
+ 
+ extern int fmt_norm;
+ 
+-struct	comp	*wantcomp[128];	/* hash table for deciding if a
++extern struct	comp	*wantcomp[128];	/* hash table for deciding if a
+ 				 * component is "interesting" */
+ 
+ /* 

Added: head/japanese/mh/files/patch-sbr_fmtcompile.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/mh/files/patch-sbr_fmtcompile.c	Sat Mar 13 20:32:45 2021	(r568281)
@@ -0,0 +1,11 @@
+--- sbr/fmtcompile.c.orig	2001-04-02 16:06:09 UTC
++++ sbr/fmtcompile.c
+@@ -24,6 +24,8 @@ static int infunction;			/* function nesting cnt */
+ extern char *getusr();
+ extern struct mailname fmt_mnull;
+ 
++struct comp *wantcomp[128];
++
+ struct ftable {
+     char	*name;		/* function name */
+     char	type;		/* argument type */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103132032.12DKWk0m078506>