﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
6777	cups-filters-1.0.71 does not build with poppler-3.4	Fernando de Oliveira	Fernando de Oliveira	"Log:

{{{
In file included from /usr/include/poppler/splash/SplashTypes.h:28:0,
                 from /usr/include/poppler/splash/SplashMath.h:31,
                 from filter/pdftoopvp/oprs/OPRS.cxx:32:
/usr/include/poppler/goo/gtypes.h:50:14: warning: ISO C++ 1998 does not support ‘long long’ [-Wlong-long]
 typedef long long Goffset;
              ^
filter/pdftoopvp/oprs/OPRS.cxx: In member function ‘SplashError OPRS::drawImage(SplashImageSource, void*, SplashColorMode, GBool, int, int, SplashCoord*)’:
filter/pdftoopvp/oprs/OPRS.cxx:244:70: error: no matching function for call to ‘Splash::drawImage(GBool (*&)(void*, SplashColorPtr, Guchar*), void*&, SplashColorMode&, GBool&, int&, int&, SplashCoord*&, bool)’
  return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
                                                                      ^
In file included from filter/pdftoopvp/oprs/OPRS.cxx:40:0:
/usr/include/poppler/splash/Splash.h:217:15: note: candidate: SplashError Splash::drawImage(SplashImageSource, SplashICCTransform, void*, SplashColorMode, GBool, int, int, SplashCoord*, GBool, GBool)
   SplashError drawImage(SplashImageSource src, SplashICCTransform tf, void *srcData,
               ^
/usr/include/poppler/splash/Splash.h:217:15: note:   candidate expects 10 arguments, 8 provided
Makefile:3319: recipe for target 'pdftoopvp-OPRS.o' failed
make[1]: *** [pdftoopvp-OPRS.o] Error 1
make[1]: Leaving directory '/tmp/porg-build-2015.08.01-17h54m08s/cups-filters-1.0.71'
Makefile:1652: recipe for target 'all' failed
make: *** [all] Error 2
}}}

Fix (workaround):

[https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/cups-filters/files/cups-filters-1.0.71-poppler0340.patch?revision=1.1]"	enhancement	closed	normal	7.8	BOOK	SVN	medium	fixed		
