Merge pull request #52573 from dtzWill/fix/cups-patches
cups: drop patches
This commit is contained in:
commit
2972f87115
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/scheduler/main.c b/scheduler/main.c
|
|
||||||
index 8925c8373..acf031684 100644
|
|
||||||
--- a/scheduler/main.c
|
|
||||||
+++ b/scheduler/main.c
|
|
||||||
@@ -893,7 +893,7 @@ main(int argc, /* I - Number of command-line args */
|
|
||||||
* Write dirty config/state files...
|
|
||||||
*/
|
|
||||||
|
|
||||||
- if (DirtyCleanTime && current_time >= DirtyCleanTime && cupsArrayCount(Clients) == 0)
|
|
||||||
+ if (DirtyCleanTime && current_time >= DirtyCleanTime)
|
|
||||||
cupsdCleanDirty();
|
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
|
@ -21,16 +21,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "out" "lib" "dev" "man" ];
|
outputs = [ "out" "lib" "dev" "man" ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "cups"; # weird name to avoid change (for now)
|
|
||||||
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/cups-systemd-socket.patch"
|
|
||||||
+ "?h=packages/cups&id=41fefa22ac518";
|
|
||||||
sha256 = "1ddgdlg9s0l2ph6l8lx1m1lx6k50gyxqi3qiwr44ppq1rxs80ny5";
|
|
||||||
})
|
|
||||||
./cups-clean-dirty.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace cups/testfile.c \
|
substituteInPlace cups/testfile.c \
|
||||||
--replace 'cupsFileFind("cat", "/bin' 'cupsFileFind("cat", "${coreutils}/bin'
|
--replace 'cupsFileFind("cat", "/bin' 'cupsFileFind("cat", "${coreutils}/bin'
|
||||||
|
|
Loading…
Reference in New Issue