https://bugs.winehq.org/show_bug.cgi?id=40851
--- Comment #1 from Ken Thomases ken@codeweavers.com --- Created attachment 54854 --> https://bugs.winehq.org/attachment.cgi?id=54854 Use cups/ppd.h for deprecated functions
Please try this patch.
The cupsGetPPD() function, which has apparently been deprecated for a while, has been removed from the cups/cups.h header and put into the cups/ppd.h header. This patch checks for the presence of that header at configure time and makes winspool.drv/info.c include it if it's present.
The right long-term solution is for Wine to move away from using these deprecated functions, but I didn't follow how the recommended replacement, cupsCopyDestInfo(), could be used for that.