Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package alevt for openSUSE:Factory checked 
in at 2026-10-18 19:26:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alevt (Old)
 and      /work/SRC/openSUSE:Factory/.alevt.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alevt"

Sun Oct 18 19:26:41 2026 rev:26 rq:1385981 version:1.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/alevt/alevt.changes      2025-06-20 
16:50:58.168131584 +0200
+++ /work/SRC/openSUSE:Factory/.alevt.new.3698736/alevt.changes 2026-10-18 
19:27:18.327753710 +0200
@@ -1,0 +2,6 @@
+Sat Oct 17 16:44:10 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 1.8.3:
+  * Fix build error with gcc 15 (fixed upstream, drop alevt-gcc15.patch)
+
+-------------------------------------------------------------------

Old:
----
  alevt-gcc15.patch
  alevt-v1.8.2.tar.bz2

New:
----
  alevt-v1.8.3.tar.bz2

----------(Old B)----------
  Old:- Update to version 1.8.3:
  * Fix build error with gcc 15 (fixed upstream, drop alevt-gcc15.patch)
----------(Old E)----------

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

Other differences:
------------------
++++++ alevt.spec ++++++
--- /var/tmp/diff_new_pack.ty4U29/_old  2026-10-18 19:27:18.992781574 +0200
+++ /var/tmp/diff_new_pack.ty4U29/_new  2026-10-18 19:27:18.993781616 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package alevt
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,14 @@
 
 
 Name:           alevt
-Version:        1.8.2
+Version:        1.8.3
 Release:        0
 Summary:        Teletext and Videotext Decoder for the BTTV Driver
 License:        GPL-2.0-or-later
-Group:          Hardware/TV
 URL:            https://gitlab.com/alevt/alevt
 Source0:        %{URL}/-/archive/v%{version}/alevt-v%{version}.tar.bz2
 Source1:        alevt.desktop
 Patch0:         alevt-fix-implicit.patch
-# https://gitlab.com/alevt/alevt/-/issues/2
-Patch1:         alevt-gcc15.patch
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(libpng)

++++++ alevt-v1.8.2.tar.bz2 -> alevt-v1.8.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/.gitlab-ci.yml 
new/alevt-v1.8.3/.gitlab-ci.yml
--- old/alevt-v1.8.2/.gitlab-ci.yml     2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/.gitlab-ci.yml     2025-09-06 19:41:50.000000000 +0200
@@ -1,6 +1,4 @@
-image: debian:buster
-
-build:
+.debian-build-template: &debian-build-template
   stage: build
   before_script:
     - apt update && apt -y install gcc make libzvbi-dev libpng-dev libx11-dev 
pkg-config
@@ -11,6 +9,14 @@
   #     - alevt
   #     - alevt-date
   #     - alevt-cap
-  cache:
-    paths:
-      - "*.o"
+
+build-stable:
+  <<: *debian-build-template
+  image: debian:stable
+
+build-sid:
+  <<: *debian-build-template
+  image: debian:sid
+
+include:
+  - component: gitlab.com/components/sast/sast@main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/cache.c new/alevt-v1.8.3/cache.c
--- old/alevt-v1.8.2/cache.c    2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/cache.c    2025-09-06 19:41:50.000000000 +0200
@@ -166,7 +166,7 @@
 
 static struct vt_page *
 cache_foreach_pg(struct cache *ca, int pgno, int subno, int dir,
-                                                   int (*func)(), void *data)
+                 cache_func_t func, void *user_data)
 {
     struct vt_page *vtp, *s_vtp = 0;
 
@@ -196,7 +196,7 @@
                return 0;
            if (s_vtp == 0)
                s_vtp = vtp;
-           if (func(data, vtp))
+           if (func(user_data, vtp))
                return vtp;
        }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/cache.h new/alevt-v1.8.3/cache.h
--- old/alevt-v1.8.2/cache.h    2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/cache.h    2025-09-06 19:41:50.000000000 +0200
@@ -22,15 +22,29 @@
     struct vt_page page[1];
 };
 
