Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package w_scan for openSUSE:Factory checked in at 2026-06-17 16:22:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/w_scan (Old) and /work/SRC/openSUSE:Factory/.w_scan.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "w_scan" Wed Jun 17 16:22:34 2026 rev:6 rq:1359883 version:20210218 Changes: -------- --- /work/SRC/openSUSE:Factory/w_scan/w_scan.changes 2026-06-02 16:02:58.423581753 +0200 +++ /work/SRC/openSUSE:Factory/.w_scan.new.1981/w_scan.changes 2026-06-17 16:23:19.351620796 +0200 @@ -1,0 +2,11 @@ +Wed Jun 17 05:40:37 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 20210218 (upstream's final release): + * Repackage of 20170107 with gcc-10 compile fixes only; no + functional source changes + * Upstream notes no newer versions are expected (development + continues separately as w_scan_cpp) +- Fetch the tarball from the Debian source mirror, as the + original upstream site is no longer available + +------------------------------------------------------------------- Old: ---- w_scan-20170107.tar.bz2 New: ---- w_scan-20210218.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ w_scan.spec ++++++ --- /var/tmp/diff_new_pack.M17Omf/_old 2026-06-17 16:23:20.131653424 +0200 +++ /var/tmp/diff_new_pack.M17Omf/_new 2026-06-17 16:23:20.135653592 +0200 @@ -17,12 +17,14 @@ Name: w_scan -Version: 20170107 +Version: 20210218 Release: 0 Summary: Tool for scanning DVB transponders License: GPL-2.0-only URL: http://wirbel.htpc-forum.de/w_scan/index2.html -Source0: http://wirbel.htpc-forum.de/w_scan/w_scan-%{version}.tar.bz2 +# The original upstream site is gone; the final 20210218 release is +# mirrored as the pristine orig tarball in Debian. +Source0: https://deb.debian.org/debian/pool/main/w/w-scan/w-scan_%{version}.orig.tar.bz2#/%{name}-%{version}.tar.bz2 # build with gcc 15 Patch0: w_scan-gcc15.patch BuildRequires: gcc ++++++ w_scan-20170107.tar.bz2 -> w_scan-20210218.tar.bz2 ++++++ ++++ 12691 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/ChangeLog new/w_scan-20210218/ChangeLog --- old/w_scan-20170107/ChangeLog 2017-01-07 10:06:17.000000000 +0100 +++ new/w_scan-20210218/ChangeLog 2021-02-18 17:23:47.000000000 +0100 @@ -1,5 +1,14 @@ ChangeLog: -------------------- +2021-02-18 + - repackage w_scan-20170107 + - no source code advantage above 20170107 + - just compile fixes introduced by gcc-10 (!) - no beeing able to + compile old code anymore. + - distribute as 20210218. + - Don't expect any newer versions, pls switch to new w_scan_cpp ! + +-------------------- 2015-01-01 - check data for descriptor 0x83 to be multiple of 4bytes; On S4E8 0x83 seems to be used for something different as LCN and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/Makefile.add new/w_scan-20210218/Makefile.add --- old/w_scan-20170107/Makefile.add 2017-01-07 10:06:17.000000000 +0100 +++ new/w_scan-20210218/Makefile.add 2021-02-18 17:11:26.000000000 +0100 @@ -1,14 +1,14 @@ __VERSION=$(shell date +%Y%m%d) -__OLDVER=$(shell cat configure.in | grep AC_INIT | sed -e "s|\[|\\\[|g" -e "s|\]|\\\]|g") +__OLDVER=$(shell cat configure.ac | grep AC_INIT | sed -e "s|\[|\\\[|g" -e "s|\]|\\\]|g") version: @echo "/* AUTOMATICALLY GENERATED - DO NOT EDIT MANUALLY */" > version.h @echo "#ifndef W_SCAN_VERSION_H" >> version.h @echo "#define W_SCAN_VERSION_H" >> version.h - @echo "uint version=$(__VERSION);" >> version.h + @echo "unsigned version=$(__VERSION);" >> version.h @echo "#endif" >> version.h @echo "" >> version.h @chmod a-x version.h - @sed -i -e "s|$(__OLDVER)|AC_INIT(\[$(PACKAGE)\]\, \[$(__VERSION)\])|" configure.in + @sed -i -e "s|$(__OLDVER)|AC_INIT(\[$(PACKAGE)\]\, \[$(__VERSION)\])|" configure.ac autoconf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/Makefile.am new/w_scan-20210218/Makefile.am --- old/w_scan-20170107/Makefile.am 2017-01-07 10:06:17.000000000 +0100 +++ new/w_scan-20210218/Makefile.am 2021-02-18 16:26:54.000000000 +0100 @@ -25,4 +25,4 @@ EXTRA_DIST = doc AM_LDFLAGS = -lrt -AM_CFLAGS = -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter +AM_CFLAGS = -Wno-comment -Wswitch-default -Wno-unused-parameter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/compile new/w_scan-20210218/compile --- old/w_scan-20170107/compile 1970-01-01 01:00:00.000000000 +0100 +++ new/w_scan-20210218/compile 2021-02-04 12:35:39.000000000 +0100 @@ -0,0 +1,348 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Written by Tom Tromey <[email protected]>. +# +# 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 +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <[email protected]> or send patches to +# <[email protected]>. + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN* | MSYS*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/* | msys/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to <[email protected]>. +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/config.h new/w_scan-20210218/config.h --- old/w_scan-20170107/config.h 2017-01-07 20:33:46.000000000 +0100 +++ new/w_scan-20210218/config.h 2021-02-18 17:08:51.000000000 +0100 @@ -1,5 +1,5 @@ /* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ +/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -11,15 +11,18 @@ to 0 otherwise. */ #define HAVE_MALLOC 1 -/* Define to 1 if you have the <memory.h> header file. */ -#define HAVE_MEMORY_H 1 - /* Define to 1 if you have the `memset' function. */ #define HAVE_MEMSET 1 +/* Define to 1 if you have the <minix/config.h> header file. */ +/* #undef HAVE_MINIX_CONFIG_H */ + /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 +/* Define to 1 if you have the <stdio.h> header file. */ +#define HAVE_STDIO_H 1 + /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 @@ -50,6 +53,9 @@ /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 +/* Define to 1 if you have the <wchar.h> header file. */ +#define HAVE_WCHAR_H 1 + /* Name of package */ #define PACKAGE "w_scan" @@ -60,7 +66,7 @@ #define PACKAGE_NAME "w_scan" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "w_scan 20170107" +#define PACKAGE_STRING "w_scan 20210218" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "w_scan" @@ -69,45 +75,103 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "20170107" +#define PACKAGE_VERSION "20210218" -/* Define to 1 if you have the ANSI C header files. */ +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ #define STDC_HEADERS 1 /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# define _DARWIN_C_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif -/* Enable threading extensions on Solaris. */ +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# define _HPUX_ALT_XOPEN_SOCKET_API 1 +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +/* # undef _MINIX */ +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# define _NETBSD_SOURCE 1 +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# define _OPENBSD_SOURCE 1 +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +/* # undef _POSIX_SOURCE */ +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +/* # undef _POSIX_1_SOURCE */ +#endif +/* Enable POSIX-compatible threading on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 +#endif +/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# define __STDC_WANT_LIB_EXT2__ 1 +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 +#endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +/* # undef _XOPEN_SOURCE */ #endif /* Version number of package */ -#define VERSION "20170107" - -/* Define to 1 if on MINIX. */ -/* #undef _MINIX */ - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -/* #undef _POSIX_1_SOURCE */ - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -/* #undef _POSIX_SOURCE */ +#define VERSION "20210218" /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/config.h.in new/w_scan-20210218/config.h.in --- old/w_scan-20170107/config.h.in 2017-01-07 20:33:46.000000000 +0100 +++ new/w_scan-20210218/config.h.in 2021-02-18 17:13:14.000000000 +0100 @@ -1,4 +1,4 @@ -/* config.h.in. Generated from configure.in by autoheader. */ +/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the <fcntl.h> header file. */ #undef HAVE_FCNTL_H @@ -10,15 +10,18 @@ to 0 otherwise. */ #undef HAVE_MALLOC -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET +/* Define to 1 if you have the <minix/config.h> header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H +/* Define to 1 if you have the <stdio.h> header file. */ +#undef HAVE_STDIO_H + /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H @@ -49,6 +52,9 @@ /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the <wchar.h> header file. */ +#undef HAVE_WCHAR_H + /* Name of package */ #undef PACKAGE @@ -70,44 +76,102 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* Define to 1 if you have the ANSI C header files. */ +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ #undef STDC_HEADERS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif -/* Enable threading extensions on Solaris. */ +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE #endif /* Version number of package */ #undef VERSION -/* Define to 1 if on MINIX. */ -#undef _MINIX - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -#undef _POSIX_1_SOURCE - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -#undef _POSIX_SOURCE - /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the #define below would cause a syntax error. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/configure.ac new/w_scan-20210218/configure.ac --- old/w_scan-20170107/configure.ac 1970-01-01 01:00:00.000000000 +0100 +++ new/w_scan-20210218/configure.ac 2021-02-18 17:12:41.000000000 +0100 @@ -0,0 +1,104 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ([2.71]) +AC_INIT([w_scan], [20210218]) +AC_CONFIG_SRCDIR([scan.c]) +AC_CONFIG_HEADERS([config.h]) +AM_INIT_AUTOMAKE + +# Checks for programs. +AC_PROG_CC +AC_PROG_AWK +AC_PROG_INSTALL +AC_PROG_CPP + +# define _GNU_SOURCE +AC_USE_SYSTEM_EXTENSIONS + + +# Checks for libraries. + +# Checks for header files. +AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h strings.h sys/ioctl.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_INLINE +AC_TYPE_UINT16_T +AC_TYPE_UINT32_T +AC_TYPE_UINT8_T + +# Checks for library functions. +AC_FUNC_ERROR_AT_LINE +AC_FUNC_MALLOC +AC_CHECK_FUNCS([memset strcasecmp strdup strtoul]) + + +dnl add the external library to the list of libraries which will be used for our test program +# LIBS="-llibtotest $LIBS" + +dnl check for the presence of 'dvb/frontend.h' +AC_MSG_CHECKING([for linux/dvb/frontend.h presence]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([#include <linux/dvb/frontend.h>], + [fe_caps_t fakeinstance;]) + ], + [DVB_HEADER=1], [DVB_HEADER=0]) + + if test "$DVB_HEADER" = "1"; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + echo "*******************************************************" + echo "*** ERROR: $PACKAGE requires linux DVB headers," + echo "*** (usually /usr/include/linux/dvb)." + echo "*** EXITING!" + echo "*******************************************************" + exit 1 + fi + + +dnl check for symbol 'dvb/frontend.h' +AC_MSG_CHECKING([for linux/dvb/frontend.h usability (FE_CAN_2G_MODULATION)]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([#include <linux/dvb/frontend.h>], + [fe_caps_t fakeinstance = FE_CAN_2G_MODULATION;]) + ], + [HAS_DVB_API5=1], [HAS_DVB_API5=0]) + + if test "$HAS_DVB_API5" = "1"; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + echo "*******************************************************" + echo "*** ERROR: $PACKAGE requires latest linux dvb headers." + echo "*** missing symbol 'FE_CAN_2G_MODULATION' in <linux/dvb/frontend.h>" + echo "*** Please update your linux dvb headers," + echo "*** (usually /usr/include/linux/dvb)." + echo "*** EXITING!" + echo "*******************************************************" + exit 1 + fi + +dnl check for the version of 'dvb/frontend.h' +AC_MSG_CHECKING([for linux/dvb/frontend.h usability (DVB-T2, DVB API >= v5.3)]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([#include <linux/dvb/frontend.h>], + [fe_delivery_system_t fakeinstance = SYS_DVBT2;]) + ], + [HAS_DVB_API5=1], [HAS_DVB_API5=0]) + + if test "$HAS_DVB_API5" = "1"; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + echo "*******************************************************" + echo "*** ERROR: $PACKAGE requires linux DVB API v5.3 or higher." + echo "*** Please update your linux dvb headers," + echo "*** (usually /usr/include/linux/dvb)." + echo "*** EXITING!" + echo "*******************************************************" + exit 1 + fi +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/configure.in new/w_scan-20210218/configure.in --- old/w_scan-20170107/configure.in 2017-01-07 20:33:36.000000000 +0100 +++ new/w_scan-20210218/configure.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,104 +0,0 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. - -AC_PREREQ([2.63]) -AC_INIT([w_scan], [20170107]) -AC_CONFIG_SRCDIR([scan.c]) -AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE - -# Checks for programs. -AC_PROG_CC -AC_PROG_AWK -AC_PROG_INSTALL -AC_PROG_CPP - -# define _GNU_SOURCE -AC_GNU_SOURCE - - -# Checks for libraries. - -# Checks for header files. -AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h strings.h sys/ioctl.h unistd.h]) - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_INLINE -AC_TYPE_UINT16_T -AC_TYPE_UINT32_T -AC_TYPE_UINT8_T - -# Checks for library functions. -AC_FUNC_ERROR_AT_LINE -AC_FUNC_MALLOC -AC_CHECK_FUNCS([memset strcasecmp strdup strtoul]) - - -dnl add the external library to the list of libraries which will be used for our test program -# LIBS="-llibtotest $LIBS" - -dnl check for the presence of 'dvb/frontend.h' -AC_MSG_CHECKING([for linux/dvb/frontend.h presence]) - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([#include <linux/dvb/frontend.h>], - [fe_caps_t fakeinstance;]) - ], - [DVB_HEADER=1], [DVB_HEADER=0]) - - if test "$DVB_HEADER" = "1"; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - echo "*******************************************************" - echo "*** ERROR: $PACKAGE requires linux DVB headers," - echo "*** (usually /usr/include/linux/dvb)." - echo "*** EXITING!" - echo "*******************************************************" - exit 1 - fi - - -dnl check for symbol 'dvb/frontend.h' -AC_MSG_CHECKING([for linux/dvb/frontend.h usability (FE_CAN_2G_MODULATION)]) - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([#include <linux/dvb/frontend.h>], - [fe_caps_t fakeinstance = FE_CAN_2G_MODULATION;]) - ], - [HAS_DVB_API5=1], [HAS_DVB_API5=0]) - - if test "$HAS_DVB_API5" = "1"; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - echo "*******************************************************" - echo "*** ERROR: $PACKAGE requires latest linux dvb headers." - echo "*** missing symbol 'FE_CAN_2G_MODULATION' in <linux/dvb/frontend.h>" - echo "*** Please update your linux dvb headers," - echo "*** (usually /usr/include/linux/dvb)." - echo "*** EXITING!" - echo "*******************************************************" - exit 1 - fi - -dnl check for the version of 'dvb/frontend.h' -AC_MSG_CHECKING([for linux/dvb/frontend.h usability (DVB-T2, DVB API >= v5.3)]) - AC_LINK_IFELSE([ - AC_LANG_PROGRAM([#include <linux/dvb/frontend.h>], - [fe_delivery_system_t fakeinstance = SYS_DVBT2;]) - ], - [HAS_DVB_API5=1], [HAS_DVB_API5=0]) - - if test "$HAS_DVB_API5" = "1"; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - echo "*******************************************************" - echo "*** ERROR: $PACKAGE requires linux DVB API v5.3 or higher." - echo "*** Please update your linux dvb headers," - echo "*** (usually /usr/include/linux/dvb)." - echo "*** EXITING!" - echo "*******************************************************" - exit 1 - fi -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/si_types.h new/w_scan-20210218/si_types.h --- old/w_scan-20170107/si_types.h 2017-01-07 10:06:17.000000000 +0100 +++ new/w_scan-20210218/si_types.h 2021-02-18 16:46:24.000000000 +0100 @@ -39,6 +39,8 @@ #define SECTION_FLAG_FREE (1U) << 2 #define SECTION_BUF_SIZE 4096 +typedef struct section_buf section_buf_t; + typedef struct section_buf { /*----------------------------*/ void * prev; @@ -60,9 +62,9 @@ time_t timeout; time_t start_time; time_t running_time; - struct section_buf * next_seg; // this is used to handle segmented tables (like NIT-other) + section_buf_t * next_seg; // this is used to handle segmented tables (like NIT-other) pList garbage; -} section_t, * p_section_t; +} section_buf_t; /******************************************************************************* /* service type. @@ -114,7 +116,7 @@ uint32_t logical_channel_number; uint8_t running; void * priv; -} service_t, * p_service_t; +}; /******************************************************************************* /* transponder type. @@ -201,7 +203,7 @@ /*----------------------------*/ char * network_name; network_change_t network_change; -} __attribute__((packed)) transponder_t, * p_transponder_t; +}; /******************************************************************************* /* satellite channel routing type. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/w_scan-20170107/version.h new/w_scan-20210218/version.h --- old/w_scan-20170107/version.h 2017-01-07 20:33:36.000000000 +0100 +++ new/w_scan-20210218/version.h 2021-02-18 17:12:41.000000000 +0100 @@ -1,6 +1,6 @@ /* AUTOMATICALLY GENERATED - DO NOT EDIT MANUALLY */ #ifndef W_SCAN_VERSION_H #define W_SCAN_VERSION_H -uint version=20170107; +unsigned version=20210218; #endif
