Don't die on deprecated declaration warnings, aka fix build with cups >= 1.6.
spotted by fgsch@ ok robert@ (maintainer)
This commit is contained in:
parent
7c1f51a142
commit
f3bfa4d4c6
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-chrome_browser_printing_print_system_task_proxy_cc,v 1.1 2012/08/06 17:21:32 ajacoutot Exp $
|
||||
|
||||
Fix build with cups >= 1.6
|
||||
error: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated
|
||||
|
||||
--- chrome/browser/printing/print_system_task_proxy.cc.orig Mon Aug 6 19:18:45 2012
|
||||
+++ chrome/browser/printing/print_system_task_proxy.cc Mon Aug 6 19:18:51 2012
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
+
|
||||
#include "chrome/browser/printing/print_system_task_proxy.h"
|
||||
|
||||
#include <ctype.h>
|
Loading…
x
Reference in New Issue
Block a user