]> git.pld-linux.org Git - packages/wlroots.git/blob - x32.patch
- make x32 patch rely on compiler, not rpm
[packages/wlroots.git] / x32.patch
1 --- wlroots-0.12.0/util/log.c.orig      2020-11-08 15:01:44.000000000 +0100
2 +++ wlroots-0.12.0/util/log.c   2021-02-03 10:32:04.394433021 +0100
3 @@ -47,7 +47,11 @@
4         clock_gettime(CLOCK_MONOTONIC, &ts);
5         timespec_sub(&ts, &ts, &start_time);
6  
7 +#ifdef __ILP32__
8 +       fprintf(stderr, "%02d:%02d:%02d.%03lld ", (int)(ts.tv_sec / 60 / 60),
9 +#else
10         fprintf(stderr, "%02d:%02d:%02d.%03ld ", (int)(ts.tv_sec / 60 / 60),
11 +#endif
12                 (int)(ts.tv_sec / 60 % 60), (int)(ts.tv_sec % 60),
13                 ts.tv_nsec / 1000000);
14  
This page took 0.051157 seconds and 3 git commands to generate.