]> git.pld-linux.org Git - packages/sway.git/blob - x32.patch
- make x32 patch rely on compiler, not rpm
[packages/sway.git] / x32.patch
1 --- sway-1.5.1/common/log.c.orig        2020-11-10 17:47:31.000000000 +0100
2 +++ sway-1.5.1/common/log.c     2021-02-03 11:01:15.711496602 +0100
3 @@ -75,7 +75,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.066463 seconds and 3 git commands to generate.