summaryrefslogtreecommitdiff
path: root/www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-07 00:08:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-07 00:08:01 +0100
commit941687623283212199cbe6e36f7d61b89d6222b2 (patch)
treeba7fb5198fd46b0b501a9c4362be2c26738408ad /www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff
parent44cec61076bf2bbb3cea1fc89943dd6818a5acc5 (diff)
gentoo auto-resync : 07:06:2024 - 00:08:01
Diffstat (limited to 'www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff')
-rw-r--r--www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff b/www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff
new file mode 100644
index 000000000000..1ad5d50bf047
--- /dev/null
+++ b/www-apps/gitea/files/gitea-1.22.0-fix-missing-memcache-import.diff
@@ -0,0 +1,18 @@
+https://github.com/go-gitea/gitea/issues/31102
+https://github.com/go-gitea/gitea/pull/31105
+
+Fix missing memcache import
+
+diff --git a/modules/cache/cache.go b/modules/cache/cache.go
+index 2ca77bdb29f3..075367115803 100644
+--- a/modules/cache/cache.go
++++ b/modules/cache/cache.go
+@@ -8,6 +8,8 @@ import (
+ "time"
+
+ "code.gitea.io/gitea/modules/setting"
++
++ _ "gitea.com/go-chi/cache/memcache" //nolint:depguard // memcache plugin for cache, it is required for config "ADAPTER=memcache"
+ )
+
+ var defaultCache StringCache