Date: Mon, 22 Aug 2022 00:39:16 GMT From: Santhosh Raju <fox@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 30db07f794bd - main - graphics/dspdfviewer: Unbreak the build for latest boost library. Message-ID: <202208220039.27M0dGH2014904@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=30db07f794bdb3726e5e76179f38ebafdb663dcb commit 30db07f794bdb3726e5e76179f38ebafdb663dcb Author: Santhosh Raju <fox@FreeBSD.org> AuthorDate: 2022-08-22 00:35:52 +0000 Commit: Santhosh Raju <fox@FreeBSD.org> CommitDate: 2022-08-22 00:38:09 +0000 graphics/dspdfviewer: Unbreak the build for latest boost library. Force using c++14 standard for clang when compiling with boost headers. --- graphics/dspdfviewer/Makefile | 4 ++-- graphics/dspdfviewer/files/patch-cmake_compiler__clang.cmake | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile index 5b4a84fc55f9..be1524cd6d76 100644 --- a/graphics/dspdfviewer/Makefile +++ b/graphics/dspdfviewer/Makefile @@ -1,7 +1,7 @@ PORTNAME= dspdfviewer PORTVERSION= 1.15.1 DISTVERSIONPREFIX= v -PORTREVISION= 56 +PORTREVISION= 57 CATEGORIES= graphics MAINTAINER= fox@FreeBSD.org @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \ libpoppler-qt5.so:graphics/poppler-qt5 -USES= cmake:insource compiler:c++11-lang pkgconfig qt:5 +USES= cmake:insource compiler:c++14-lang pkgconfig qt:5 USE_QT= core gui linguisttools widgets xml buildtools_build qmake_build USE_LDCONFIG= yes diff --git a/graphics/dspdfviewer/files/patch-cmake_compiler__clang.cmake b/graphics/dspdfviewer/files/patch-cmake_compiler__clang.cmake new file mode 100644 index 000000000000..d2fb9893f7b2 --- /dev/null +++ b/graphics/dspdfviewer/files/patch-cmake_compiler__clang.cmake @@ -0,0 +1,11 @@ +--- cmake/compiler_clang.cmake.orig 2022-08-22 00:23:26 UTC ++++ cmake/compiler_clang.cmake +@@ -1,7 +1,7 @@ + # CMake fragment + + # Clang +-add_definitions("-std=c++11") ++add_definitions("-std=c++14") + + # Turn on a lot of warnings, hopefully helping with code quality. + add_definitions(-Weverything)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208220039.27M0dGH2014904>