summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqstring.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-10-25 22:25:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-10-27 15:04:01 +0200
commit5651b5dee293d932d11d4da73673ba01fd017099 (patch)
tree54a4e86299d74832135dbab07ed96f94a2966c0a /freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqstring.h
parent9f8441ef267c9ebe0ad1c41aae089a5f2e0c9783 (diff)
downloadtde-packaging-5651b5dee293d932d11d4da73673ba01fd017099.tar.gz
tde-packaging-5651b5dee293d932d11d4da73673ba01fd017099.zip
FreeBSD: Update for final R14.1.1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 62ab26da67dd966405c5bc27614f728b3a686ea0)
Diffstat (limited to 'freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqstring.h')
-rw-r--r--freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqstring.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqstring.h b/freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqstring.h
new file mode 100644
index 000000000..0dd7973ba
--- /dev/null
+++ b/freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqstring.h
@@ -0,0 +1,47 @@
+--- tqt/secqstring.h.orig 2017-12-03 16:33:12 UTC
++++ tqt/secqstring.h
+@@ -87,7 +87,7 @@ class SecTQCharRef;
+ template <class T> class TQDeepCopy;
+ #include <stdio.h>
+ // internal
+-struct Q_EXPORT SecTQStringData : public TQShared {
++struct TQ_EXPORT SecTQStringData : public TQShared {
+ SecTQStringData() :
+ TQShared(), unicode(0), len(0), maxl(0) { ref(); }
+ SecTQStringData(TQChar *u, uint l, uint m) :
+@@ -109,7 +109,7 @@ struct Q_EXPORT SecTQStringData : public TQShared {
+ };
+
+
+-class Q_EXPORT SecTQString
++class TQ_EXPORT SecTQString
+ {
+ public:
+ SecTQString(); // make null string
+@@ -191,7 +191,7 @@ class Q_EXPORT SecTQString (private)
+ friend class TQDeepCopy<SecTQString>;
+ };
+
+-class Q_EXPORT SecTQCharRef {
++class TQ_EXPORT SecTQCharRef {
+ friend class SecTQString;
+ SecTQString& s;
+ uint p;
+@@ -249,7 +249,7 @@ class Q_EXPORT SecTQCharRef { (public)
+ inline SecTQCharRef SecTQString::at( uint i ) { return SecTQCharRef(this,i); }
+ inline SecTQCharRef SecTQString::operator[]( int i ) { return at((uint)i); }
+
+-class Q_EXPORT SecTQConstString : private SecTQString {
++class TQ_EXPORT SecTQConstString : private SecTQString {
+ public:
+ SecTQConstString( const TQChar* unicode, uint length );
+ ~SecTQConstString();
+@@ -297,7 +297,7 @@ inline bool SecTQString::isEmpty() const
+ SecTQString non-member operators
+ *****************************************************************************/
+
+-Q_EXPORT inline const SecTQString operator+( const SecTQString &s1, const SecTQString &s2 )
++TQ_EXPORT inline const SecTQString operator+( const SecTQString &s1, const SecTQString &s2 )
+ {
+ SecTQString tmp( s1 );
+ tmp += s2;