[PATCH libXi] Fix const compiler warnings

2015-10-07 Thread Javier Pello
When invoking Data, Data16 and Data32 from XChangeDeviceProperty, we must cast the data pointer to the right type, but we do not need to cast constness away. This change allows to enable -Wcast-qual on the build and have it complete without warnings. Signed-off-by: Javier Pello --- src

Re: [PATCH xaw3d 1/2] Restore recording of build options in Xaw3dP.h

2013-06-09 Thread Javier Pello
dP.h be generated at configure time, so that old packages continue to build against newer libXaw3d. Signed-off-by: Javier Pello --- .gitignore | 1 + configure.ac| 12 include/Makefile.am |

[PING PATCH xaw3d 0/2] Xaw3d build system

2013-05-20 Thread Javier Pello
y for those old > packages by restoring the defines in Xaw3dP.h. > > Javier Pello (2): > Fix --enable-feature options in configure > Restore recording of build options in Xaw3dP.h > > .gitignore | 1 + > configure.ac

[PATCH xaw3d 0/2] Xaw3d build system

2013-05-06 Thread Javier Pello
API compatibility for those old packages by restoring the defines in Xaw3dP.h. Javier Pello (2): Fix --enable-feature options in configure Restore recording of build options in Xaw3dP.h .gitignore | 1 + configure.ac| 31

[PATCH xaw3d 2/2] Restore recording of build options in Xaw3dP.h

2013-05-06 Thread Javier Pello
. Restore this behaviour by making Xaw3dP.h be generated at configure time, so that old packages continue to build against newer libXaw3d. Signed-off-by: Javier Pello --- .gitignore | 1 + configure.ac| 12 include

[PATCH xaw3d 1/2] Fix --disable-feature options in configure

2013-05-06 Thread Javier Pello
Make --disable-feature options passed to configure not enable the feature but keep it disabled instead. Signed-off-by: Javier Pello --- configure.ac | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index a38ce7ff..32e21e97

Re: [PATCH libpciaccess 2/2 v3] linux: Implement map_legacy

2011-10-11 Thread Javier Pello
On Fri, 2011-10-07 at 10:18:20 -0700, Jeremy Huddleston wrote: > +char name[PATH_MAX]; > +int flags = O_RDONLY; > +int prot = PROT_READ; > +int fd; > +int ret=0; > + > +if (map_flags & PCI_DEV_MAP_FLAG_WRITABLE) { > + flags |= O_WRONLY; > + prot |= PROT_WRITE; > +