commit: 8d4915612f8f2928e4a5c15c78c2a083eb083c78 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri Feb 2 08:12:24 2024 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Fri Feb 2 08:13:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d491561
x11-misc/mygestures: fix build with upcoming gcc14 Closes: https://bugs.gentoo.org/923585 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> x11-misc/mygestures/files/mygestures-2.0-gcc14.patch | 7 +++++++ .../mygestures/{mygestures-2.0.ebuild => mygestures-2.0-r1.ebuild} | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/x11-misc/mygestures/files/mygestures-2.0-gcc14.patch b/x11-misc/mygestures/files/mygestures-2.0-gcc14.patch new file mode 100644 index 000000000000..e2f228f80479 --- /dev/null +++ b/x11-misc/mygestures/files/mygestures-2.0-gcc14.patch @@ -0,0 +1,7 @@ +https://bugs.gentoo.org/923585 +--- a/src/configuration_parser.c ++++ b/src/configuration_parser.c +@@ -18,2 +18,3 @@ + ++#include <stdlib.h> + #include <string.h> diff --git a/x11-misc/mygestures/mygestures-2.0.ebuild b/x11-misc/mygestures/mygestures-2.0-r1.ebuild similarity index 93% rename from x11-misc/mygestures/mygestures-2.0.ebuild rename to x11-misc/mygestures/mygestures-2.0-r1.ebuild index 902753001fed..2a4e45a2e732 100644 --- a/x11-misc/mygestures/mygestures-2.0.ebuild +++ b/x11-misc/mygestures/mygestures-2.0-r1.ebuild @@ -31,6 +31,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PN}-2.0-gcc14.patch +) + src_prepare() { default
