summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog6
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0006-remove-register-instruction.diff13
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series1
3 files changed, 20 insertions, 0 deletions
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 <slavek.banko@axis.cz> 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