1 |
commit: bb35511fb05bfb8445fef884f865393653049352 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 11 16:34:12 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 3 15:36:32 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=bb35511f |
7 |
|
8 |
kde-apps/kdenetwork-filesharing: fix build w/ gcc 13 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/885315 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../kdenetwork-filesharing-22.12.0-gcc13.patch | 24 ++++++++++++++++++++++ |
15 |
.../kdenetwork-filesharing-22.12.1.ebuild | 2 ++ |
16 |
.../kdenetwork-filesharing-22.12.49.9999.ebuild | 2 ++ |
17 |
3 files changed, 28 insertions(+) |
18 |
|
19 |
diff --git a/kde-apps/kdenetwork-filesharing/files/kdenetwork-filesharing-22.12.0-gcc13.patch b/kde-apps/kdenetwork-filesharing/files/kdenetwork-filesharing-22.12.0-gcc13.patch |
20 |
new file mode 100644 |
21 |
index 0000000000..309108854e |
22 |
--- /dev/null |
23 |
+++ b/kde-apps/kdenetwork-filesharing/files/kdenetwork-filesharing-22.12.0-gcc13.patch |
24 |
@@ -0,0 +1,24 @@ |
25 |
+https://invent.kde.org/network/kdenetwork-filesharing/-/commit/5c2d4ff3092155d24164c24a2a9a610325ff7174 |
26 |
+ |
27 |
+From: Sam James <sam@g.o> |
28 |
+Date: Sun, 11 Dec 2022 13:23:56 +0000 |
29 |
+Subject: [PATCH] samba: Fix build with GCC 13 (add missing <cstdint> include) |
30 |
+ |
31 |
+GCC 13 (as usual for new compiler releases) shuffles around some |
32 |
+internal includes and so <cstdint> is no longer transitively included. |
33 |
+ |
34 |
+Explicitly include <cstdint> for uint32_t. |
35 |
+ |
36 |
+Bug: https://bugs.gentoo.org/885315 |
37 |
+--- a/samba/aclproperties/debug.h |
38 |
++++ b/samba/aclproperties/debug.h |
39 |
+@@ -3,6 +3,7 @@ |
40 |
+ |
41 |
+ #pragma once |
42 |
+ |
43 |
++#include <cstdint> |
44 |
+ #include <string> |
45 |
+ |
46 |
+ struct ACE; |
47 |
+-- |
48 |
+GitLab |
49 |
|
50 |
diff --git a/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.1.ebuild b/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.1.ebuild |
51 |
index 648bfec0fa..38f8638a56 100644 |
52 |
--- a/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.1.ebuild |
53 |
+++ b/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.1.ebuild |
54 |
@@ -31,6 +31,8 @@ RDEPEND="${DEPEND} |
55 |
net-fs/samba |
56 |
" |
57 |
|
58 |
+PATCHES=( "${FILESDIR}"/${PN}-22.12.0-gcc13.patch ) # bug 885315, git master |
59 |
+ |
60 |
src_configure() { |
61 |
local mycmakeargs=( |
62 |
-DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON |
63 |
|
64 |
diff --git a/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.49.9999.ebuild b/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.49.9999.ebuild |
65 |
index 52c22345e6..ab345e0045 100644 |
66 |
--- a/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.49.9999.ebuild |
67 |
+++ b/kde-apps/kdenetwork-filesharing/kdenetwork-filesharing-22.12.49.9999.ebuild |
68 |
@@ -31,6 +31,8 @@ RDEPEND="${DEPEND} |
69 |
net-fs/samba |
70 |
" |
71 |
|
72 |
+PATCHES=( "${FILESDIR}"/${PN}-22.12.0-gcc13.patch ) # bug 885315, git master |
73 |
+ |
74 |
src_configure() { |
75 |
local mycmakeargs=( |
76 |
-DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON |