From 6c868dcd80a10cb1659910e5010c469744e00db6 Mon Sep 17 00:00:00 2001 From: "Dr. Tobias Quathamer" Date: Fri, 28 Jul 2023 14:37:49 +0200 Subject: [PATCH] trek: Fix error that prevents visual command from working under some circumstances. Thanks: James Baldwin-Brown Closes: #964235 --- ...hat-prevents-visual-command-from-wor.patch | 24 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 25 insertions(+) create mode 100644 debian/patches/0019-trek-Fix-error-that-prevents-visual-command-from-wor.patch diff --git a/debian/patches/0019-trek-Fix-error-that-prevents-visual-command-from-wor.patch b/debian/patches/0019-trek-Fix-error-that-prevents-visual-command-from-wor.patch new file mode 100644 index 0000000..b24f4b4 --- /dev/null +++ b/debian/patches/0019-trek-Fix-error-that-prevents-visual-command-from-wor.patch @@ -0,0 +1,24 @@ +From: "Dr. Tobias Quathamer" +Date: Fri, 28 Jul 2023 14:36:42 +0200 +Subject: trek: Fix error that prevents visual command from working under some + circumstances. + +Thanks: James Baldwin-Brown +Closes: #964235 +--- + trek/trek.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/trek/trek.h b/trek/trek.h +index 62ac1df..7dbb5f5 100644 +--- a/trek/trek.h ++++ b/trek/trek.h +@@ -201,7 +201,7 @@ struct kling + + struct xy + { +- unsigned char x, y; /* coordinates */ ++ signed char x, y; /* coordinates */ + }; + + diff --git a/debian/patches/series b/debian/patches/series index c257c17..c4afdb9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -16,3 +16,4 @@ 0016-Better-explanation-how-to-read-the-documentation.patch 0017-hack-Fix-segv-when-i-inventory-done-after-load-from-.patch 0018-Add-missing-format-strings.patch +0019-trek-Fix-error-that-prevents-visual-command-from-wor.patch