libX11: Changes to 'master'
Paulo Cesar Pereira de Andrade
pcpa at kemper.freedesktop.org
Thu Jan 29 15:00:26 PST 2009
configure.ac | 6 ++----
man/xkb/XkbSAGroup.man | 5 ++++-
man/xkb/XkbSASetGroup.man | 5 ++++-
man/xkb/XkbSetIndicatorMap.man | 4 ++--
modules/im/ximcp/imDefLkup.c | 2 +-
modules/im/ximcp/imRm.c | 4 ++--
src/x11_trans.c | 4 ++--
7 files changed, 17 insertions(+), 13 deletions(-)
New commits:
commit 1bd2966ed88f83479a066c6ca7da23a515979550
Author: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
Date: Thu Jan 29 20:25:15 2009 -0200
patches to avoid gcc warnings for libX11 (#4)
Author is Peter Breitenlohner <peb at mppmu.mpg.de>
Bug #17946, attachment #19443
This patch avoids the gcc warning
../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type
(same as already done at other places)
BTW: what is the difference between XIM (the type of ic->core.im)
and Xim ?
commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0
Author: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
Date: Thu Jan 29 20:22:21 2009 -0200
patches to avoid gcc warnings for libX11 (#3)
Author is Peter Breitenlohner <peb at mppmu.mpg.de>
Bug #17946, attachment #19441
This patch avoids the two gcc warnings
../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type
../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type
Note, that this as a rather crude fix of the problem (and it is really a
shame to cast name_table to non-const).
The right solution would be to declare XIMValuesList.supported_values
(in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **').
This will, however, require extensive modifications in various places.
commit cce75c5dce73fe1f8626ed9e6798138ada09a860
Author: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
Date: Thu Jan 29 20:20:18 2009 -0200
patches to avoid gcc warnings for libX11 (#2)
Author is Peter Breitenlohner <peb at mppmu.mpg.de>
Bug #17946, attachment #19440
Avoid a preprocessor message
<stdin>:194: warning: no newline at end of file
Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man)
seem to be caused by a truncated (or otherwise incomplete)
manpage.
commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe
Author: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
Date: Thu Jan 29 20:12:24 2009 -0200
patches to avoid gcc warnings for libX11 (#1)
Author is Peter Breitenlohner <peb at mppmu.mpg.de>
Bug #17946, attachment #19439
Define as 1 (one) as done by autoconf and the command line
option, e.g. -DX11_t, not as empty.
This avoids the gcc (3.4.6) warnings:
../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined
<command line>:7:1: warning: this is the location of the previous definition
../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined
<command line>:8:1: warning: this is the location of the previous definition
Similarly, follow the autoconf convention to define XTHREADS
and XUSE_MTSAFE_API as one.
This avoids analogous warnings when compiling libXcomposite,
libXcursor, and libXdamage.
No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused).
More information about the xorg-commit
mailing list