summary refs log tree commit diff
path: root/gnu/packages/patches/cool-retro-term-fix-array-size.patch
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2019-02-09 00:45:47 -0600
committerEric Bavier <bavier@member.fsf.org>2019-02-09 00:50:16 -0600
commit68a116bd561ec92b0ffdfe9add9e7c6cda222723 (patch)
tree1ed0a1fadc50a98ee2a306a38f6b7a9592d1f0d0 /gnu/packages/patches/cool-retro-term-fix-array-size.patch
parent41313acebf39e04c9ddd0857b8cd8b69991c88c3 (diff)
downloadguix-68a116bd561ec92b0ffdfe9add9e7c6cda222723.tar.gz
gnu: cool-retro-term: Upgrade to 1.1.1.
* gnu/packages/terminals.scm (cool-retro-term)[source]: Upgrade to 1.1.1.
Remove patches.  Adjust filtering in snippet for added/removed fonts.
[arguments]: Return #t in 'add-alternate-name' phase.
* gnu/packages/patches/cool-retro-term-dont-check-uninit-member.patch,
  gnu/packages/patches/cool-retro-term-fix-array-size.patch,
  gnu/packages/patches/cool-retro-term-memory-leak-1.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
Diffstat (limited to 'gnu/packages/patches/cool-retro-term-fix-array-size.patch')
-rw-r--r--gnu/packages/patches/cool-retro-term-fix-array-size.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/gnu/packages/patches/cool-retro-term-fix-array-size.patch b/gnu/packages/patches/cool-retro-term-fix-array-size.patch
deleted file mode 100644
index 04a2a27971..0000000000
--- a/gnu/packages/patches/cool-retro-term-fix-array-size.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c91d7ae5dbb00c8392a9f93283dc56c3e296cccd Mon Sep 17 00:00:00 2001
-From: Petter <petter@mykolab.ch>
-Date: Thu, 27 Apr 2017 20:19:21 +0200
-Subject: [PATCH] Fix size of the array passed to memset()
-
----
- qmltermwidget/lib/History.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/qmltermwidget/lib/History.cpp b/qmltermwidget/lib/History.cpp
-index 0f9c13f..ab6f7be 100644
---- a/qmltermwidget/lib/History.cpp
-+++ b/qmltermwidget/lib/History.cpp
-@@ -515,7 +515,7 @@ void HistoryScrollBlockArray::addCells(const Character a[], int count)
-   // put cells in block's data
-   assert((count * sizeof(Character)) < ENTRIES);
- 
--  memset(b->data, 0, ENTRIES);
-+  memset(b->data, 0, sizeof(b->data));
- 
-   memcpy(b->data, a, count * sizeof(Character));
-   b->size = count * sizeof(Character);
--- 
-2.12.2
-