Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sispmctl for openSUSE:Factory checked in at 2021-04-12 12:37:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sispmctl (Old) and /work/SRC/openSUSE:Factory/.sispmctl.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sispmctl" Mon Apr 12 12:37:26 2021 rev:8 rq:884501 version:4.9 Changes: -------- --- /work/SRC/openSUSE:Factory/sispmctl/sispmctl.changes 2020-09-14 12:33:17.505288560 +0200 +++ /work/SRC/openSUSE:Factory/.sispmctl.new.2401/sispmctl.changes 2021-04-12 12:40:20.225576605 +0200 @@ -1,0 +2,7 @@ +Sat Apr 10 07:59:15 UTC 2021 - Martin Hauke <[email protected]> + +- Update to 4.9 + * Correct display of serial number. + * Fix build error with GCC 4.8. + +------------------------------------------------------------------- Old: ---- sispmctl-4.8.tar.gz New: ---- sispmctl-4.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sispmctl.spec ++++++ --- /var/tmp/diff_new_pack.6NuAa5/_old 2021-04-12 12:40:20.721577182 +0200 +++ /var/tmp/diff_new_pack.6NuAa5/_new 2021-04-12 12:40:20.725577186 +0200 @@ -1,7 +1,7 @@ # # spec file for package sispmctl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define libname libsispmctl0 Name: sispmctl -Version: 4.8 +Version: 4.9 Release: 0 Summary: SIS-PM Control for Linux License: GPL-2.0-only ++++++ sispmctl-4.8.tar.gz -> sispmctl-4.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sispmctl-4.8/ChangeLog new/sispmctl-4.9/ChangeLog --- old/sispmctl-4.8/ChangeLog 2020-09-12 05:32:52.000000000 +0200 +++ new/sispmctl-4.9/ChangeLog 2021-04-09 23:31:49.000000000 +0200 @@ -1,3 +1,6 @@ +09 Apr 2021 - 4.9 + Correct display of serial number. + Fix build error with GCC 4.8. 12 Aug 2020 - 4.8 Sleep two seconds upon wrong webserver password. Improve parameter checks. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sispmctl-4.8/configure new/sispmctl-4.9/configure --- old/sispmctl-4.8/configure 2020-09-12 05:36:55.000000000 +0200 +++ new/sispmctl-4.9/configure 2021-04-09 23:33:35.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sispmctl 4.8. +# Generated by GNU Autoconf 2.69 for sispmctl 4.9. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='sispmctl' PACKAGE_TARNAME='sispmctl' -PACKAGE_VERSION='4.8' -PACKAGE_STRING='sispmctl 4.8' +PACKAGE_VERSION='4.9' +PACKAGE_STRING='sispmctl 4.9' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1345,7 +1345,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sispmctl 4.8 to adapt to many kinds of systems. +\`configure' configures sispmctl 4.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1417,7 +1417,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sispmctl 4.8:";; + short | recursive ) echo "Configuration of sispmctl 4.9:";; esac cat <<\_ACEOF @@ -1539,7 +1539,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sispmctl configure 4.8 +sispmctl configure 4.9 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2008,7 +2008,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by sispmctl $as_me 4.8, which was +It was created by sispmctl $as_me 4.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2981,7 +2981,7 @@ # Define the identity of the package. PACKAGE='sispmctl' - VERSION='4.8' + VERSION='4.9' cat >>confdefs.h <<_ACEOF @@ -14308,7 +14308,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by sispmctl $as_me 4.8, which was +This file was extended by sispmctl $as_me 4.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14374,7 +14374,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -sispmctl config.status 4.8 +sispmctl config.status 4.9 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sispmctl-4.8/configure.ac new/sispmctl-4.9/configure.ac --- old/sispmctl-4.8/configure.ac 2020-09-12 05:32:52.000000000 +0200 +++ new/sispmctl-4.9/configure.ac 2021-04-09 23:31:49.000000000 +0200 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT([sispmctl], [4.8], [[email protected]]) +AC_INIT([sispmctl], [4.9], [[email protected]]) AC_CONFIG_AUX_DIR(admin) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sispmctl-4.8/src/Makefile.am new/sispmctl-4.9/src/Makefile.am --- old/sispmctl-4.8/src/Makefile.am 2020-09-12 05:32:49.000000000 +0200 +++ new/sispmctl-4.9/src/Makefile.am 2021-04-09 23:32:00.000000000 +0200 @@ -1,5 +1,5 @@ libsispmctl_la_LDFLAGS = \ - -version-info 2:0:2 + -version-info 2:1:2 bin_PROGRAMS = sispmctl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sispmctl-4.8/src/Makefile.in new/sispmctl-4.9/src/Makefile.in --- old/sispmctl-4.8/src/Makefile.in 2020-09-12 05:36:52.000000000 +0200 +++ new/sispmctl-4.9/src/Makefile.in 2021-04-09 23:33:33.000000000 +0200 @@ -347,7 +347,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ libsispmctl_la_LDFLAGS = \ - -version-info 2:0:2 + -version-info 2:1:2 lib_LTLIBRARIES = libsispmctl.la sispmctl_LDADD = libsispmctl.la diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sispmctl-4.8/src/schedule.c new/sispmctl-4.9/src/schedule.c --- old/sispmctl-4.8/src/schedule.c 2020-09-12 05:32:49.000000000 +0200 +++ new/sispmctl-4.9/src/schedule.c 2021-04-09 23:31:49.000000000 +0200 @@ -15,8 +15,10 @@ static unsigned char *pms2_write_block(uint8_t action, uint32_t time, unsigned char *ptr) { + int i; + *ptr++ = action; - for (int i = 0; i < 4; ++i) { + for (i = 0; i < 4; ++i) { *ptr++ = (uint8_t)time; time >>= 8; } @@ -34,9 +36,11 @@ static const unsigned char *pms2_read_block(uint8_t *action, uint32_t *time, const unsigned char *ptr) { + int i; + *action = *ptr++; *time = 0; - for (int i = 0; i < 4; ++i) { + for (i = 0; i < 4; ++i) { *time >>= 8; *time += (uint32_t)*ptr++ << 24; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sispmctl-4.8/src/sispm_ctl.c new/sispmctl-4.9/src/sispm_ctl.c --- old/sispmctl-4.8/src/sispm_ctl.c 2020-09-12 05:32:49.000000000 +0200 +++ new/sispmctl-4.9/src/sispm_ctl.c 2021-04-09 23:31:49.000000000 +0200 @@ -63,14 +63,14 @@ { int reqtype=0xa1; //USB_DIR_OUT + USB_TYPE_CLASS + USB_RECIP_INTERFACE /* request type */, int req=0x01; - char buffer[6] = {0, 0, 0, 0, 0, 0}; + unsigned char buffer[6] = {0, 0, 0, 0, 0, 0}; if (usb_control_msg_tries(udev, /* handle */ reqtype, req, (0x03 << 8) | 1, 0, /* index */ - buffer, /* bytes */ + (char *)buffer, /* bytes */ 5, /* size */ 5000) < 2 ) { fprintf(stderr, "Error performing requested action\n"
