Created attachment 129786 [details] [review] patch: avoid -Wformat errors from clang Build with -DDEBUG option fails with clang due to -Wformat errors for several libraries, namely, libXfont, libXt, libXkbui, and libXtrans. I've tested that the patch works well both on ILP32 and LP64.
Thanks for the fixes, these have now been pushed to git master for the next releases: https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=099ed6fa9f293d283163b138830d43bbd47c5df1 https://cgit.freedesktop.org/xorg/lib/libXt/commit/?id=0659374e8c1a39433f074226a65f29ae6147157e https://cgit.freedesktop.org/xorg/lib/libxkbui/commit/?id=89832c5904b0678758981213d710617b146b894a https://cgit.freedesktop.org/xorg/lib/libxtrans/commit/?id=a97e5fc6e4f294294d75500068892aea11952773 (Though libxkbui isn't used any more and hasn't had a release in over a decade.)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.