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-05 18:19:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/usb_modeswitch (Old)
and /work/SRC/openSUSE:Factory/.usb_modeswitch.new.3759290 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "usb_modeswitch"
Thu Nov 5 18:19:19 2026 rev:50 rq:1394797 version:2.6.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/usb_modeswitch/usb_modeswitch.changes
2025-05-15 16:59:39.817890650 +0200
+++
/work/SRC/openSUSE:Factory/.usb_modeswitch.new.3759290/usb_modeswitch.changes
2026-11-05 18:19:26.461508396 +0100
@@ -1,0 +2,8 @@
+Fri Oct 23 17:39:21 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 2.6.2:
+ * Fixed C code bug breaking build with gcc 15
+- Drop usb_modeswitch-c23.patch: fixed upstream
+- Spec cleanup: drop obsolete Group tags
+
+-------------------------------------------------------------------
Old:
----
usb-modeswitch-2.6.1.tar.bz2
usb_modeswitch-c23.patch
New:
----
usb-modeswitch-2.6.2.tar.bz2
----------(Old B)----------
Old: * Fixed C code bug breaking build with gcc 15
- Drop usb_modeswitch-c23.patch: fixed upstream
- Spec cleanup: drop obsolete Group tags
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ usb_modeswitch.spec ++++++
--- /var/tmp/diff_new_pack.McgLm0/_old 2026-11-05 18:19:27.505551357 +0100
+++ /var/tmp/diff_new_pack.McgLm0/_new 2026-11-05 18:19:27.506551398 +0100
@@ -20,11 +20,10 @@
%define date 20191128
%define _udevdir %(pkg-config --variable=udevdir udev)
Name: usb_modeswitch
-Version: 2.6.1
+Version: 2.6.2
Release: 0
Summary: A mode switching tool for controlling multiple-device USB gear
License: GPL-2.0-or-later
-Group: Hardware/Mobile
URL: https://www.draisberghof.de/usb_modeswitch/
Source0:
https://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2
Source1:
https://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2
@@ -32,7 +31,6 @@
Source3:
https://www.draisberghof.de/usb_modeswitch/parameter_reference.txt
Patch1: usb_modeswitch-fix_fsf_address.patch
Patch2: [email protected]
-Patch3: usb_modeswitch-c23.patch
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libusb-1.0)
@@ -51,7 +49,6 @@
%package data
Summary: Data Files for USB Modeswitch
-Group: Hardware/Mobile
Requires: %{name} = %{version}
BuildArch: noarch
@@ -62,7 +59,6 @@
%setup -q -a1 -n %{source_name}-%{version}
%patch -P 1
%patch -P 2 -p1
-%patch -P 3 -p1
cp %{SOURCE2} .
cp %{SOURCE3} .
++++++ usb-modeswitch-2.6.1.tar.bz2 -> usb-modeswitch-2.6.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/usb-modeswitch-2.6.1/ChangeLog
new/usb-modeswitch-2.6.2/ChangeLog
--- old/usb-modeswitch-2.6.1/ChangeLog 2020-07-10 17:56:59.000000000 +0200
+++ new/usb-modeswitch-2.6.2/ChangeLog 2025-02-18 20:38:13.000000000 +0100
@@ -2,6 +2,8 @@
History of USB_ModeSwitch
=========================
+Version 2.6.2, 2025/02/19
+ Bug in C code (with gcc 1.5) fixed
Version 2.6.1, 2020/07/10
Wrapper now handles devices with non-continuous interface numbering:
www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=2915&p=19605
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/usb-modeswitch-2.6.1/usb_modeswitch.c
new/usb-modeswitch-2.6.2/usb_modeswitch.c
--- old/usb-modeswitch-2.6.1/usb_modeswitch.c 2020-07-10 17:48:03.000000000
+0200
+++ new/usb-modeswitch-2.6.2/usb_modeswitch.c 2025-02-18 20:41:24.000000000
+0100
@@ -1,8 +1,8 @@
/*
Mode switching tool for controlling mode of 'multi-state' USB devices
- Version 2.6.1, 2020/07/10
+ Version 2.6.2, 2025/02/19
- Copyright (C) 2007 - 2020 Josua Dietze (mail to "usb_admin" at the domain
+ Copyright (C) 2007 - 2025 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)
@@ -45,7 +45,7 @@
/* Recommended tab size: 4 */
-#define VERSION "2.6.1"
+#define VERSION "2.6.2"
#include <stdio.h>
#include <stdlib.h>
@@ -570,7 +570,7 @@
/* Get current configuration of default device, note value if
Configuration
* parameter is set. Also sets active_config
*/
- currentConfigVal = get_current_config_value(dev);
+ currentConfigVal = get_current_config_value();
if (Configuration > -1) {
SHOW_PROGRESS(output,"Current configuration number is %d\n",
currentConfigVal);
} else
@@ -772,7 +772,7 @@
if (Configuration > 0) {
if (currentConfigVal != Configuration) {
if (switchConfiguration()) {
- currentConfigVal =
get_current_config_value(dev);
+ currentConfigVal = get_current_config_value();
if (currentConfigVal == Configuration) {
SHOW_PROGRESS(output,"The configuration
was set successfully\n");
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/usb-modeswitch-2.6.1/usb_modeswitch.h
new/usb-modeswitch-2.6.2/usb_modeswitch.h
--- old/usb-modeswitch-2.6.1/usb_modeswitch.h 2020-07-10 17:48:12.000000000
+0200
+++ new/usb-modeswitch-2.6.2/usb_modeswitch.h 2025-02-18 20:41:44.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.1, 2020/07/10
- Copyright (C) 2007-2020 Josua Dietze
+ Version 2.6.2, 2025/02/19
+ Copyright (C) 2007-2025 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.1/usb_modeswitch.sh
new/usb-modeswitch-2.6.2/usb_modeswitch.sh
--- old/usb-modeswitch-2.6.1/usb_modeswitch.sh 2020-07-05 15:54:19.000000000
+0200
+++ new/usb-modeswitch-2.6.2/usb_modeswitch.sh 2025-02-18 20:42:45.000000000
+0100
@@ -1,5 +1,5 @@
#!/bin/sh
-# part of usb_modeswitch 2.6.1
+# part of usb_modeswitch 2.6.2
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.1/usb_modeswitch_dispatcher.tcl
new/usb-modeswitch-2.6.2/usb_modeswitch_dispatcher.tcl
--- old/usb-modeswitch-2.6.1/usb_modeswitch_dispatcher.tcl 2020-07-10
17:57:39.000000000 +0200
+++ new/usb-modeswitch-2.6.2/usb_modeswitch_dispatcher.tcl 2025-02-18
20:42:22.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.1 package, 2020/07/10
-# (C) Josua Dietze 2009 - 2020
+# Part of usb-modeswitch-2.6.2 package, 2025/02/19
+# (C) Josua Dietze 2009 - 2025
#
# 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