From 559356e4185822c9a1cc491ae36567c905b61a51 Mon Sep 17 00:00:00 2001 From: lofi Date: Sun, 21 Oct 2007 09:40:57 +0000 Subject: Fix build --- .../files/patch-plugins-mp4-mp4.cpp | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp (limited to 'audio') diff --git a/audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp b/audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp new file mode 100644 index 000000000000..540daf06d277 --- /dev/null +++ b/audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp @@ -0,0 +1,23 @@ +--- plugins/mp4/mp4.cpp.orig Sun Jan 22 13:13:15 2006 ++++ plugins/mp4/mp4.cpp Sun Oct 21 07:45:19 2007 +@@ -224,9 +224,7 @@ + + strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3); + +- if (!MP4Close(mp4file)) +- return 0; +- ++ MP4Close(mp4file); + return 1; + } + +@@ -306,8 +304,7 @@ + sprintf(temp, "%d", mdata->nonAlbum); + MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1); + +- if (!MP4Close(mp4file)) +- return 0; ++ MP4Close(mp4file); + + return 1; + } -- cgit