Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xemacs for openSUSE:Factory checked 
in at 2023-01-16 17:59:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xemacs (Old)
 and      /work/SRC/openSUSE:Factory/.xemacs.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xemacs"

Mon Jan 16 17:59:19 2023 rev:95 rq:1058604 version:21.5.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/xemacs/xemacs.changes    2022-08-18 
16:49:47.465533070 +0200
+++ /work/SRC/openSUSE:Factory/.xemacs.new.32243/xemacs.changes 2023-01-16 
18:01:58.935852911 +0100
@@ -1,0 +2,5 @@
+Sat Jan 14 05:04:47 UTC 2023 - Bernhard Wiedemann <[email protected]>
+
+- Add xemacs-21.5.34-fix2038.patch to fix buffers after year 2038
+
+-------------------------------------------------------------------

New:
----
  xemacs-21.5.34-fix2038.patch

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

Other differences:
------------------
++++++ xemacs.spec ++++++
--- /var/tmp/diff_new_pack.vbMKUs/_old  2023-01-16 18:02:00.435861328 +0100
+++ /var/tmp/diff_new_pack.vbMKUs/_new  2023-01-16 18:02:00.439861350 +0100
@@ -113,6 +113,7 @@
 Patch62:        xemacs-libX11-boo1175028.patch
 # PATCH-FIX-SUSE sys_siglist is deprecated
 Patch63:        xemacs-21.5.34-strsignal.patch
+Patch64:        xemacs-21.5.34-fix2038.patch
 Requires(pre):  permissions
 Requires:       ctags
 Requires:       efont-unicode
@@ -227,6 +228,7 @@
 %endif
 %endif
 %endif
+%patch64 -p1
 
 %build
   cflags ()

++++++ xemacs-21.5.34-fix2038.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2023-01-14
Subject: Fix build in 2038

The UNIX Epoch needs more than 31 bits after 2038-01-19
so we extend the variable to 64 bits

Index: xemacs-21.5.34/src/buffer.h
===================================================================
--- xemacs-21.5.34.orig/src/buffer.h
+++ xemacs-21.5.34/src/buffer.h
@@ -246,7 +246,7 @@ struct buffer
      -1 means visited file was nonexistent.
      0  means visited file modtime unknown; in no case complain
      about any mismatch on next save attempt.  */
-  int modtime;
+  long long modtime;
 
   /* the value of text->modiff at the last auto-save.  */
   long auto_save_modified;

Reply via email to