[Bug 40851] macOS 10.12 Build Failure in winspool.drv with cupsGetPPD

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 23 16:21:08 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40851

--- Comment #1 from Ken Thomases <ken at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list