-struct cache_ops
-{
-    void (*close)(struct cache *ca);
-    struct vt_page *(*get)(struct cache *ca, int pgno, int subno);
-    struct vt_page *(*put)(struct cache *ca, struct vt_page *vtp);
-    void (*reset)(struct cache *ca);
-    struct vt_page *(*foreach_pg)(struct cache *ca, int pgno, int subno,
-                                           int dir, int (*func)(), void *data);
-    int (*mode)(struct cache *ca, int mode, int arg);
+typedef void (*cache_close_t)(struct cache *ca);
+
+typedef struct vt_page *(*cache_get_t)(struct cache *ca, int pgno, int subno);
+
+typedef struct vt_page *(*cache_put_t)(struct cache *ca, struct vt_page *vtp);
+
+typedef void (*cache_reset_t)(struct cache *ca);
+
+typedef int (*cache_func_t)(void *user_data, struct vt_page *vtp);
+
+typedef struct vt_page *(*cache_foreach_pg_t)(
+    struct cache *ca, int pgno,
+    int subno, int dir, cache_func_t func, void *user_data);
+
+typedef int (*cache_mode_t)(struct cache *ca, int mode, int arg);
+
+struct cache_ops {
+    cache_close_t       close;
+    cache_get_t         get;
+    cache_put_t         put;
+    cache_reset_t       reset;
+    cache_foreach_pg_t  foreach_pg;
+    cache_mode_t        mode;
 };
 
 struct cache *cache_open(void);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/edit.c new/alevt-v1.8.3/edit.c
--- old/alevt-v1.8.2/edit.c     2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/edit.c     2025-09-06 19:41:50.000000000 +0200
@@ -7,7 +7,7 @@
 #include "vbi.h"
 #include "edit.h"
 
-static void edwin_event(struct edwin *w, struct vt_event *ev);
+static void edwin_event(void *, struct vt_event *ev);
 
 static void
 cursor(struct edwin *w, int x, int y)
@@ -160,8 +160,9 @@
 
 
 static void
-do_save(struct edwin *w, u8 *name)
+do_save(void *user_data, u8 *name)
 {
+    struct edwin *w = user_data;
     u8 buf[40];
     int x, y;
     FILE *fp;
@@ -365,8 +366,9 @@
 }
 
 static void
-edwin_event(struct edwin *w, struct vt_event *ev)
+edwin_event(void *user_data, struct vt_event *ev)
 {
+    struct edwin *w = user_data;
     int i;
 
     switch (ev->type)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/edline.c new/alevt-v1.8.3/edline.c
--- old/alevt-v1.8.2/edline.c   2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/edline.c   2025-09-06 19:41:50.000000000 +0200
@@ -39,8 +39,9 @@
 }
 
 static void
-ev_handler(struct edline *el, struct vt_event *ev)
+ev_handler(void *user_data, struct vt_event *ev)
 {
+    struct edline *el = user_data;
     switch (ev->type)
     {
        case EV_KEY:
@@ -112,7 +113,7 @@
 
 
 struct edline *
-edline_new(struct xio_win *xw, u8 *prompt, u8 *str, void *exit_func, void 
*data)
+edline_new(struct xio_win *xw, const u8 *prompt, const u8 *str, 
edline_exit_func_t exit_func, void *exit_data)
 {
     struct edline *el;
     int plen, slen;
@@ -128,7 +129,7 @@
     el->xw = xw;
     el->prompt = prompt;
     el->exit_func = exit_func;
-    el->exit_data = data;
+    el->exit_data = exit_data;
 
     el->old_handler = xw->handler;     //TODO: func to retrieve curr handler
     el->old_data = xw->data;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/edline.h new/alevt-v1.8.3/edline.h
--- old/alevt-v1.8.2/edline.h   2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/edline.h   2025-09-06 19:41:50.000000000 +0200
@@ -6,13 +6,15 @@
 
 #define EDLEN 128
 
+typedef void (*edline_exit_func_t)(void *exit_data, u8 *buf);
+
 struct edline
 {
     struct xio_win *xw;
-    u8 *prompt;
-    void (*exit_func)();
+    const u8 *prompt;
+    edline_exit_func_t exit_func;
     void *exit_data;
-    void (*old_handler)();
+    xio_win_handler_t old_handler;
     void *old_data;
 
     u8 buf[EDLEN];
@@ -21,8 +23,8 @@
     int offs;          // current scroll offset
 };
 
-struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
-                                               void *exit_func, void *data);
+struct edline *edline_new(struct xio_win *xw, const u8 *prompt, const u8 
*preset,
+                          edline_exit_func_t exit_func, void *exit_data);
 void edline_abort(struct edline *el);
 
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/search.c new/alevt-v1.8.3/search.c
--- old/alevt-v1.8.2/search.c   2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/search.c   2025-09-06 19:41:50.000000000 +0200
@@ -55,8 +55,9 @@
 }
 
 static int
-search_pg(struct search *s, struct vt_page *vtp)
+search_pg(void *user_data, struct vt_page *vtp)
 {
+    struct search *s = user_data;
     regmatch_t m[1];
     u8 buf[H *(W+1) + 1];
     int line[H];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/ui.c new/alevt-v1.8.3/ui.c
--- old/alevt-v1.8.2/ui.c       2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/ui.c       2025-09-06 19:41:50.000000000 +0200
@@ -22,7 +22,7 @@
 static char save_format[EDLEN] = "ascii"; // just to remember prev format
 
 // forward references
-static void vtwin_event(struct vtwin *w, struct vt_event *ev);
+static void vtwin_event(void *, struct vt_event *ev);
 static void msg(struct vtwin *w, u8 *str, ...);
 static void err(struct vtwin *w, u8 *str, ...);
 
@@ -123,8 +123,9 @@
 
 
 static int
-_next_pgno(int *arg, struct vt_page *vtp)
+_next_pgno(void *user_data, struct vt_page *vtp)
 {
+    int *arg = user_data;
     int pgno = vtp->pgno;
 
     if (arg[0] == pgno) // want different page
@@ -137,8 +138,9 @@
 }
 
 static int
-_next_subno(int *arg, struct vt_page *vtp)
+_next_subno(void *user_data, struct vt_page *vtp)
 {
+    int *arg = user_data;
     return vtp->pgno == arg[0];        // only subpages of this page
 }
 
@@ -156,7 +158,7 @@
        arg[0] = pgno;
        arg[1] = bcd_mode;
         if (vtp = w->vbi->cache->op->foreach_pg(w->vbi->cache,
-                   pgno, subno, dir, subs ? _next_subno:_next_pgno, &arg))
+                                                pgno, subno, dir, subs ? 
_next_subno:_next_pgno, &arg))
        {
            new_or_query(w, vtp->pgno, subs ? vtp->subno : ANY_SUB, new_win);
            return;
@@ -432,8 +434,9 @@
 }
 
 static void
-start_search(struct vtwin *w, u8 *string)
+start_search(void *user_data, u8 *string)
 {
+    struct vtwin *w = user_data;
     w->edline = 0;
     put_menu_line(w);
 
@@ -455,8 +458,9 @@
 }
 
 static void
-start_save2(struct vtwin *w, u8 *name)
+start_save2(void *user_data, u8 *name)
 {
+    struct vtwin *w = user_data;
     w->edline = 0;
     if (name && *name)
        if (export(w->export, w->vtp, name))
@@ -468,8 +472,9 @@
 }
 
 static void
-start_save1(struct vtwin *w, u8 *format)
+start_save1(void *user_data, u8 *format)
 {
+    struct vtwin *w = user_data;
     char *name;
 
     w->edline = 0;
@@ -561,8 +566,9 @@
 
 
 static void
-vtwin_event(struct vtwin *w, struct vt_event *ev)
+vtwin_event(void *user_data, struct vt_event *ev)
 {
+    struct vtwin *w = user_data;
     struct xio_win *xw = w->xw;
     int i;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/xio.c new/alevt-v1.8.3/xio.c
--- old/alevt-v1.8.2/xio.c      2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/xio.c      2025-09-06 19:41:50.000000000 +0200
@@ -370,7 +370,7 @@
 }
 
 void
-xio_set_handler(struct xio_win *xw, void *handler, void *data)
+xio_set_handler(struct xio_win *xw, xio_win_handler_t handler, void *data)
 {
     xw->handler = handler;
     xw->data = data;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alevt-v1.8.2/xio.h new/alevt-v1.8.3/xio.h
--- old/alevt-v1.8.2/xio.h      2023-04-22 15:44:42.000000000 +0200
+++ new/alevt-v1.8.3/xio.h      2025-09-06 19:41:50.000000000 +0200
@@ -10,6 +10,8 @@
 
 extern int bell;
 
+typedef void (*xio_win_handler_t)(void *user_data, struct vt_event *ev);
+
 /* one xio per display */
 struct xio
 {
@@ -49,7 +51,7 @@
     int fg, bg;                                /* current 
foreground/background */
     int blink_on;                      /* blinking on */
     int reveal;                                /* reveal concealed text */
-    void (*handler)(void *data, struct vt_event *ev);  /* event-handler */
+    xio_win_handler_t handler;          /* event-handler */
     void *data;                                /* data for the event-handler */
     int curs_x, curs_y;                        /* cursor position */
     u8 title[32];                      /* the user title */
@@ -65,14 +67,14 @@
 struct xio_win *xio_open_win(struct xio *xio, char *geom);
 void xio_close_win(struct xio_win *xw, int dpy_too);
 void xio_close_dpy(struct xio *xio);
-void xio_set_handler(struct xio_win *xw, void *handler, void *data);
+void xio_set_handler(struct xio_win *xw, xio_win_handler_t handler, void 
*user_data);
 void xio_clear_win(struct xio_win *xw);
 void xio_put_line(struct xio_win *xw, int line, u8 *data);
 void xio_put_str(struct xio_win *xw, int line, u8 *c_str);
 int xio_get_line(struct xio_win *xw, int line, u8 *data);
 int xio_set_concealed(struct xio_win *xw, int on);
 void xio_update_win(struct xio_win *xw);
-void xio_fd_handler(int fd, void *handler, void *data);
+void xio_fd_handler(int fd, xio_win_handler_t handler, void *user_data);
 void xio_bell(struct xio_win *xw);
 void xio_cancel_selection(struct xio_win *xw);
 void xio_query_selection(struct xio_win *xw);

Reply via email to