diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-05 23:02:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-05 23:02:25 +0000 |
commit | 631f7475c7ad33edf25c4120e9f23ca03baf427b (patch) | |
tree | 192186a462a5ad4230e783408490946df38030ad /x11-libs/libXaw3dXft/files | |
parent | 6bf575618cf9022e99cbfcc64036fd9db79a749c (diff) |
gentoo auto-resync : 05:12:2023 - 23:02:25
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); |