#18850 closed defect (fixed)
mediatomb: fails to configure & build against latest ffmpeg 0.5
Reported by: | dbevans (David B. Evans) | Owned by: | yattenator@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | ffmpeg bind9 | Cc: | |
Port: | mediatomb |
Description
mediatomb @0.11.0 fails to configure and build because configure and the sources are looking for <ffmpeg/avformat.h> while its location in recent versions of ffmpeg is <libavformat/avformat.h>.
The attached patches
- patch configure to correctly detect the presence of ffmpeg
- patch the sources to use the new ffmpeg include paths
- the revision is incremented to force a rebuild against the current ffmpeg 0.5 which is not ABI compatible with earlier versions (see #18793).
Attachments (6)
Change History (9)
Changed 16 years ago by dbevans (David B. Evans)
Attachment: | patch-Portfile.diff added |
---|
Changed 16 years ago by dbevans (David B. Evans)
Attachment: | patch-configure.diff added |
---|
for files directory
Changed 16 years ago by dbevans (David B. Evans)
Attachment: | patch-src-metadata-ffmpeg_handler.cc.diff added |
---|
for files directory
Changed 16 years ago by yattenator@…
Attachment: | patch-Portfile-2.diff added |
---|
another patch-Portfile.diff
Changed 16 years ago by yattenator@…
Attachment: | patch-configure.ac.diff added |
---|
patch-configure.diff replacement, not for configure but configure.ac
comment:1 Changed 16 years ago by yattenator@…
Thanks devans.
To close also #16756, these would be better, perhaps.
patch-Portfile-2.diff & patch-configure.ac.diff
- patches for not configure, but configure.ac
- use_automake yes
The same patch-src-metadata-ffmpeg_handler.cc.diff is also needed.
comment:2 Changed 16 years ago by dbevans (David B. Evans)
Keywords: | bind9 added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed in r48239 with the following minor changes:
- change use_autoconf to use_autoreconf as autoconf fails if local installed version is different than original (for example when port autoconf is installed.)
- change patchfile name in Portfile to match actual patchfile name (patch-configure.ac.diff instead of patch-aclocal.m4.diff)
Now configures and builds without error even when port bind9 is installed. Thanks for the additional fix.
Changed 16 years ago by dbevans (David B. Evans)
Attachment: | patch-Portfile.2.diff added |
---|
Patch for Portfile as committed
Note: See
TracTickets for help on using
tickets.
Proposed patch for Portfile