summaryrefslogtreecommitdiff
path: root/net-libs/signon-oauth2/files
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-08 00:04:53 +0100
committerSam James <sam@gentoo.org>2023-12-17 12:04:14 +0000
commitf140ca3d1c53795b8689aa43b32cb82e7089efdd (patch)
tree8b615260dc28fdb8e671013291da2d0d46fbcaa4 /net-libs/signon-oauth2/files
parenteaad91afdff64a54994e5011bcaa40953df453cb (diff)
downloadkde-f140ca3d1c53795b8689aa43b32cb82e7089efdd.tar.gz
kde-f140ca3d1c53795b8689aa43b32cb82e7089efdd.tar.bz2
kde-f140ca3d1c53795b8689aa43b32cb82e7089efdd.zip
net-libs/signon-oauth2: add 9999 w/ IUSE qt5,qt6 [WIP]
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/signon-oauth2/files')
-rw-r--r--net-libs/signon-oauth2/files/signon-oauth2-0.24-dont-install-tests.patch11
-rw-r--r--net-libs/signon-oauth2/files/signon-oauth2-0.25-drop-fno-rtti.patch26
-rw-r--r--net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch14
3 files changed, 51 insertions, 0 deletions
diff --git a/net-libs/signon-oauth2/files/signon-oauth2-0.24-dont-install-tests.patch b/net-libs/signon-oauth2/files/signon-oauth2-0.24-dont-install-tests.patch
new file mode 100644
index 00000000000..615bc8b562d
--- /dev/null
+++ b/net-libs/signon-oauth2/files/signon-oauth2-0.24-dont-install-tests.patch
@@ -0,0 +1,11 @@
+--- a/tests/tests.pro 2018-05-29 22:51:43.766914590 +0200
++++ b/tests/tests.pro 2018-05-29 22:52:45.247259336 +0200
+@@ -32,8 +32,6 @@
+ target.path = $${INSTALL_PREFIX}/bin
+ testsuite.path = $${INSTALL_PREFIX}/share/$$TARGET
+ testsuite.files = tests.xml
+-INSTALLS += target \
+- testsuite
+
+ check.depends = $$TARGET
+ check.commands = ./$$TARGET || :
diff --git a/net-libs/signon-oauth2/files/signon-oauth2-0.25-drop-fno-rtti.patch b/net-libs/signon-oauth2/files/signon-oauth2-0.25-drop-fno-rtti.patch
new file mode 100644
index 00000000000..04aad541694
--- /dev/null
+++ b/net-libs/signon-oauth2/files/signon-oauth2-0.25-drop-fno-rtti.patch
@@ -0,0 +1,26 @@
+From 94e7cdbe1b15455e932a2272fdf2284fecfb9204 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Wed, 11 Nov 2020 22:35:06 +0100
+Subject: [PATCH] Disable -fno-rtti
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ common-project-config.pri | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/common-project-config.pri b/common-project-config.pri
+index e149d90..9c7801a 100644
+--- a/common-project-config.pri
++++ b/common-project-config.pri
+@@ -17,8 +17,7 @@
+ UI_HEADERS_DIR = ui/include
+ UI_SOURCES_DIR = ui/src
+
+-QMAKE_CXXFLAGS += -fno-exceptions \
+- -fno-rtti
++QMAKE_CXXFLAGS += -fno-exceptions
+
+ TOP_SRC_DIR = $$PWD
+
+--
+2.29.2
diff --git a/net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch b/net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch
new file mode 100644
index 00000000000..fd61e4c2aed
--- /dev/null
+++ b/net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch
@@ -0,0 +1,14 @@
+--- a/src/signon-oauth2plugin.pc 2016-06-02 11:44:21.000000000 +0200
++++ b/src/signon-oauth2plugin.pc 2017-11-03 10:57:35.659278702 +0100
+@@ -1,9 +1,9 @@
+ prefix=/usr
+ exec_prefix=${prefix}
+-libdir=${prefix}/lib/
++libdir=${prefix}/@LIBDIR@/
+ includedir=${prefix}/include
+ Name: signon-oauth2plugin
+ Description: Signon OAuth 2.0 plugin
+ Version: 0.0.1
+ Requires: signon-plugins
+-Libs.private: -L/usr/lib -lQtCore
++Libs.private: -L/usr/@LIBDIR@ -lQtCore