This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/matrix/matrix-media-repo/fix-build.patch

23 lines
568 B
Diff
Raw Normal View History

2023-03-10 15:08:45 +00:00
From 4728b8b0faf0fedc4dcb19e7bfa932333fc25147 Mon Sep 17 00:00:00 2001
From: Charlotte <lotte@chir.rs>
Date: Fri, 10 Mar 2023 16:06:54 +0100
Subject: [PATCH] Readd io import in plugin_antispam_ocr
Fixes broken build
---
cmd/plugin_antispam_ocr/main.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/plugin_antispam_ocr/main.go b/cmd/plugin_antispam_ocr/main.go
index 5b07356..0cf0899 100644
--- a/cmd/plugin_antispam_ocr/main.go
+++ b/cmd/plugin_antispam_ocr/main.go
@@ -7,6 +7,7 @@ import (
"errors"
"fmt"
"image"
+ "io"
"math"
"net/http"
"os"