[MacPorts] #3555: faad2 gcc4 patch
MacPorts
noreply at macports.org
Thu Mar 24 08:06:59 PDT 2016
#3555: faad2 gcc4 patch
---------------------+----------------------
Reporter: cce@… | Owner: pguyot@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: faad2 |
---------------------+----------------------
Changes (by ryandesign@…):
* port: => faad2
Old 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);
New 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);
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/3555#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list