From 3f7d5a8079ac13005e31e94702ee458fd0b5100a Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Mon, 14 Sep 2009 13:13:25 +0000 Subject: [PATCH] - Add patch to fix MP4 test on ppc/ppc64. - Update to 1.6 final. --- taglib-1.6-test_mp4.patch | 12 ++++++++++++ taglib.spec | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 taglib-1.6-test_mp4.patch diff --git a/taglib-1.6-test_mp4.patch b/taglib-1.6-test_mp4.patch new file mode 100644 index 0000000..3fba672 --- /dev/null +++ b/taglib-1.6-test_mp4.patch @@ -0,0 +1,12 @@ +diff -Nur taglib-1.6-orig/tests/test_mp4.cpp taglib-1.6/tests/test_mp4.cpp +--- taglib-1.6-orig/tests/test_mp4.cpp 2009-07-24 15:08:51.000000000 +0200 ++++ taglib-1.6/tests/test_mp4.cpp 2009-09-14 14:46:41.724715605 +0200 +@@ -130,7 +130,7 @@ + MP4::Atom *moov = atoms->atoms[0]; + CPPUNIT_ASSERT_EQUAL(long(77), moov->length); + +- f->tag()->itemListMap()["pgap"] = 1; ++ f->tag()->itemListMap()["pgap"] = true; + f->save(); + + f = new MP4::File(filename.c_str()); diff --git a/taglib.spec b/taglib.spec index 4d89317..60d06e6 100644 --- a/taglib.spec +++ b/taglib.spec @@ -32,6 +32,8 @@ Patch1: taglib-1.5b1-multilib.patch # try 2, kiss omit -L%_libdir Patch2: taglib-1.5rc1-multilib.patch +Patch3: taglib-1.6-test_mp4.patch + BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: zlib-devel @@ -84,6 +86,8 @@ Files needed when building software with %{name}. ## omit for now %patch2 -p1 -b .multilib +%patch3 -p1 -b .test_mp4 + %build mkdir -p %{_target_platform} @@ -156,6 +160,7 @@ rm -rf %{buildroot} %changelog * Mon Sep 14 2009 Michael Schwendt - 1.6-1 +- Add patch to fix MP4 test on ppc/ppc64. - Update to 1.6 final. * Sun Sep 6 2009 Michael Schwendt - 1.6-0.1.rc1