Date: Wed, 05 Aug 2026 02:48:02 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d5b60430b2f8 - main - graphics/engauge-digitizer: Fix build Message-ID: <6a72a462.3e5d5.7e6b4df8@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5b60430b2f8daa7a759e0199bac723e81357194 commit d5b60430b2f8daa7a759e0199bac723e81357194 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-08-05 02:47:26 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-08-05 02:48:00 +0000 graphics/engauge-digitizer: Fix build Reported by: fallout --- 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.cpphome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a72a462.3e5d5.7e6b4df8>
