Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package asclock for openSUSE:Factory checked 
in at 2026-04-07 16:32:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/asclock (Old)
 and      /work/SRC/openSUSE:Factory/.asclock.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "asclock"

Tue Apr  7 16:32:45 2026 rev:19 rq:1344686 version:2.0.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/asclock/asclock.changes  2025-05-20 
22:45:51.248769714 +0200
+++ /work/SRC/openSUSE:Factory/.asclock.new.21863/asclock.changes       
2026-04-07 16:47:46.913750946 +0200
@@ -1,0 +2,5 @@
+Mon Feb 23 14:41:08 UTC 2026 - Bernhard Wiedemann <[email protected]>
+
+- Add time_t.patch to make it work past 2038
+
+-------------------------------------------------------------------

New:
----
  time_t.patch

----------(New B)----------
  New:
- Add time_t.patch to make it work past 2038
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ asclock.spec ++++++
--- /var/tmp/diff_new_pack.c8joh9/_old  2026-04-07 16:47:47.661781626 +0200
+++ /var/tmp/diff_new_pack.c8joh9/_new  2026-04-07 16:47:47.665781790 +0200
@@ -28,6 +28,8 @@
 Patch1:         asclock-C99.diff
 # fix build with gcc15
 Patch2:         asclock-gcc15.patch
+# https://github.com/apritzel/asclock/pull/1
+Patch3:         time_t.patch
 BuildRequires:  fdupes
 BuildRequires:  imake
 BuildRequires:  pkgconfig

++++++ time_t.patch ++++++
>From 7c6d7c8f6eb72ee332bc742a063d4fa138dcee78 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Mon, 23 Feb 2026 13:40:34 +0100
Subject: [PATCH] Use time_t to handle timestamps

so that it keeps working after 2038-01-19
---
 asclock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/asclock.c b/asclock.c
index 28cb014..7e2504a 100644
--- a/asclock.c
+++ ./asclock.c
@@ -60,7 +60,7 @@ void InsertTime();
 void swatch_beats(int beats_cnt);
 
 static Atom wm_delete_window;
-int mytime();
+time_t mytime();
 
 int main(int argc,char *argv[])
 {
@@ -524,7 +524,7 @@ void TwentyFour()
 }
 /****************************************************************************/
 
-int mytime()
+time_t mytime()
 {
   struct timeval tv;
   struct timezone tz;

Reply via email to