ports/69201: [PATCH] gtkpod-0.80 + AAC build broken on -STABLE
Scott Mitchell
scott+freebsd at fishballoon.org
Sat Jul 17 16:50:23 UTC 2004
>Number: 69201
>Category: ports
>Synopsis: [PATCH] gtkpod-0.80 + AAC build broken on -STABLE
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 17 16:50:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Scott Mitchell
>Release: FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD tuatara.fishballoon.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Jun 20 18:37:01 BST 2004 scott at tuatara.fishballoon.org:/local/obj/local/-STABLE/src/sys/TUATARA i386
>Description:
If audio/gtkpod is built with WITH_ACC=yes on -STABLE, the build fails at line
111 of mp4file.c attempting to #include stdint.h which, does not exist on the
RELENG_4 branch. The port builds correctly without WITH_AAC=yes.
>How-To-Repeat:
cd /usr/ports/audio/gtkpod && make WITH_ACC=yes
>Fix:
The attached patch to the gtkpod source uses inttypes.h instead of
stdint.h if __FreeBSD_version < 500027, which seems to be the last value it
had before stdint.h was added and inttypes.h removed.
--- work/gtkpod-0.80/src/mp4file.c Sun May 16 08:51:08 2004
+++ /tmp/mp4file.c Sat Jul 17 17:28:19 2004
@@ -108,7 +108,12 @@
#define MP4V2_HAS_METADATA_BUG TRUE
#include <sys/types.h>
+#include <sys/param.h>
+#if __FreeBSD_version < 500027
+#include <inttypes.h>
+#else
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include "mp4.h"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list