#3555 closed defect (fixed)
faad2 gcc4 patch — at Version 3
Reported by: | cce@… | Owned by: | pguyot (Paul Guyot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | faad2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
gcc4 is a bit stricter with conflicting static/non-static declarations and so this tiny patch allows it to compile.
--- Portfile 8 Jul 2004 04:22:46 -0000 1.2 +++ Portfile 16 Jun 2005 01:05:02 -0000 @@ -16,7 +16,7 @@ master_sites sourceforge:faac checksums md5 1a6f79365f2934a4888b210ef47a3a07 worksrcdir ${name} -patchfiles patch-Makefile.am +patchfiles patch-Makefile.am patch-mp4ffint.h pre-configure { system "cd ${worksrcpath} && aclocal -I . && autoheader && glibtoolize --automake --copy"
here's the file patch-mp4ffint.h, for the files/ directory:
--- common/mp4ff/mp4ffint.h.orig 2005-02-12 23:38:28.828890793 -0500 +++ common/mp4ff/mp4ffint.h 2005-02-12 23:41:01.618473068 -0500 @@ -301,7 +301,7 @@ mp4ff_t *mp4ff_open_edit(mp4ff_callback_t *f); #endif void mp4ff_close(mp4ff_t *ff); -void mp4ff_track_add(mp4ff_t *f); +static void mp4ff_track_add(mp4ff_t *f); int32_t parse_sub_atoms(mp4ff_t *f, const uint64_t total_size); int32_t parse_atoms(mp4ff_t *f);
Change History (3)
comment:1 Changed 19 years ago by cce@…
comment:2 Changed 19 years ago by pguyot (Paul Guyot)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks. Committed.
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | faad2 added |
Note: See
TracTickets for help on using
tickets.
oops, this is my first time submitting to darwinports bugzilla: apologies for not including the patches as attachments.