1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

Fix build on 13-CURRENT

PR:		243310
Reported by:	salvadore, stephen
Tested by:	salvadore
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-01-31 16:03:16 +00:00
parent 9520d117ea
commit 0e947f2406
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524720
3 changed files with 22 additions and 3 deletions

View File

@ -10,9 +10,6 @@ MASTER_SITES= SF
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Font engine for complex non-Roman writing systems
# /usr/include/c++/v1/type_traits:3699:9: error: no matching constructor for initialization of 'gr3ooo::Segment'
BROKEN_FreeBSD_13= no matching constructor for initialization of 'gr3ooo::Segment'
LICENSE= CPL05 LGPL21+
LICENSE_COMB= dual
LICENSE_FILE_CPL05= ${WRKSRC}/license/License_CPLv05.txt

View File

@ -0,0 +1,11 @@
--- engine/include/graphite/Segment.h.orig 2009-01-29 08:33:19 UTC
+++ engine/include/graphite/Segment.h
@@ -64,7 +64,7 @@ class Segment (public)
virtual ~Segment();
// Basic copy constructor:
- Segment(Segment & seg);
+ Segment(const Segment & seg);
// For making modified copies of segments:
static Segment * LineContextSegment(Segment & seg, bool fStartLine, bool fEndLine);

View File

@ -0,0 +1,11 @@
--- engine/src/segment/Segment.cpp.orig 2008-08-21 14:24:32 UTC
+++ engine/src/segment/Segment.cpp
@@ -433,7 +433,7 @@ void Segment::InitWhiteSpaceSegment(int nNewDepth)
/*----------------------------------------------------------------------------------------------
Basic copy method.
----------------------------------------------------------------------------------------------*/
-Segment::Segment(Segment & seg)
+Segment::Segment(const Segment & seg)
{
int islout;