On Tue, Dec 17, 2019 at 10:46:39PM +0000, Stuart Henderson wrote: > I won't claim it's particularly elegant, but I think this might do the trick.. > (not tested with new Poppler, but it puts the flag in the right place).
May be not elegant, but it works[tm]. Thanks! I'll send the final diff for this port tomorrow. CIao, Kili > Index: patches/patch-CMakeLists_txt > =================================================================== > RCS file: patches/patch-CMakeLists_txt > diff -N patches/patch-CMakeLists_txt > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-CMakeLists_txt 17 Dec 2019 22:45:36 -0000 > @@ -0,0 +1,15 @@ > +$OpenBSD$ > + > +Index: CMakeLists.txt > +--- CMakeLists.txt.orig > ++++ CMakeLists.txt > +@@ -950,6 +950,9 @@ set(KOPAGEAPP_INCLUDES ${TEXTLAYOUT_INCLUDES} > + ${CMAKE_SOURCE_DIR}/libs/pageapp/commands > + ${CMAKE_BINARY_DIR}/libs/pageapp ) > + > ++ > ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") > ++ > + ############################################# > + #### filter libraries #### > + #############################################