-
Notifications
You must be signed in to change notification settings - Fork 870
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CUPS compilation error on macOS SDK 10.12. See #40
- Loading branch information
Eloston
committed
Sep 19, 2016
1 parent
18f87b6
commit eb27438
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
resources/macos/patches/ungoogled-macos/fix-cups-on-10.12.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Picked from: https://chromium.googlesource.com/chromium/src/+/29c1262dbd4f749dd514d05a571cdd809ba8cfe0 | ||
# Fix CUPS compilation error in OSX 10.12. | ||
# | ||
# BUG=622493 | ||
# | ||
# Review-Url: https://codereview.chromium.org/2248343002 | ||
# Cr-Commit-Position: refs/heads/master@{#412670} | ||
|
||
--- a/printing/backend/print_backend_cups.cc | ||
+++ b/printing/backend/print_backend_cups.cc | ||
@@ -4,6 +4,7 @@ | ||
|
||
#include "printing/backend/print_backend_cups.h" | ||
|
||
+#include <cups/ppd.h> | ||
#include <dlfcn.h> | ||
#include <errno.h> | ||
#include <pthread.h> |