wok-current rev 25040

cups-filters: use standard c++14
author Hans-G?nter Theisgen
date Fri May 27 07:47:27 2022 +0100 (2022-05-27)
parents 429cd2dffc4f
children bfaaab0fd7b3
files cups-filters/receipt
line diff
     1.1 --- a/cups-filters/receipt	Thu May 26 14:53:15 2022 +0000
     1.2 +++ b/cups-filters/receipt	Fri May 27 07:47:27 2022 +0100
     1.3 @@ -13,8 +13,8 @@
     1.4  EXTRA_SOURCE_FILES="$PACKAGE-7371.u"
     1.5  WGET_URL2="http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/diff/7371"
     1.6  
     1.7 -DEPENDS="lcms poppler qpdf ghostscript gutenprint glib"
     1.8 -BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev \
     1.9 +DEPENDS="gcc83-lib-base lcms poppler qpdf ghostscript gutenprint glib"
    1.10 +BUILD_DEPENDS="gcc83 ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev \
    1.11  cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-dev"
    1.12  
    1.13  # What is the latest version available today?
    1.14 @@ -38,7 +38,12 @@
    1.15  	sed -i '40i#include <cups/ppd.h>'\
    1.16  		cupsfilters/driver.h
    1.17  
    1.18 +	export	CFLAGS="$CFLAGS -std=c11"
    1.19 +	export	CXXFLAGS="$CXXFLAGS -std=c++14"
    1.20 +
    1.21  	./configure					\
    1.22 +		CC=gcc-83				\
    1.23 +		CXX=g++-83				\
    1.24  		LIBQPDF_CFLAGS="-D QPDF_NO_QPDF_STRING"	\
    1.25  		--prefix=/usr				\
    1.26  		--sysconfdir=/etc			\