From owner-svn-ports-head@freebsd.org Sun Mar 14 12:53:41 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74AE557EF16; Sun, 14 Mar 2021 12:53:41 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dyzxx2rhcz3lbp; Sun, 14 Mar 2021 12:53:41 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 549241D9F5; Sun, 14 Mar 2021 12:53:41 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12ECrftI080298; Sun, 14 Mar 2021 12:53:41 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12ECre2g080297; Sun, 14 Mar 2021 12:53:40 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <202103141253.12ECre2g080297@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sun, 14 Mar 2021 12:53:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568387 - in head/textproc/po4a: . files X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/textproc/po4a: . files X-SVN-Commit-Revision: 568387 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2021 12:53:41 -0000 Author: dbaio Date: Sun Mar 14 12:53:40 2021 New Revision: 568387 URL: https://svnweb.freebsd.org/changeset/ports/568387 Log: textproc/po4a: Add patch to fix Asciidoc issue Don't split in attributes include:: and ifeval:: lines. This fix an issue in the new FreeBSD translation workflow. Obtained from: https://github.com/mquinson/po4a/pull/298 Added: head/textproc/po4a/files/patch-lib_Locale_Po4a_AsciiDoc.pm (contents, props changed) Modified: head/textproc/po4a/Makefile Modified: head/textproc/po4a/Makefile ============================================================================== --- head/textproc/po4a/Makefile Sun Mar 14 12:48:32 2021 (r568386) +++ head/textproc/po4a/Makefile Sun Mar 14 12:53:40 2021 (r568387) @@ -4,6 +4,7 @@ PORTNAME= po4a DISTVERSIONPREFIX= v DISTVERSION= 0.63 +PORTREVISION= 1 CATEGORIES= textproc perl5 MAINTAINER= dbaio@FreeBSD.org Added: head/textproc/po4a/files/patch-lib_Locale_Po4a_AsciiDoc.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/po4a/files/patch-lib_Locale_Po4a_AsciiDoc.pm Sun Mar 14 12:53:40 2021 (r568387) @@ -0,0 +1,15 @@ +# https://github.com/mquinson/po4a/pull/298 +# Asciidoc: Don't split in attributes include:: and ifeval:: lines +--- lib/Locale/Po4a/AsciiDoc.pm.orig 2021-02-22 16:53:34 UTC ++++ lib/Locale/Po4a/AsciiDoc.pm +@@ -771,6 +771,10 @@ sub parse { + and ( defined( $self->{type} ) and ( $self->{type} eq "Table" ) ) ) + { + $paragraph .= $line . "\n"; ++ } elsif ( ( $macroname eq "include" || $macroname eq "ifeval" ) ++ and ( $macrotype eq '::' ) ) ++ { ++ $self->pushline( $line . "\n" ); + } else { + if ( $macrotype eq '::' ) { + do_paragraph( $self, $paragraph, $wrapped_mode );