summaryrefslogtreecommitdiff
path: root/x11-misc/j4-dmenu-desktop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-18 17:55:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-18 17:55:42 +0100
commitb481b54b8432c46df354eedc3532b0420a38fd5a (patch)
tree02cc62a183cabccf4aa944e0d15b047b383abf16 /x11-misc/j4-dmenu-desktop
parent7288c6e5fa05acddbf692a5187d925ef85662b46 (diff)
gentoo auto-resync : 18:04:2023 - 17:55:41
Diffstat (limited to 'x11-misc/j4-dmenu-desktop')
-rw-r--r--x11-misc/j4-dmenu-desktop/Manifest3
-rw-r--r--x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch25
-rw-r--r--x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild6
3 files changed, 32 insertions, 2 deletions
diff --git a/x11-misc/j4-dmenu-desktop/Manifest b/x11-misc/j4-dmenu-desktop/Manifest
index 84196d1789b5..d4c5b2b31feb 100644
--- a/x11-misc/j4-dmenu-desktop/Manifest
+++ b/x11-misc/j4-dmenu-desktop/Manifest
@@ -1,3 +1,4 @@
+AUX j4-dmenu-desktop-2.18-gcc13.patch 684 BLAKE2B 00ca09e661c3cec0cd4eb01636099ca7e1cb5da56c54b9b33981173b72486187767df36c48e2a059e107a2cfccaf3de0944d26cf8fe8d1b70bcc9b4bd7040a38 SHA512 b58c2bc3b30a49d02beb0aa60ee74b9d1627c4c4511804b394cf6be68e1d48499c7fdb6d8c769b5c2d8cdc973d7000c05a004cf70a1a036bb14119e222a64b48
DIST j4-dmenu-desktop-2.18.tar.gz 34785 BLAKE2B 26d5861d6d7ddcd9653a464d1175d19532001705de193811087fd42fddbdead89b8d49bd14f8e323288d6a7ba37bd4e11f4c7c52dd9b0a454f95a83a14853bcb SHA512 f8b0c825d567d60da0fb418e6f0b24a6d9daa9fb142b194b0a8b249303f4e09b6694fce72bf031007ac67253e488fc7666d4ba7beb032bc74cc2a32aca0f6c96
-EBUILD j4-dmenu-desktop-2.18-r1.ebuild 1185 BLAKE2B fddf67c8f1e147a612282add6199d5cc3f84a7f90fe8b40fc80614686f96691097c0d5f00f68b877c71378ee58ae17f73ec6004f29ad7ec77b7ec9a04f6c0073 SHA512 03a6a011c8fb745b2e4798104a1b5514d3784759fa49f045a61a1a862b82282e8b4b682fd7c0bd6e5736398284d7f32f3bddba4895a8b8002c377d4d1d44ec02
+EBUILD j4-dmenu-desktop-2.18-r1.ebuild 1236 BLAKE2B a914620d1147738058438861eaf1daa678c0f144ac81dd9430be4e8486cf90c52d2f9a8564d5995eed65aeefd1837235e53a963e9b4481c997667013c21f4473 SHA512 2bfd359cffe05e10ae6a2482b47ea7c66af06723269de42acea401c26abcfdb447e0b19a010b504af4b9bdf2c4ae95cc126cdd0db08d1d60a4be9adf92918537
MISC metadata.xml 720 BLAKE2B f7953adbe54ea74a53d8d24b01ab9f49ec6953730e555547de6cb19f11cf7cb359a80f517a334494007ab691942390bc8d48c27b44beed6d9e8829f120f67201 SHA512 1decbf705eafff204783071471f3fa6c99719525fd81b2eaaf0effaa41e501b81dddc2604e2069ca393933285f78f8f76686be14e6a7f0b301ebcf4fed3628e5
diff --git a/x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch b/x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch
new file mode 100644
index 000000000000..269044a01ba7
--- /dev/null
+++ b/x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch
@@ -0,0 +1,25 @@
+https://github.com/enkore/j4-dmenu-desktop/pull/139
+
+From 53e318f155875562b22318395461b836e9ec7e8b Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 18 Apr 2023 11:08:53 +0100
+Subject: [PATCH] Fix build with GCC 13
+
+GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
+are no longer transitively included.
+
+See https://gnu.org/software/gcc/gcc-13/porting_to.html.
+
+Bug: https://bugs.gentoo.org/895200
+--- a/src/Application.hh
++++ b/src/Application.hh
+@@ -19,7 +19,8 @@
+ #define APPLICATION_DEF
+
+ #include <algorithm>
+-#include <string.h>
++#include <cstdint>
++#include <cstring>
+ #include <unistd.h>
+
+ #include "Utilities.hh"
diff --git a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild
index 1ad6b767f43d..0e03d6f0d6be 100644
--- a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild
+++ b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,6 +21,10 @@ RESTRICT="!test? ( test )"
DEPEND="test? ( dev-cpp/catch:1 )"
RDEPEND="dmenu? ( x11-misc/dmenu )"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.18-gcc13.patch
+)
+
src_prepare() {
cmake_src_prepare