diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2023-12-05 19:29:39 +0200 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-12-05 19:31:45 +0200 |
commit | 32e2c9bed0d5f4d0182a1acb2ee7198c8998bf60 (patch) | |
tree | 8ac4343003e54d2d1bf028580ae75911c9d23891 /x11-libs/libXaw3dXft/files | |
parent | app-admin/eclean-kernel: Bump to 2.99.7 (diff) | |
download | gentoo-32e2c9bed0d5f4d0182a1acb2ee7198c8998bf60.tar.gz gentoo-32e2c9bed0d5f4d0182a1acb2ee7198c8998bf60.tar.bz2 gentoo-32e2c9bed0d5f4d0182a1acb2ee7198c8998bf60.zip |
x11-libs/libXaw3dXft: fix building with gcc 14
Fix building with gcc 14.
Update EAPI 7 -> 8.
Remove useless `unicode` flag (make it always on).
Closes: https://bugs.gentoo.org/919239
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'x11-libs/libXaw3dXft/files')
-rw-r--r-- | x11-libs/libXaw3dXft/files/libXaw3dXft-1.6.2h-fix-gcc-14.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-libs/libXaw3dXft/files/libXaw3dXft-1.6.2h-fix-gcc-14.patch b/x11-libs/libXaw3dXft/files/libXaw3dXft-1.6.2h-fix-gcc-14.patch new file mode 100644 index 000000000000..ae69a5dccba1 --- /dev/null +++ b/x11-libs/libXaw3dXft/files/libXaw3dXft-1.6.2h-fix-gcc-14.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/919239 + +Fix compilation with gcc 14 [-Wincompatible-pointer-types] + +buffer_return is a char* cast to wchar_t* at call site. + +--- a/src/XawIm.c ++++ b/src/XawIm.c +@@ -1522,7 +1522,7 @@ + if ((vw = SearchVendorShell(inwidg)) && (ve = GetExtPart(vw)) && + ve->im.xim && (p = GetIcTableShared(inwidg, ve)) && p->xic) { + if (_Xaw3dXft->encoding == -1) +- ret = Xutf8LookupString (p->xic, event, buffer_return, bytes_buffer, keysym_return, status_return); ++ ret = Xutf8LookupString (p->xic, event, (char*)buffer_return, bytes_buffer, keysym_return, status_return); + else + ret = XwcLookupString(p->xic, event, buffer_return, bytes_buffer, + keysym_return, status_return); |