summaryrefslogtreecommitdiff
path: root/net-libs/signon-oauth2/files/0008-Use-correct-signon-in-example.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/signon-oauth2/files/0008-Use-correct-signon-in-example.patch')
-rw-r--r--net-libs/signon-oauth2/files/0008-Use-correct-signon-in-example.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-libs/signon-oauth2/files/0008-Use-correct-signon-in-example.patch b/net-libs/signon-oauth2/files/0008-Use-correct-signon-in-example.patch
new file mode 100644
index 000000000000..50635d936909
--- /dev/null
+++ b/net-libs/signon-oauth2/files/0008-Use-correct-signon-in-example.patch
@@ -0,0 +1,29 @@
+From a275d6eacc71a1c0ac6a95e2c77a29b13e6c189e Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sun, 15 Oct 2023 19:10:17 +0200
+Subject: [PATCH 08/10] Use correct signon in example
+
+---
+ example/example.pro | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/example/example.pro b/example/example.pro
+index 9b8ec65..1b2c6a8 100644
+--- a/example/example.pro
++++ b/example/example.pro
+@@ -11,11 +11,7 @@ CONFIG += \
+ link_pkgconfig
+ QT -= gui
+
+-lessThan(QT_MAJOR_VERSION, 5) {
+- PKGCONFIG += libsignon-qt
+-} else {
+- PKGCONFIG += libsignon-qt5
+-}
++PKGCONFIG += libsignon-qt$$QT_MAJOR_VERSION
+
+ HEADERS += \
+ oauthclient.h
+--
+2.43.0
+