openbsd-ports/www/chromium/patches/patch-printing_backend_cups_helper_cc
robert a52e8efd8d - update to 26.0.1410.43
- switch chromium to use clang/llvm instead of gcc
- switch back to the internal libvpx because it's an unreleased version
  at this point
- re-enable SSE2 support
2013-04-03 08:19:10 +00:00

16 lines
688 B
Plaintext

$OpenBSD: patch-printing_backend_cups_helper_cc,v 1.2 2013/04/03 08:19:10 robert Exp $
--- printing/backend/cups_helper.cc.orig.port Fri Mar 22 02:13:05 2013
+++ printing/backend/cups_helper.cc Tue Apr 2 21:05:17 2013
@@ -282,10 +282,7 @@ bool GetColorModelSettings(ppd_file_t* ppd,
int* cm_black,
int* cm_color,
bool* is_color) {
- bool is_color_device = false;
- ppd_attr_t* attr = ppdFindAttr(ppd, kColorDevice, NULL);
- if (attr && attr->value)
- is_color_device = ppd->color_device;
+ bool is_color_device = ppd->color_device;
*is_color = is_color_device;
return (is_color_device &&