diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-02-02 03:12:24 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-02-02 03:13:15 -0500 |
commit | 8d4915612f8f2928e4a5c15c78c2a083eb083c78 (patch) | |
tree | f90ea4b449b5c57c27e2d89b14797a6ca2984e6e /x11-misc | |
parent | x11-misc/mygestures: adjust style (diff) | |
download | gentoo-8d4915612f8f2928e4a5c15c78c2a083eb083c78.tar.gz gentoo-8d4915612f8f2928e4a5c15c78c2a083eb083c78.tar.bz2 gentoo-8d4915612f8f2928e4a5c15c78c2a083eb083c78.zip |
x11-misc/mygestures: fix build with upcoming gcc14
Closes: https://bugs.gentoo.org/923585
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/mygestures/files/mygestures-2.0-gcc14.patch | 7 | ||||
-rw-r--r-- | x11-misc/mygestures/mygestures-2.0-r1.ebuild (renamed from x11-misc/mygestures/mygestures-2.0.ebuild) | 4 |
2 files changed, 11 insertions, 0 deletions
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 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 |