Age | Commit message (Collapse) | Author |
|
The latest glibc considers _BSD_SOURCE deprecated, leading to the following
warning being issued for pretty much every C-file in the xserver:
In file included from /usr/include/stdint.h:25:0,
from /usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stdint.h:9,
from ../include/misc.h:81,
from miexpose.c:82:
/usr/include/features.h:145:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
I've discussed this with the glibc developers and the prefered way of fixing
this is by also defining _DEFAULT_SOURCE which is the new way of stating
_BSD_SOURCE / _SVID_SOURCE .
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Tested-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
|
|
|
|
- Change Xtrans includedir back to be X11/Xtrans, so that users of it can
continue to include <X11/*>
- Add build system for FSlib
- Conditionally include config.h in xc/lib/FS
- Remove redundant include of FSproto.h in xc/lib/FS
- Add check to proto/X11/configure.ac whether -D_XOPEN_SOURCE is needed.
|
|
|
|
<X11/...>
- For Xcomposite and Xdamage, don't link the build system out of the xc
tree
- Link the public X11 headers into their own directory
- Add links to XKeysymDB and XErrorDB
- Add links to all the Xlib man pages
- Add links to the lcUniConv subdirectory
- Conditionally include config.h in Xlib source
|
|
- Update AUTHORS, COPYING from Keith's tree
- Don't use gcc specific "-include config.h"
- Add autogen.sh
lib/xtrans:
- Add AUTHORS, COPYING, ChangeLog, Makefile.am, NEWS, README, autogen.sh,
configure.ac, xtrans.pc.in
xc/lib/Xau:
- Add conditionalized #include <config.h>
util/modular/symlink.sh
- Add functions symlink_lib_xau() and symlink_lib_xtrans()
util/modular/addconfig.h
- New script that adds #include <config.h> to files
|