diff options
author | lofi <lofi@FreeBSD.org> | 2007-10-21 17:40:57 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-10-21 17:40:57 +0800 |
commit | 559356e4185822c9a1cc491ae36567c905b61a51 (patch) | |
tree | e4d56f509c9abf0553f9d78f0f08ff6d387c29fe | |
parent | 8a307f321eaf8804bc934ea5a7aa991a8e2f1c2f (diff) | |
download | freebsd-ports-gnome-559356e4185822c9a1cc491ae36567c905b61a51.tar.gz freebsd-ports-gnome-559356e4185822c9a1cc491ae36567c905b61a51.tar.zst freebsd-ports-gnome-559356e4185822c9a1cc491ae36567c905b61a51.zip |
Fix build
-rw-r--r-- | audio/libtunepimp-old/files/patch-plugins-mp4-mp4.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
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; + } |