From 4ed5fb24f4ffe614db55fdf0ef53093503661496195f24c50c8288c0ac8d4426 Mon Sep 17 00:00:00 2001
From: Dave Plater <davejplater@gmail.com>
Date: Thu, 30 Apr 2020 13:26:02 +0000
Subject: [PATCH] Accepting request 799234 from home:plater

Remove unused patch

OBS-URL: https://build.opensuse.org/request/show/799234
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=67
---
 ...ache-Fix-crash-in-cache-invalidation.patch | 25 -------------------
 aegisub.spec                                  |  2 +-
 2 files changed, 1 insertion(+), 26 deletions(-)
 delete mode 100644 aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch

diff --git a/aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch b/aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch
deleted file mode 100644
index f88af21..0000000
--- a/aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 7479ffbd6d9cc9bf9786d1f1d9f0e6307198681f Mon Sep 17 00:00:00 2001
-From: Martin Herkt <lachs0r@srsfckn.biz>
-Date: Thu, 14 Feb 2019 14:52:27 +0100
-Subject: [PATCH] DataBlockCache: Fix crash in cache invalidation
-
-Fixes #33
----
- src/block_cache.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-Index: Aegisub-524c6114a82157b143567240884de3a6d030b091/src/block_cache.h
-===================================================================
---- Aegisub-524c6114a82157b143567240884de3a6d030b091.orig/src/block_cache.h	2018-07-10 00:06:51.000000000 +0200
-+++ Aegisub-524c6114a82157b143567240884de3a6d030b091/src/block_cache.h	2019-03-29 13:17:48.209456221 +0200
-@@ -150,8 +150,8 @@ public:
- 		}
- 
- 		// Remove old entries until we're under the max size
--		for (auto it = age.rbegin(); size > max_size && it != age.rend(); )
--			KillMacroBlock(**it++);
-+		for (auto it = age.rbegin(); size > max_size && it != age.rend(); it++)
-+			KillMacroBlock(**it);
- 	}
- 
- 	/// @brief Obtain a data block from the cache
diff --git a/aegisub.spec b/aegisub.spec
index 70d1f01..128e938 100644
--- a/aegisub.spec
+++ b/aegisub.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package aegisub
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed