rpms/libdvdread/F-8 libdvdread-inttypes.patch, NONE, 1.1 libdvdread.spec, 1.3, 1.4
Dominik Mierzejewski (rathann)
fedora-extras-commits at redhat.com
Sun Jan 27 21:35:47 UTC 2008
Author: rathann
Update of /cvs/pkgs/rpms/libdvdread/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11178
Modified Files:
libdvdread.spec
Added Files:
libdvdread-inttypes.patch
Log Message:
- fix missing <inttypes.h> include (bug 428910)
libdvdread-inttypes.patch:
--- NEW FILE libdvdread-inttypes.patch ---
diff -up libdvdread-0.9.7/dvdread/ifo_types.h.int libdvdread-0.9.7/dvdread/ifo_types.h
--- libdvdread-0.9.7/dvdread/ifo_types.h.int 2006-03-02 18:25:43.000000000 +0100
+++ libdvdread-0.9.7/dvdread/ifo_types.h 2008-01-27 22:27:09.000000000 +0100
@@ -21,18 +21,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <inttypes.h>
#include <dvdread/dvd_reader.h>
-#if defined(__BEOS__)
-#if !defined(_INTTYPES_H_) && !defined(_INTTYPES_H) && !defined(_STDINT_H_) && !defined(_STDINT_H)
-#error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
-#endif
-#else
-#if !defined(UINT8_MAX) || !defined(UINT16_MAX) || !defined(INT32_MAX)
-#error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
-#endif
-#endif
-
#undef ATTRIBUTE_PACKED
#undef PRAGMA_PACK_BEGIN
#undef PRAGMA_PACK_END
Index: libdvdread.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libdvdread/F-8/libdvdread.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- libdvdread.spec 28 Aug 2007 23:49:09 -0000 1.3
+++ libdvdread.spec 27 Jan 2008 21:35:08 -0000 1.4
@@ -1,12 +1,13 @@
Name: libdvdread
Version: 0.9.7
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Simple foundation for reading DVD video disks
Group: System Environment/Libraries
License: GPLv2+
URL: http://www.dtek.chalmers.se/groups/dvd/
Source0: http://www.dtek.chalmers.se/groups/dvd/dist/%{name}-%{version}.tar.gz
+Patch0: %{name}-inttypes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -27,6 +28,7 @@
%prep
%setup -q
+%patch0 -p1 -b .int
for f in AUTHORS NEWS ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
@@ -64,6 +66,9 @@
%changelog
+* Sun Jan 27 2008 Dominik Mierzejewski <rpm at greysector.net> 0.9.7-4
+- fix missing <inttypes.h> include (bug 428910)
+
* Wed Aug 29 2007 Dominik Mierzejewski <rpm at greysector.net> 0.9.7-3
- rebuild for BuildID
- update license tag
More information about the fedora-extras-commits
mailing list