Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 2026 06:02:02 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 2a1ee69341af - 2026Q3 - graphics/engauge-digitizer: Fix build
Message-ID:  <6a74235a.26184.20790c3d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2026Q3 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a1ee69341af14c60374fbbc2377eef40fcb59a0

commit 2a1ee69341af14c60374fbbc2377eef40fcb59a0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-08-05 02:47:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-08-06 06:02:00 +0000

    graphics/engauge-digitizer: Fix build
    
    Reported by:    fallout
    
    (cherry picked from commit d5b60430b2f8daa7a759e0199bac723e81357194)
---
 graphics/engauge-digitizer/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/graphics/engauge-digitizer/Makefile b/graphics/engauge-digitizer/Makefile
index c68c38d82409..3201f651ab8a 100644
--- a/graphics/engauge-digitizer/Makefile
+++ b/graphics/engauge-digitizer/Makefile
@@ -35,6 +35,20 @@ OPTIONS_SUB=	yes
 
 #DOCS_USE=	QT=help,linguist:build
 
+post-patch: # workaround for https://github.com/akhuettel/engauge-digitizer/issues/14
+	@for f in `${GREP} -rl LOG4CPP_INFO_S ${WRKSRC} | ${GREP} "\.cpp"`; do \
+		${REINPLACE_CMD} -i '' -e 's|LOG4CPP_INFO_S ((\*mainCat))|mainCat->infoStream()|' $$f; \
+	done
+	@for f in `${GREP} -rl LOG4CPP_DEBUG_S ${WRKSRC} | ${GREP} "\.cpp"`; do \
+		${REINPLACE_CMD} -i '' -e 's|LOG4CPP_DEBUG_S ((\*mainCat))|mainCat->infoStream()|' $$f; \
+	done
+	@for f in `${GREP} -rl LOG4CPP_ERROR_S ${WRKSRC} | ${GREP} "\.cpp"`; do \
+		${REINPLACE_CMD} -i '' -e 's|LOG4CPP_ERROR_S ((\*mainCat))|mainCat->infoStream()|' $$f; \
+	done
+	@for f in `${GREP} -rl LOG4CPP_WARN_S ${WRKSRC} | ${GREP} "\.cpp"`; do \
+		${REINPLACE_CMD} -i '' -e 's|LOG4CPP_WARN_S ((\*mainCat))|mainCat->infoStream()|' $$f; \
+	done
+
 do-patch-NLS-on:
 	@${REINPLACE_CMD} -e 's|QCoreApplication::applicationDirPath () + "/translations",|"${DATADIR}/translations",|' ${WRKSRC}/src/Translator/TranslatorContainer.cpp
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a74235a.26184.20790c3d>