- fix missing <inttypes.h> include (bug 428910)

This commit is contained in:
Dominik Mierzejewski 2008-01-27 21:12:39 +00:00
parent 46d889dd25
commit 059420ae1a
2 changed files with 18 additions and 1 deletions

12
libdvdnav-inttypes.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up libdvdnav-4.1.1/src/dvd_types.h.int libdvdnav-4.1.1/src/dvd_types.h
--- libdvdnav-4.1.1/src/dvd_types.h.int 2007-04-21 13:08:56.000000000 +0200
+++ libdvdnav-4.1.1/src/dvd_types.h 2008-01-27 22:06:32.000000000 +0100
@@ -29,6 +29,8 @@
#ifndef DVD_H_INCLUDED
#define DVD_H_INCLUDED
+#include <inttypes.h>
+
/*
* DVD Menu ID
* (see dvdnav_menu_call())

View File

@ -1,6 +1,6 @@
Name: libdvdnav
Version: 4.1.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A library for reading DVD video discs based on Ogle code
Group: System Environment/Libraries
@ -12,6 +12,7 @@ Patch3: %{name}-libdir.patch
Patch4: %{name}-soname.patch
Patch5: %{name}-external-dvdread.patch
Patch6: %{name}-destdir.patch
Patch7: %{name}-inttypes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: doxygen
@ -57,6 +58,7 @@ This package contains development files for libdvdread.
%patch4 -p0
%patch5 -p1 -b .dvdread
%patch6 -p1 -b .destdir
%patch7 -p1 -b .int
%build
./configure2 \
@ -117,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libdvdread.so
%changelog
* Sun Jan 27 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-5
- fix missing <inttypes.h> include (bug 428910)
* Sun Jan 06 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-4
- make sure -devel requires our version of libdvdread-devel