Script 'mail_helper' called by obssrc
Hello community,

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

Package is "smplayer"

Sat Apr  4 19:08:04 2026 rev:53 rq:1344575 version:25.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/smplayer/smplayer.changes        2025-07-27 
16:28:30.683305094 +0200
+++ /work/SRC/openSUSE:Factory/.smplayer.new.21863/smplayer.changes     
2026-04-04 19:09:59.571460668 +0200
@@ -1,0 +2,6 @@
+Thu Apr  2 10:59:55 UTC 2026 - Dmitriy Perlow <[email protected]>
+
+- Added smplayer-25.6.0-gcc16.diff vs. bnc#1256986 from
+  https://github.com/smplayer-dev/smplayer/issues/1318
+
+-------------------------------------------------------------------

New:
----
  smplayer-25.6.0-gcc16.diff

----------(New B)----------
  New:
- Added smplayer-25.6.0-gcc16.diff vs. bnc#1256986 from
  https://github.com/smplayer-dev/smplayer/issues/1318
----------(New E)----------

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

Other differences:
------------------
++++++ smplayer.spec ++++++
--- /var/tmp/diff_new_pack.fSiG6f/_old  2026-04-04 19:10:00.707507247 +0200
+++ /var/tmp/diff_new_pack.fSiG6f/_new  2026-04-04 19:10:00.707507247 +0200
@@ -29,6 +29,9 @@
 Patch1:         smplayer-defaults.patch
 # PATCH-FIX-UPSTREAM smplayer-add_kde_protocols_to_desktop_file.patch -- To 
play network shared video correctly: #PM-48.
 Patch2:         smplayer-add_kde_protocols_to_desktop_file.patch
+# PATCH-FIX-UPSTREAM to fix build via gcc16 from 
https://github.com/smplayer-dev/smplayer/issues/1318#issuecomment-3920141365
+Patch3:         smplayer-25.6.0-gcc16.diff
+
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++

++++++ smplayer-25.6.0-gcc16.diff ++++++
diff -upr smplayer-25.6.0.orig/webserver/mongoose.c 
smplayer-25.6.0/webserver/mongoose.c
--- smplayer-25.6.0.orig/webserver/mongoose.c   2026-02-18 10:39:07.926076884 
+0000
+++ smplayer-25.6.0/webserver/mongoose.c        2026-02-18 10:44:07.148857949 
+0000
@@ -3762,7 +3762,7 @@ time_t mg_socket_if_poll(struct mg_iface
   struct timeval tv;
   fd_set read_set, write_set, err_set;
   sock_t max_fd = INVALID_SOCKET;
-  int num_fds, num_ev, num_timers = 0;
+  int num_ev, num_timers = 0;
 #ifdef __unix__
   int try_dup = 1;
 #endif
@@ -3779,12 +3779,10 @@ time_t mg_socket_if_poll(struct mg_iface
    * e.g. timer-only "connections".
    */
   min_timer = 0;
-  for (nc = mgr->active_connections, num_fds = 0; nc != NULL; nc = tmp) {
+  for (nc = mgr->active_connections; nc != NULL; nc = tmp) {
     tmp = nc->next;

     if (nc->sock != INVALID_SOCKET) {
-      num_fds++;
-
 #ifdef __unix__
       /* A hack to make sure all our file descriptos fit into FD_SETSIZE. */
       if (nc->sock >= (sock_t) FD_SETSIZE && try_dup) {
@@ -3843,10 +3841,6 @@ time_t mg_socket_if_poll(struct mg_iface

   num_ev = select((int) max_fd + 1, &read_set, &write_set, &err_set, &tv);
   now = mg_time();
-#if 0
-  DBG(("select @ %ld num_ev=%d of %d, timeout=%d", (long) now, num_ev, num_fds,
-       timeout_ms));
-#endif

 #if MG_ENABLE_BROADCAST
   if (num_ev > 0 && mgr->ctl[1] != INVALID_SOCKET &&

Reply via email to