ports/116780: libtunepimp fails to compile
Jaap Boender
jaapb at kerguelen.org
Mon Oct 1 08:30:02 UTC 2007
>Number: 116780
>Category: ports
>Synopsis: libtunepimp fails to compile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 01 08:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Jaap Boender
>Release: 6.2-STABLE
>Organization:
>Environment:
FreeBSD marion-dufresne.pps.jussieu.fr 6.2-STABLE FreeBSD 6.2-STABLE #6: Mon Aug 20 16:21:12 CEST 2007 root at marion-dufresne.pps.jussieu.fr:/usr/obj/usr/src/sys/MARION-DUFRESNE i386
>Description:
The MP4Close function in my version of libmp4 (port mpeg4ip-libmp4v2-1.6) doesn't return a bool, but a void, which results in libtunepimp failing to compile.
>How-To-Repeat:
install audio/libtunepimp.
>Fix:
Adding the attached patch to the files directory of the port should solve the problem.
Patch attached with submission follows:
--- plugins/mp4/mp4.cpp.orig 2007-10-01 10:17:48.000000000 +0200
+++ plugins/mp4/mp4.cpp 2007-10-01 10:18:19.000000000 +0200
@@ -231,9 +231,7 @@
strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
- if (!MP4Close(mp4file))
- return 0;
-
+ MP4Close(mp4file);
return 1;
}
@@ -315,8 +313,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);
#ifndef WIN32
if (!MP4Optimize(utf8ToEncoding(fileName, encoding).c_str()))
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list