svn commit: r568281 - in head/japanese/mh: . files

Li-Wen Hsu lwhsu at FreeBSD.org
Sat Mar 13 20:32:47 UTC 2021


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 at 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 */


More information about the svn-ports-head mailing list