Bug#1065713: directfb: FTBFS on arm{el,hf}: error: ‘const struct input_event’ has no member named ‘time’

2024-03-10 Thread Simon McVittie
On Sat, 09 Mar 2024 at 12:29:26 +0100, Sebastian Ramacher wrote:
> linux_input.c: In function ‘translate_event’:
> linux_input.c:761:28: error: ‘const struct input_event’ has no member named 
> ‘time’
>   761 |  devt->timestamp = levt->time;
>   |^~

This seems to be essentially the same bug that was fixed in SDL by:
https://github.com/libsdl-org/SDL/commit/10fc3b3db715f0e2050e49f39d7d6e932813723c
so hopefully that's a useful reference.

smcv



Bug#1065713: directfb: FTBFS on arm{el,hf}: error: ‘const struct input_event’ has no member named ‘time’

2024-03-09 Thread Sebastian Ramacher
Source: directfb
Version: 1.7.7-11.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org,  mwhud...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=directfb=armel=1.7.7-11.1=1709087518=0

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib 
-I../../include -I../../lib -I../../src -I../../systems -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wno-strict-aliasing -Werror-implicit-function-declaration -O3 -g2 -ffast-math 
-pipe -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE 
-std=gnu99 -Werror-implicit-function-declaration -c linux_input.c  -fPIC -DPIC 
-o .libs/linux_input.o
linux_input.c: In function ‘translate_event’:
linux_input.c:761:28: error: ‘const struct input_event’ has no member named 
‘time’
  761 |  devt->timestamp = levt->time;
  |^~

Cheers
-- 
Sebastian Ramacher