Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#58021 - [sdl2] Use CLOCK_GETTIME in cmake build
Attached to Project:
Arch Linux
Opened by Jonathan Platzer (jonathanplatzer) - Thursday, 29 March 2018, 11:40 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 31 March 2018, 02:14 GMT
Opened by Jonathan Platzer (jonathanplatzer) - Thursday, 29 March 2018, 11:40 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 31 March 2018, 02:14 GMT
|
DetailsDescription: After the switch to cmake for building the package, the default configuration for using clock_gettime() instead of gettimeofday(), which was available before, is not carried over.
This has the effect that the frequency of the high resolution counter is degraded from one billion ticks per second to one million ticks per second. Proposed fix: Activate the CLOCK_GETTIME option with -DCLOCK_GETTIME=ON when building the package with cmake in the PKGBUILD Additional info: * sdl2 2.0.8-2 |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Saturday, 31 March 2018, 02:14 GMT
Reason for closing: Implemented
Additional comments about closing: sdl2 2.0.8-5
Saturday, 31 March 2018, 02:14 GMT
Reason for closing: Implemented
Additional comments about closing: sdl2 2.0.8-5
Comment by Sven-Hendrik Haase (Svenstaro) -
Thursday, 29 March 2018, 17:27 GMT
Check now.
Comment by Jonathan Platzer (jonathanplatzer) -
Friday, 30 March 2018, 15:57 GMT
Just tested it, looks good so far.