Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mgetty for openSUSE:Factory checked 
in at 2026-04-13 23:19:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mgetty (Old)
 and      /work/SRC/openSUSE:Factory/.mgetty.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mgetty"

Mon Apr 13 23:19:42 2026 rev:46 rq:1346440 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mgetty/mgetty.changes    2025-05-14 
17:01:20.815592314 +0200
+++ /work/SRC/openSUSE:Factory/.mgetty.new.21863/mgetty.changes 2026-04-13 
23:21:47.211305350 +0200
@@ -1,0 +2,5 @@
+Fri Mar  6 03:05:22 UTC 2026 - Bernhard Wiedemann <[email protected]>
+
+- Add time_t.patch to fix year-2038-problem (boo#1258930)
+
+-------------------------------------------------------------------

New:
----
  time_t.patch

----------(New B)----------
  New:
- Add time_t.patch to fix year-2038-problem (boo#1258930)
----------(New E)----------

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

Other differences:
------------------
++++++ mgetty.spec ++++++
--- /var/tmp/diff_new_pack.xqtwtd/_old  2026-04-13 23:21:47.983337202 +0200
+++ /var/tmp/diff_new_pack.xqtwtd/_new  2026-04-13 23:21:47.987337367 +0200
@@ -44,6 +44,7 @@
 Patch15:        faxq-libexec.patch
 # build with gcc15
 Patch16:        mgetty-gcc15.patch
+Patch17:        time_t.patch
 BuildRequires:  groff
 BuildRequires:  makeinfo
 BuildRequires:  netpbm
@@ -111,6 +112,7 @@
 %patch -P 14 -p1
 %patch -P 15 -p1
 %patch -P 16 -p1
+%patch -P 17 -p1
 chmod +x mkidirs
 
 %build

++++++ time_t.patch ++++++
Author: Bernhard M. Wiedemann <[email protected]>
Date:   Fri Mar 6 03:47:59 2026 +0100

Fix two year-2038-problems
See https://en.wikipedia.org/wiki/Year_2038_problem
This patch was done while reviewing potential year-2038 issues in openSUSE.

diff --git a/callback/callback.c b/callback/callback.c
index 961a4e5..6016769 100644
--- a/callback/callback.c
+++ b/callback/callback.c
@@ -262,7 +262,7 @@ TIO tio;
  */
 int callback_find_device _P5( (ttys, device, mgetty_pid, rtime, end_time),
                              char * ttys, char * device, int * mgetty_pid,
-                             int rtime, int end_time )
+                             int rtime, time_t end_time )
 {
 char * p, *p_help;
 int fd;
@@ -339,7 +339,7 @@ boolean found_locked;                       /* found some 
tty locked */
 }
 
 int dialup _P4((fd, phone, count, end_time), 
-               int fd, char ** phone, int count, int end_time )
+               int fd, char ** phone, int count, time_t end_time )
 {
 int n;
 char dialbuf[MAXLINE];

Reply via email to