Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package usb_modeswitch for openSUSE:Factory 
checked in at 2026-11-13 20:12:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/usb_modeswitch (Old)
 and      /work/SRC/openSUSE:Factory/.usb_modeswitch.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "usb_modeswitch"

Fri Nov 13 20:12:43 2026 rev:51 rq:1396939 version:2.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/usb_modeswitch/usb_modeswitch.changes    
2026-11-05 18:19:26.461508396 +0100
+++ /work/SRC/openSUSE:Factory/.usb_modeswitch.new.1251/usb_modeswitch.changes  
2026-11-13 20:13:15.506772547 +0100
@@ -1,0 +2,8 @@
+Wed Nov 11 18:11:22 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 2.6.3:
+  * Fixed linking error for static builds with jimtcl (static
+    dispatcher)
+- Build in parallel with %make_build
+
+-------------------------------------------------------------------

Old:
----
  usb-modeswitch-2.6.2.tar.bz2

New:
----
  usb-modeswitch-2.6.3.tar.bz2

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

Other differences:
------------------
++++++ usb_modeswitch.spec ++++++
--- /var/tmp/diff_new_pack.KxCTUt/_old  2026-11-13 20:13:16.311806624 +0100
+++ /var/tmp/diff_new_pack.KxCTUt/_new  2026-11-13 20:13:16.312806666 +0100
@@ -20,7 +20,7 @@
 %define date   20191128
 %define _udevdir %(pkg-config --variable=udevdir udev)
 Name:           usb_modeswitch
-Version:        2.6.2
+Version:        2.6.3
 Release:        0
 Summary:        A mode switching tool for controlling multiple-device USB gear
 License:        GPL-2.0-or-later
@@ -64,7 +64,7 @@
 cp %{SOURCE3} .
 
 %build
-CFLAGS="%{optflags}" make
+CFLAGS="%{optflags}" %make_build
 
 %install
 # The install target recreates usb_modeswitch_dispatcher, which is racy in 
respect to its

++++++ usb-modeswitch-2.6.2.tar.bz2 -> usb-modeswitch-2.6.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/ChangeLog 
new/usb-modeswitch-2.6.3/ChangeLog
--- old/usb-modeswitch-2.6.2/ChangeLog  2025-02-18 20:38:13.000000000 +0100
+++ new/usb-modeswitch-2.6.3/ChangeLog  2026-11-09 21:15:14.000000000 +0100
@@ -2,6 +2,9 @@
 History of USB_ModeSwitch
 =========================
 
+Version 2.6.3, 2026/11/11
+    Fixed linking error for static builds with jimtcl (static dispatcher);
+    thanks to Yegor Yefremov for the report and the patch
 Version 2.6.2, 2025/02/19
     Bug in C code (with gcc 1.5) fixed
 Version 2.6.1, 2020/07/10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/Makefile 
new/usb-modeswitch-2.6.3/Makefile
--- old/usb-modeswitch-2.6.2/Makefile   2020-07-05 15:53:24.000000000 +0200
+++ new/usb-modeswitch-2.6.3/Makefile   2026-11-09 19:49:18.000000000 +0100
@@ -1,8 +1,9 @@
 PROG        = usb_modeswitch
-VERS        = 2.6.1
+VERS        = 2.6.3
 CC          ?= gcc
 CFLAGS      += -Wall -Wno-deprecated-declarations
 LIBS        = `pkg-config --libs --cflags libusb-1.0`
+JIMLIBS     = `pkg-config --static --libs jimtcl 2>/dev/null`
 RM          = /bin/rm -f
 OBJS        = usb_modeswitch.c
 PREFIX      = $(DESTDIR)/usr
@@ -38,7 +39,7 @@
 
 dispatcher-statlink: dispatcher.c dispatcher.h
        DISPATCH=dispatcher-statlink
-       $(CC) dispatcher.c $(LDFLAGS) -l:libjim.a -ldl -Ijim -o 
usb_modeswitch_dispatcher $(CFLAGS)
+       $(CC) dispatcher.c $(LDFLAGS) -l:libjim.a $(JIMLIBS) -ldl -Ijim -o 
usb_modeswitch_dispatcher $(CFLAGS)
 
 dispatcher.h: usb_modeswitch_dispatcher.tcl
        ./make_string.sh usb_modeswitch_dispatcher.tcl > $@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/dispatcher.c 
