From 598ec8e8cee87f8ca92d372117444d9d6cc2bfb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 4 Oct 2024 02:27:53 +0200 Subject: [PATCH] pinentry-tqt: Remove remaining 'register' instruction. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../pinentry-tqt-1.2.1/debian/changelog | 6 ++++++ .../patches/0006-remove-register-instruction.diff | 13 +++++++++++++ .../pinentry-tqt-1.2.1/debian/patches/series | 1 + 3 files changed, 20 insertions(+) create mode 100644 debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0006-remove-register-instruction.diff diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog index 797a0cb5..b98495aa 100644 --- a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog @@ -1,3 +1,9 @@ +pinentry-tqt (1.2.1-4~1) unstable; urgency=medium + + * Remove remaining 'register' instruction. + + -- Slávek Banko Fri, 04 Oct 2024 02:26:16 +0200 + pinentry-tqt (1.2.1-4~0) unstable; urgency=medium * Update according to the official Debian package. diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0006-remove-register-instruction.diff b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0006-remove-register-instruction.diff new file mode 100644 index 00000000..ee6f0097 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0006-remove-register-instruction.diff @@ -0,0 +1,13 @@ +Index: b/tqt/secqstring.cpp +=================================================================== +--- a/tqt/secqstring.cpp ++++ b/tqt/secqstring.cpp +@@ -548,7 +548,7 @@ + len = slen - index; + if ( index == 0 && len == slen ) + return *this; +- register const TQChar *p = unicode()+index; ++ const TQChar *p = unicode()+index; + SecTQString s( len, TRUE ); + memcpy( s.d->unicode, p, len * sizeof(TQChar) ); + s.d->len = len; diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series index eaa17610..5abcc092 100644 --- a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series @@ -3,3 +3,4 @@ 0003-tqt-updates-2023.diff 0004-tqt-updates-202404.diff 0005-delete-libassuan.m4.diff +0006-remove-register-instruction.diff