Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package smenu for openSUSE:Factory checked 
in at 2025-05-01 15:23:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/smenu (Old)
 and      /work/SRC/openSUSE:Factory/.smenu.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "smenu"

Thu May  1 15:23:13 2025 rev:13 rq:1273743 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/smenu/smenu.changes      2024-04-02 
16:45:12.315135666 +0200
+++ /work/SRC/openSUSE:Factory/.smenu.new.30101/smenu.changes   2025-05-01 
15:23:32.355317631 +0200
@@ -1,0 +2,7 @@
+Wed Apr 30 15:00:02 UTC 2025 - pgaj...@suse.com
+
+- added patches
+  https://github.com/p-gen/smenu/issues/46
+  + smenu-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  smenu-gcc15.patch

BETA DEBUG BEGIN:
  New:  https://github.com/p-gen/smenu/issues/46
  + smenu-gcc15.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ smenu.spec ++++++
--- /var/tmp/diff_new_pack.qiWh6d/_old  2025-05-01 15:23:32.819337075 +0200
+++ /var/tmp/diff_new_pack.qiWh6d/_new  2025-05-01 15:23:32.819337075 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smenu
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 Group:          Productivity/Text/Utilities
 URL:            https://github.com/p-gen/%{name}
 Source:         
https://github.com/p-gen/smenu/releases/download/v%{version}/smenu-%{version}.tar.bz2
+# https://github.com/p-gen/smenu/issues/46
+Patch0:         smenu-gcc15.patch
 BuildRequires:  ncurses-devel
 
 %description
@@ -32,7 +34,7 @@
 selected words, if any, to standard output.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure

++++++ smenu-gcc15.patch ++++++
diff -upr smenu-1.4.0.orig/ctxopt.c smenu-1.4.0/ctxopt.c
--- smenu-1.4.0.orig/ctxopt.c   2025-04-30 14:28:19.963796848 +0000
+++ smenu-1.4.0/ctxopt.c        2025-04-30 14:46:30.672418979 +0000
@@ -4654,7 +4654,7 @@ ctxopt_add_opt_settings(settings s, ...)
     case actions:
     {
       void *data;
-      void (*function)();
+      void (*function)(char *, char *, char *, int,  char **, int,  void **, 
int,  void **);
       int nb_data = 0;
 
       /* The second argument must be the name of an existing option. */
@@ -4664,7 +4664,7 @@ ctxopt_add_opt_settings(settings s, ...)
       if ((opt = locate_opt(ptr)) != NULL)
       {
         typedef void
-        fn(char *, char *, char *, int, char **, int, void *, int, void **);
+        fn(char *, char *, char *, int, char **, int, void **, int, void **);
 
         /* The third argument must be the callback function. */
         /* """"""""""""""""""""""""""""""""""""""""""""""""" */
@@ -4696,7 +4696,7 @@ ctxopt_add_opt_settings(settings s, ...)
     {
       char         *value;
       constraint_t *cstr;
-      int (*function)();
+      int (*function)(int, char **, char *, char *);
 
       /* The second argument must be a string. */
       /* """"""""""""""""""""""""""""""""""""" */
@@ -4704,7 +4704,7 @@ ctxopt_add_opt_settings(settings s, ...)
 
       if ((opt = locate_opt(ptr)) != NULL)
       {
-        typedef int fn(int, char **, char *);
+        typedef int fn(int, char **, char *, char *);
 
         /* The third argument must be a function. */
         /* """""""""""""""""""""""""""""""""""""" */
@@ -4964,13 +4964,13 @@ ctxopt_add_ctx_settings(settings s, ...)
     {
       void *ptr;
       void *data;
-      int (*function)();
+      int (*function)(char *, int, char *, int, void **);
       int nb_data = 0;
 
       ptr = va_arg(args, char *);
       if ((ctx = locate_ctx(ptr)) != NULL)
       {
-        typedef int fn(char *, direction, char *, int, void **);
+        typedef int fn(char *, int, char *, int, void **);
 
         function    = va_arg(args, fn *);
         ctx->action = function;
Only in smenu-1.4.0: ctxopt.o
Only in smenu-1.4.0: smenu

Reply via email to