Opened 19 years ago

Last modified 8 years ago

#3555 closed defect

faad2 gcc4 patch — at Initial Version

Reported by: cce@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: faad2

Description

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 (0)

Note: See TracTickets for help on using tickets.