Page MenuHomePhabricator

imlib2: fails to build from source when HAVE_X11_SHM_FD is not defined
Closed, ResolvedPublic

Description

I tried to compile version 1.5.0 but the build fails in ximage.c line 81.

ximage.c:81:25: error: 'x_does_shm_fd' undeclared (first use in this function); did you mean 'x_does_shm'?

x_does_shm = x_does_shm_fd = 0;      /* Disable SHM entirely */
             ^~~~~~~~~~~~~

If HAVE_X11_SHM_FD is not defined then x_does_shm_fd is not declared. Apparently this feature is automatically detected:

checking whether to enable X11 MIT-SHM FD-passing support... auto
checking for X_SHM_FD... no

apoleon created this task.Mar 7 2018, 9:57 AM
apoleon triaged this task as High priority.
kwo closed this task as Resolved.Mar 7 2018, 10:49 AM

Oops - embarrassing - should be fixed in git now.

kwo added a project: Restricted Project.Mar 10 2018, 12:22 PM