mirror of
https://gitee.com/openharmony/third_party_cups
synced 2024-11-23 01:49:57 +00:00
修改install.py和ppd不生成的patch
Signed-off-by: yyc1234 <leyunchi@huawei.com>
This commit is contained in:
parent
3f257d7736
commit
ef5b40ecd2
@ -66,7 +66,7 @@ def apply_patch(patch_file, target_dir):
|
||||
patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir]
|
||||
subprocess.run(patch_cmd, check=True)
|
||||
except Exception as e:
|
||||
print("apply_patch error!")
|
||||
print(f"apply_patch error! patch: {patch_file}")
|
||||
return
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff --git a/cups-2.4.0/scheduler/ipp.c b/cups-2.4.0/scheduler/ipp.c
|
||||
diff --git a/scheduler/ipp.c b/scheduler/ipp.c
|
||||
index 5972b99..9d3cf35 100644
|
||||
--- a/cups-2.4.0/scheduler/ipp.c
|
||||
+++ b/cups-2.4.0/scheduler/ipp.c
|
||||
--- a/scheduler/ipp.c
|
||||
+++ b/scheduler/ipp.c
|
||||
@@ -5325,7 +5325,8 @@ create_local_bg_thread(
|
||||
|
||||
cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: Get-Printer-Attributes returned %s (%s)", printer->name, ippErrorString(cupsLastError()), cupsLastErrorString());
|
||||
|
Loading…
Reference in New Issue
Block a user