Hello community, here is the log from the commit of package xawtv for openSUSE:Factory checked in at 2019-04-11 12:17:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xawtv (Old) and /work/SRC/openSUSE:Factory/.xawtv.new.27019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xawtv" Thu Apr 11 12:17:13 2019 rev:6 rq:692961 version:3.103 Changes: -------- --- /work/SRC/openSUSE:Factory/xawtv/xawtv.changes 2014-12-29 00:30:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xawtv.new.27019/xawtv.changes 2019-04-11 12:17:17.004934914 +0200 @@ -1,0 +2,6 @@ +Tue Apr 9 20:42:40 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Add fix-build-with-recent-glibc.patch +- Run spec-cleaner + +------------------------------------------------------------------- New: ---- fix-build-with-recent-glibc.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xawtv.spec ++++++ --- /var/tmp/diff_new_pack.B0uVRh/_old 2019-04-11 12:17:17.852935342 +0200 +++ /var/tmp/diff_new_pack.B0uVRh/_new 2019-04-11 12:17:17.856935344 +0200 @@ -1,7 +1,7 @@ # # spec file for package xawtv # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,9 +20,9 @@ Version: 3.103 Release: 0 Summary: Video4Linux TV application (Athena) -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/TV -Url: http://www.kraxel.org/blog/linux/xawtv/ +URL: http://www.kraxel.org/blog/linux/xawtv/ Source0: http://linuxtv.org/downloads/xawtv/%{name}-%{version}.tar.bz2 Source1: xawtv.desktop Source2: motv.desktop @@ -30,13 +30,10 @@ Patch0: v4l-conf_non-position-independent-executable_fix.patch # PATCH-SENT-UPSTREAM to hdegoede Patch1: xawtv-fixblitframesegfault.patch +# PATCH-FIX-UPSTREAM +Patch2: fix-build-with-recent-glibc.patch BuildRequires: aalib-devel BuildRequires: alsa-devel -%if 0%{?suse_version} > 1210 -BuildRequires: desktop-file-utils -%else -BuildRequires: update-desktop-files -%endif BuildRequires: gcc-c++ BuildRequires: libdv-devel BuildRequires: libjpeg-devel @@ -46,6 +43,7 @@ BuildRequires: lirc-devel BuildRequires: ncurses-devel BuildRequires: openmotif-devel +BuildRequires: pkgconfig BuildRequires: xorg-x11 BuildRequires: zvbi-devel BuildRequires: pkgconfig(gl) @@ -67,7 +65,11 @@ Recommends: pia Suggests: lirc Conflicts: xaw3dd -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1210 +BuildRequires: desktop-file-utils +%else +BuildRequires: update-desktop-files +%endif %description xawtv is an X11 application for watching TV with your Linux box. It supports @@ -94,7 +96,7 @@ %package -n tv-common Summary: Frequency tables and some Tools for motv and xawtv Group: Hardware/TV -Provides: xawtv:/usr/X11R6/lib/X11/fonts/misc/led-iso8859-1.bdf +Provides: xawtv:%{_prefix}/X11R6/lib/X11/fonts/misc/led-iso8859-1.bdf %description -n tv-common This package includes frequency tables for various countries and some utilities @@ -146,10 +148,11 @@ %setup -q %patch0 %patch1 -p1 +%patch2 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%{configure} +%configure make verbose=yes %{?_smp_mflags} %install @@ -172,32 +175,32 @@ %post -n v4l-conf %if 0%{?set_permissions:1} > 0 - %{set_permissions /usr/bin/v4l-conf} + %{set_permissions %{_bindir}/v4l-conf} %else - %{run_permissions} + %run_permissions %endif %files -%defattr(-,root,root,-) -%doc COPYING Changes README README.* TODO +%license COPYING +%doc Changes README README.* TODO %doc contrib/frequencies* contrib/vdr.config %{_bindir}/xawtv %{_bindir}/rootv -%doc %{_mandir}/man1/xawtv.1%{ext_man} +%{_mandir}/man1/xawtv.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/xawtv.1%{ext_man} %doc %lang(fr) %{_mandir}/fr/man1/xawtv.1%{ext_man} -%doc %{_mandir}/man1/rootv.1%{ext_man} +%{_mandir}/man1/rootv.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/rootv.1%{ext_man} %{_datadir}/X11/app-defaults/Xawtv %{_datadir}/applications/xawtv.desktop %{_datadir}/pixmaps/xawtv.xpm %files -n motv -%defattr(-,root,root,-) -%doc COPYING Changes README README.* TODO +%license COPYING +%doc Changes README README.* TODO %doc contrib/frequencies* contrib/vdr.config %{_bindir}/motv -%doc %{_mandir}/man1/motv.1%{ext_man} +%{_mandir}/man1/motv.1%{?ext_man} %{_datadir}/X11/app-defaults/MoTV %dir %{_datadir}/X11/de_DE.UTF-8 %dir %{_datadir}/X11/fr_FR.UTF-8 @@ -206,78 +209,74 @@ %lang(fr) %{_datadir}/X11/fr_FR.UTF-8/app-defaults %lang(it) %{_datadir}/X11/it_IT.UTF-8/app-defaults %{_bindir}/mtt -%doc %{_mandir}/man1/mtt.1%{ext_man} +%{_mandir}/man1/mtt.1%{?ext_man} %{_datadir}/X11/app-defaults/mtt %{_datadir}/applications/motv.desktop %{_datadir}/pixmaps/motv.xpm %files -n tv-common -%defattr(-,root,root,-) -%doc COPYING +%license COPYING %{_bindir}/subtitles -%doc %{_mandir}/man1/subtitles.1%{ext_man} +%{_mandir}/man1/subtitles.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/subtitles.1%{ext_man} %{_bindir}/xawtv-remote -%doc %{_mandir}/man1/xawtv-remote.1%{ext_man} +%{_mandir}/man1/xawtv-remote.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/xawtv-remote.1%{ext_man} %{_bindir}/propwatch -%doc %{_mandir}/man1/propwatch.1%{ext_man} -%doc %{_mandir}/man5/xawtvrc.5.gz +%{_mandir}/man1/propwatch.1%{?ext_man} +%{_mandir}/man5/xawtvrc.5%{?ext_man} %doc %lang(es) %{_mandir}/es/man5/xawtvrc.5.gz %{_libdir}/xawtv %{_datadir}/xawtv %files -n v4l-conf -%defattr(-,root,root,-) -%doc COPYING +%license COPYING %verify(not mode) %attr(4750,root,video) %{_bindir}/v4l-conf -%doc %{_mandir}/man8/v4l-conf.8.gz +%{_mandir}/man8/v4l-conf.8%{?ext_man} %doc %lang(es) %{_mandir}/es/man8/v4l-conf.8.gz %files -n v4l-tools -%defattr(-,root,root,-) -%doc COPYING +%license COPYING %{_bindir}/radio -%doc %{_mandir}/man1/radio.1%{ext_man} +%{_mandir}/man1/radio.1%{?ext_man} %{_bindir}/fbtv -%doc %{_mandir}/man1/fbtv.1%{ext_man} +%{_mandir}/man1/fbtv.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/fbtv.1%{ext_man} %{_bindir}/ttv -%doc %{_mandir}/man1/ttv.1%{ext_man} +%{_mandir}/man1/ttv.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/ttv.1%{ext_man} %{_bindir}/streamer -%doc %{_mandir}/man1/streamer.1%{ext_man} +%{_mandir}/man1/streamer.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/streamer.1%{ext_man} %{_bindir}/v4lctl -%doc %{_mandir}/man1/v4lctl.1%{ext_man} +%{_mandir}/man1/v4lctl.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/v4lctl.1%{ext_man} %{_bindir}/record -%doc %{_mandir}/man1/record.1%{ext_man} +%{_mandir}/man1/record.1%{?ext_man} %{_bindir}/dump-mixers -%doc %{_mandir}/man1/dump-mixers.1%{ext_man} +%{_mandir}/man1/dump-mixers.1%{?ext_man} %{_bindir}/showriff -%doc %{_mandir}/man1/showriff.1%{ext_man} +%{_mandir}/man1/showriff.1%{?ext_man} %{_bindir}/showqt %{_bindir}/scantv -%doc %{_mandir}/man1/scantv.1%{ext_man} +%{_mandir}/man1/scantv.1%{?ext_man} %doc %lang(es) %{_mandir}/es/man1/scantv.1%{ext_man} %{_bindir}/ntsc-cc -%doc %{_mandir}/man1/ntsc-cc.1%{ext_man} +%{_mandir}/man1/ntsc-cc.1%{?ext_man} %{_bindir}/webcam -%doc %{_mandir}/man1/webcam.1%{ext_man} +%{_mandir}/man1/webcam.1%{?ext_man} %{_bindir}/v4l-info -%doc %{_mandir}/man1/v4l-info.1%{ext_man} +%{_mandir}/man1/v4l-info.1%{?ext_man} %files -n alevtd -%defattr(-,root,root,-) -%doc COPYING +%license COPYING %{_bindir}/alevtd -%doc %{_mandir}/man1/alevtd.1%{ext_man} +%{_mandir}/man1/alevtd.1%{?ext_man} %files -n pia -%defattr(-,root,root,-) -%doc COPYING Changes README +%license COPYING +%doc Changes README %{_bindir}/pia -%doc %{_mandir}/man1/pia.1%{ext_man} +%{_mandir}/man1/pia.1%{?ext_man} %changelog ++++++ fix-build-with-recent-glibc.patch ++++++ diff --git a/common/get_media_devices.c b/common/get_media_devices.c index a2d6354..9a1f75f 100644 --- a/common/get_media_devices.c +++ b/common/get_media_devices.c @@ -23,6 +23,7 @@ #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include <string.h> #include <stdlib.h> #include <malloc.h>
