qca2 (2.0.3-4) define_qca_export.diff

Summary

 include/QtCrypto/qca_export.h |    2 ++
 1 file changed, 2 insertions(+)

    
download this patch

Patch contents

Description: Define QCA_EXPORT as Q_DECL_EXPORT on non-Windows systems so we
 can build with -fvisibility=hidden.
Author: Felix Geyer <debfx-pkg@fobos.de>

diff -Nur qca2-2.0.3.orig/include/QtCrypto/qca_export.h qca2-2.0.3/include/QtCrypto/qca_export.h
--- qca2-2.0.3.orig/include/QtCrypto/qca_export.h
+++ qca2-2.0.3/include/QtCrypto/qca_export.h
@@ -44,6 +44,8 @@
 #   define QCA_EXPORT Q_DECL_IMPORT
 #  endif
 # endif
+#else
+# define QCA_EXPORT Q_DECL_EXPORT
 #endif
 #ifndef QCA_EXPORT
 # define QCA_EXPORT