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 2025-02-21 21:37:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/w_scan (Old) and /work/SRC/openSUSE:Factory/.w_scan.new.1873 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "w_scan" Fri Feb 21 21:37:19 2025 rev:4 rq:1247572 version:20170107 Changes: -------- --- /work/SRC/openSUSE:Factory/w_scan/w_scan.changes 2020-06-12 21:43:18.676319374 +0200 +++ /work/SRC/openSUSE:Factory/.w_scan.new.1873/w_scan.changes 2025-02-21 21:37:42.323580522 +0100 @@ -1,0 +2,7 @@ +Thu Feb 20 10:33:30 UTC 2025 - [email protected] + +- added patches + fix build with gcc 15 + + w_scan-gcc15.patch + +------------------------------------------------------------------- New: ---- w_scan-gcc15.patch BETA DEBUG BEGIN: New: fix build with gcc 15 + w_scan-gcc15.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ w_scan.spec ++++++ --- /var/tmp/diff_new_pack.O58P3a/_old 2025-02-21 21:37:44.651677458 +0100 +++ /var/tmp/diff_new_pack.O58P3a/_new 2025-02-21 21:37:44.679678623 +0100 @@ -1,7 +1,7 @@ # # spec file for package w_scan # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: Hardware/TV URL: http://wirbel.htpc-forum.de/w_scan/index2.html Source0: http://wirbel.htpc-forum.de/w_scan/w_scan-%{version}.tar.bz2 +# build with gcc 15 +Patch0: w_scan-gcc15.patch BuildRequires: linux-kernel-headers %description @@ -34,7 +36,7 @@ heavily changed and has different features. %prep -%setup -q +%autosetup -p1 %build export CFLAGS="%{optflags} -fcommon" ++++++ w_scan-gcc15.patch ++++++ --- w_scan-20170107/emulate.c 2017-01-07 10:06:17.000000000 +0100 +++ w_scan-20170107/emulate.c 2025-02-20 11:21:47.931253180 +0100 @@ -199,7 +199,7 @@ int em_getproperty(struct dtv_propertie } -void em_lnb(int high_band, uint32_t high_val, uint32_t low_val) { +void em_lnb(bool high_band, uint32_t high_val, uint32_t low_val) { em_device.highband = high_band; em_device.lnb_low = low_val; em_device.lnb_high = high_val; --- w_scan-20170107/tools.h 2017-01-07 10:06:17.000000000 +0100 +++ w_scan-20170107/tools.h 2025-02-20 11:00:58.779112611 +0100 @@ -28,15 +28,11 @@ #include <stdint.h> #include <time.h> // link with -lrt +#include <stdbool.h> /******************************************************************************* /* common typedefs && logging. ******************************************************************************/ -#ifndef bool - typedef int bool; - #define false 0 - #define true !(false) -#endif #define min(a,b) (b<a?b:a) #define max(a,b) (b>a?b:a)
