import CS libucil-0.9.10-17.el8

This commit is contained in:
eabdullin 2023-09-27 13:22:39 +00:00
parent 477c975b0e
commit c6872f1bf6
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- libucil-0.9.10/src/ucil_alsa.c 2010-01-17 08:49:29.000000000 +0100
+++ libucil-0.9.10/src/ucil_alsa.c.include-alsa 2019-07-28 19:28:30.425902735 +0200
@@ -29,7 +29,7 @@
#include "ucil_alsa.h"
#include <stdlib.h>
-#include <asoundlib.h>
+#include <alsa/asoundlib.h>
#include <glib-2.0/glib.h>
/* #if UCIL_DEBUG */
#define DEBUG

View File

@ -1,7 +1,7 @@
Summary: Library to render text and graphic overlays onto video images
Name: libucil
Version: 0.9.10
Release: 16%{?dist}
Release: 17%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.unicap-imaging.org/
@ -16,6 +16,9 @@ Patch1: libucil-0.9.10-leaks.patch
# fix some compile-time warnings
Patch2: libucil-0.9.10-warnings.patch
# asoundlib.h is alsa/asoundlib.h meanwhile
Patch3: libucil-0.9.10-include-alsa.patch
BuildRequires: autoconf, automake, gettext-devel, libtool
BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext, gtk-doc >= 1.4
BuildRequires: libunicap-devel, glib2-devel, pango-devel, alsa-lib-devel
@ -45,6 +48,7 @@ documentation of the library, too.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
# fixes for gtk-doc 1.26
sed -i -e '/^DOC_SOURCE_DIR/s/--source-dir=//g' doc/libucil/Makefile.am
mkdir -p m4
@ -82,6 +86,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Tue May 30 2023 Vitezslav Crhonek <vcrhonek@redhat.com> - 0.9.10-17
- alsa/asoundlib.h should be used instead of asoundlib.h since alsa-1.1.9
Resolves: #2108023
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild