build on big endian platforms (s390, ppc) fails with: ... /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./winsys -I./driver/gl -I./driver/gl/gl -I./driver/gl/gles -DG_LOG_DOMAIN=\"Cogl\" -DCOGL_COMPILATION -DCOGL_GL_LIBNAME=\"libGL.so.1\" -DCOGL_GLES1_LIBNAME=\"\" -DCOGL_GLES2_LIBNAME=\"\" -DCOGL_LOCALEDIR=\""/usr/share/locale"\" -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -march=z9-109 -mtune=z10 -fPIC -c -o cogl-texture-2d.lo `test -f './cogl-texture-2d.c' || echo './'`./cogl-texture-2d.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./winsys -I./driver/gl -I./driver/gl/gl -I./driver/gl/gles -DG_LOG_DOMAIN=\"Cogl\" -DCOGL_COMPILATION -DCOGL_GL_LIBNAME=\"libGL.so.1\" -DCOGL_GLES1_LIBNAME=\"\" -DCOGL_GLES2_LIBNAME=\"\" -DCOGL_LOCALEDIR=\"/usr/share/locale\" -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -march=z9-109 -mtune=z10 -fPIC -c ./cogl-texture-2d.c -fPIC -DPIC -o .libs/cogl-texture-2d.o In file included from ./winsys/cogl-winsys-egl-private.h:101:0, from ./cogl-texture-2d.c:44: ./winsys/cogl-winsys-egl-feature-functions.h:89:66: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations] COGL_WINSYS_FEATURE_FUNCTION (EGLBoolean, eglQueryWaylandBuffer, ^ In file included from ./cogl-texture-2d.c:44:0: ./winsys/cogl-winsys-egl-private.h:165:40: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations] struct wl_buffer *buffer, ^ ./cogl-texture-2d.c: In function 'cogl_wayland_texture_2d_new_from_buffer': ./cogl-texture-2d.c:318:16: error: 'WL_SHM_FORMAT_XRGB32' undeclared (first use in this function) case WL_SHM_FORMAT_XRGB32: ^ ./cogl-texture-2d.c:318:16: note: each undeclared identifier is reported only once for each function it appears in ./cogl-texture-2d.c:346:14: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations] struct wl_buffer *buffer = (struct wl_buffer *) buffer_resource; ^ ./cogl-texture-2d.c:346:42: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations] struct wl_buffer *buffer = (struct wl_buffer *) buffer_resource; ^ make[4]: *** [cogl-texture-2d.lo] Error 1 Version-Release number of selected component (if applicable): cogl-1.15.10-2.fc20 and newer