Control: tags -1 patch

I am uploading a NMU to fix this. Please find the debdiff attached.
diff -Nru mate-desktop-1.26.2/debian/changelog 
mate-desktop-1.26.2/debian/changelog
--- mate-desktop-1.26.2/debian/changelog        2024-02-29 13:11:12.000000000 
+0100
+++ mate-desktop-1.26.2/debian/changelog        2025-03-17 16:22:25.000000000 
+0100
@@ -1,3 +1,11 @@
+mate-desktop (1.26.2-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply Y2K38-unsafe patch to conform with startup-notification API.
+    Closes: #1086464
+
+ -- Bastian Germann <b...@debian.org>  Mon, 17 Mar 2025 16:22:25 +0100
+
 mate-desktop (1.26.2-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru 
mate-desktop-1.26.2/debian/patches/1001_startup-notification-time-types.patch 
mate-desktop-1.26.2/debian/patches/1001_startup-notification-time-types.patch
--- 
mate-desktop-1.26.2/debian/patches/1001_startup-notification-time-types.patch   
    1970-01-01 01:00:00.000000000 +0100
+++ 
mate-desktop-1.26.2/debian/patches/1001_startup-notification-time-types.patch   
    2025-03-17 16:22:25.000000000 +0100
@@ -0,0 +1,19 @@
+Origin: 
https://github.com/alpinelinux/aports/blob/81316c1a752394b142b9eca29a81a478c1f4e763/community/mate-desktop/startup-notification-time-types.patch
+Description: should probably fixed in startup-notification:
+ https://gitlab.freedesktop.org/xdg/startup-notification/-/issues/6
+
+diff --git a/libmate-desktop/mate-desktop-item.c 
b/libmate-desktop/mate-desktop-item.c
+index baf0ad6..d81a1d8 100644
+--- a/libmate-desktop/mate-desktop-item.c
++++ b/libmate-desktop/mate-desktop-item.c
+@@ -1585,8 +1585,8 @@ startup_timeout (void *data)
+               double elapsed;
+ 
+ #if GLIB_CHECK_VERSION(2,61,2)
+-              time_t tv_sec;
+-              suseconds_t tv_usec;
++              long tv_sec;
++              long tv_usec;
+               gint64 tv;
+ 
+               sn_launcher_context_get_last_active_time (sn_context, &tv_sec, 
&tv_usec);
diff -Nru mate-desktop-1.26.2/debian/patches/series 
mate-desktop-1.26.2/debian/patches/series
--- mate-desktop-1.26.2/debian/patches/series   2023-07-10 06:08:12.000000000 
+0200
+++ mate-desktop-1.26.2/debian/patches/series   2025-03-17 16:22:25.000000000 
+0100
@@ -1 +1,2 @@
+1001_startup-notification-time-types.patch
 2001_prefer-x-terminal-emulator.patch

Reply via email to