uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/misc/cups/0001-TargetConditionals.patch
Normal file
29
pkgs/misc/cups/0001-TargetConditionals.patch
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
From 1204c841999808ba27267a0039777dcbccdcd6e3 Mon Sep 17 00:00:00 2001
|
||||
From: toonn <toonn@toonn.io>
|
||||
Date: Sun, 27 Jun 2021 12:30:08 +0200
|
||||
Subject: [PATCH] TargetConditionals
|
||||
|
||||
---
|
||||
test/ippserver.c | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/ippserver.c b/test/ippserver.c
|
||||
index 38b304f..68ccab1 100644
|
||||
--- a/test/ippserver.c
|
||||
+++ b/test/ippserver.c
|
||||
@@ -25,7 +25,11 @@
|
||||
* Include necessary headers...
|
||||
*/
|
||||
|
||||
-#include <config.h> /* CUPS configuration header */
|
||||
+#ifdef __APPLE__
|
||||
+# include <xcode/config.h> /* CUPS configuration header macOS */
|
||||
+#else
|
||||
+# include <config.h> /* CUPS configuration header */
|
||||
+#endif /* __APPLE__ */
|
||||
#include <cups/cups.h> /* Public API */
|
||||
#include <cups/string-private.h> /* CUPS string functions */
|
||||
#include <cups/thread-private.h> /* For multithreading functions */
|
||||
--
|
||||
2.17.2 (Apple Git-113)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue