[neon/extras/qca2/Neon/unstable] debian/patches: Revert "remove patch now upstream"

Jonathan Riddell null at kde.org
Fri Oct 2 12:35:43 BST 2020


Git commit a408c4b4131a2e46bc5a92829cf93a45a4df6ee7 by Jonathan Riddell.
Committed on 02/10/2020 at 11:30.
Pushed by jriddell into branch 'Neon/unstable'.

Revert "remove patch now upstream"

This reverts commit 852192091975a175f6e1453aa1341748faef486d.

A  +16   -0    debian/patches/define_qca_export.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/extras/qca2/commit/a408c4b4131a2e46bc5a92829cf93a45a4df6ee7

diff --git a/debian/patches/define_qca_export.diff b/debian/patches/define_qca_export.diff
new file mode 100644
index 0000000..6bfafb6
--- /dev/null
+++ b/debian/patches/define_qca_export.diff
@@ -0,0 +1,16 @@
+Description: Define QCA_EXPORT as Q_DECL_EXPORT on non-Windows systems so we
+ can build with -fvisibility=hidden.
+Author: Felix Geyer <debfx-pkg at 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
diff --git a/debian/patches/series b/debian/patches/series
index 6f05d3e..f9b23b5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+define_qca_export.diff
 pipeunittest_more_wait.diff
 hurd_msync.diff
 kubuntu_ignore_filewatch_test.diff



More information about the Neon-commits mailing list