flake: fix acextract build (again)

This commit is contained in:
Michael Roitzsch
2021-11-08 10:38:11 +01:00
parent 07288c72e1
commit 81f318f1e1

View File

@@ -40,9 +40,27 @@
# FIXME: fix for Swift compiler crash
patchPhase = ''
patch -p0 <<- EOF
--- acextract/CoreUI.h
+++ acextract/CoreUI.h
@@ -24,6 +24,7 @@
// SOFTWARE.
@import Foundation;
+@import CoreGraphics;
// Hierarchy:
// - CUICatalog:
--- acextract/Operation.swift 2021-10-20 10:35:39.000000000 +0200
+++ acextract/Operation.swift 2021-10-20 10:35:46.000000000 +0200
@@ -152,7 +152,7 @@
@@ -24,6 +24,7 @@
// SOFTWARE.
import Foundation
+import ImageIO
// MARK: - Protocols
protocol Operation {
@@ -152,7 +153,7 @@
throw ExtractOperationError.cannotCreatePDFDocument
}
// Create the pdf context