mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
04ae9f288d
We also need to patch the compilation process, so it allows deprecated declarations when building support for the cups backend. In addition, we also need to add libgcrypt to dependencies as it's needed by the cups implementation.
15 lines
376 B
Diff
15 lines
376 B
Diff
diff --git a/printing/printing.gyp b/printing/printing.gyp
|
|
index 19fa1b2..f11d76e 100644
|
|
--- a/printing/printing.gyp
|
|
+++ b/printing/printing.gyp
|
|
@@ -26,6 +26,9 @@
|
|
'include_dirs': [
|
|
'..',
|
|
],
|
|
+ 'cflags': [
|
|
+ '-Wno-deprecated-declarations',
|
|
+ ],
|
|
'sources': [
|
|
'backend/print_backend.cc',
|
|
'backend/print_backend.h',
|