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)