new/usb-modeswitch-2.6.3/dispatcher.c
--- old/usb-modeswitch-2.6.2/dispatcher.c       2020-05-26 21:07:10.000000000 
+0200
+++ new/usb-modeswitch-2.6.3/dispatcher.c       2026-11-09 21:15:44.000000000 
+0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2020 Josua Dietze, usb_modeswitch version 2.6.1
+ * Copyright (c) 2011-2026 Josua Dietze, usb_modeswitch version 2.6.3
  * Contains code under
  * Copyright (c) 2010 Wojciech A. Koszek <[email protected]>
  * All rights reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/make_string.sh 
new/usb-modeswitch-2.6.3/make_string.sh
--- old/usb-modeswitch-2.6.2/make_string.sh     2020-07-09 17:36:30.000000000 
+0200
+++ new/usb-modeswitch-2.6.3/make_string.sh     2026-11-09 21:15:54.000000000 
+0100
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# (c) Josua Dietze 2019-2020
+# (c) Josua Dietze 2019-2026
 #
 # Usage: make_string.sh source.tcl > [condensed tcl]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/usb_modeswitch.c 
new/usb-modeswitch-2.6.3/usb_modeswitch.c
--- old/usb-modeswitch-2.6.2/usb_modeswitch.c   2025-02-18 20:41:24.000000000 
+0100
+++ new/usb-modeswitch-2.6.3/usb_modeswitch.c   2026-11-09 21:16:37.000000000 
+0100
@@ -1,8 +1,8 @@
 /*
   Mode switching tool for controlling mode of 'multi-state' USB devices
-  Version 2.6.2, 2025/02/19
+  Version 2.6.3, 2026/11/11
 
-  Copyright (C) 2007 - 2025 Josua Dietze (mail to "usb" at the domain
+  Copyright (C) 2007 - 2026 Josua Dietze (mail to "usb" at the domain
   of the home page; or write a personal message through the forum to "Josh".
   NO SUPPORT VIA E-MAIL - please use the forum for that)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/usb_modeswitch.h 
new/usb-modeswitch-2.6.3/usb_modeswitch.h
--- old/usb-modeswitch-2.6.2/usb_modeswitch.h   2025-02-18 20:41:44.000000000 
+0100
+++ new/usb-modeswitch-2.6.3/usb_modeswitch.h   2026-11-09 21:17:19.000000000 
+0100
@@ -2,8 +2,8 @@
   This file is part of usb_modeswitch, a mode switching tool for controlling
   the mode of 'multi-state' USB devices
 
-  Version 2.6.2, 2025/02/19
-  Copyright (C) 2007-2025  Josua Dietze
+  Version 2.6.3, 2026/11/11
+  Copyright (C) 2007-2026  Josua Dietze
 
   Config file parsing stuff borrowed from Guillaume Dargaud
   (http://www.gdargaud.net/Hack/SourceCode.html)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/usb_modeswitch.sh 
new/usb-modeswitch-2.6.3/usb_modeswitch.sh
--- old/usb-modeswitch-2.6.2/usb_modeswitch.sh  2025-02-18 20:42:45.000000000 
+0100
+++ new/usb-modeswitch-2.6.3/usb_modeswitch.sh  2026-11-09 21:17:26.000000000 
+0100
@@ -1,5 +1,5 @@
 #!/bin/sh
-# part of usb_modeswitch 2.6.2
+# part of usb_modeswitch 2.6.3
 device_in()
 {
        if [ ! -e /var/lib/usb_modeswitch/$1 ]; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/usb-modeswitch-2.6.2/usb_modeswitch_dispatcher.tcl 
new/usb-modeswitch-2.6.3/usb_modeswitch_dispatcher.tcl
--- old/usb-modeswitch-2.6.2/usb_modeswitch_dispatcher.tcl      2025-02-18 
20:42:22.000000000 +0100
+++ new/usb-modeswitch-2.6.3/usb_modeswitch_dispatcher.tcl      2026-11-09 
21:17:59.000000000 +0100
@@ -9,8 +9,8 @@
 # the mode switching program with the matching parameter
 # file from /usr/share/usb_modeswitch
 #
-# Part of usb-modeswitch-2.6.2 package, 2025/02/19
-# (C) Josua Dietze 2009 - 2025
+# Part of usb-modeswitch-2.6.3 package, 2026/11/11
+# (C) Josua Dietze 2009 - 2026
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

Reply via email to