[packages/thermal-daemon] - use 64bit time_t on all archs

baggins baggins at pld-linux.org
Wed Dec 24 23:27:39 CET 2025


commit d93ab5afd9c18f27adeea76eb2ace5852831d259
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Dec 25 01:26:13 2025 +0100

    - use 64bit time_t on all archs

 thermal-daemon.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/thermal-daemon.spec b/thermal-daemon.spec
index 7542a13..f42ab7c 100644
--- a/thermal-daemon.spec
+++ b/thermal-daemon.spec
@@ -44,6 +44,8 @@ gtkdocize --copy --flavour no-tmpl
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+export CFLAGS="%{rpmcflags} -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
+export CXXFLAGS="%{rpmcxxflags} -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
 %configure
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thermal-daemon.git/commitdiff/d93ab5afd9c18f27adeea76eb2ace5852831d259



More information about the pld-cvs-commit mailing list