Ticket #10537 (closed Patch - Bug Fix: fixed)
Opened 14 months ago
Last modified 13 months ago
Myth 0.25-rc gcc 4.7 patch
| Reported by: | mythtv@… | Owned by: | beirdo |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.24.3 |
| Component: | MythTV - General | Version: | Master Head |
| Severity: | low | Keywords: | gcc 4.7 |
| Cc: | Ticket locked: | no |
Description
Myth core code will not compile with gcc 4.7 without explicitly including a few system header files. The included ffmpeg also requires changes to compile. Patch for mythtv and mythplugins included.
Attachments
Change History
comment:1 Changed 14 months ago by beirdo
- Owner set to beirdo
- Status changed from new to assigned
- Milestone changed from 0.25 to unknown
Please don't set the milestone for tickets.
comment:2 Changed 14 months ago by beirdo
I'll look at this shortly, but I think we'll put this in after release.
comment:4 Changed 14 months ago by hobbes1069@…
unistd.h may be the way to go but I know on another project I suggested a similar fix but someone who developed on windows said "sys/types.h" was more portable. YMMV.
comment:5 Changed 14 months ago by beirdo
- Status changed from assigned to closed
- Resolution set to Fixed
- Milestone changed from unknown to 0.26
Committed in 19a7e0131146d38bfe384da55fc4c16193f2b54e to master, all except the ffmpeg part.
comment:6 Changed 14 months ago by Kevon <mythtv@…>
comment:8 Changed 14 months ago by Kevon <mythtv@…>
comment:9 Changed 13 months ago by beirdo
- Status changed from closed to new
- Resolution Fixed deleted
The ffmpeg portions will be looked at shortly.
comment:10 Changed 13 months ago by superm1@…
Glancing through ffmpeg's git, this is probably the commit that will fix the failed build with gcc-4.7:
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=da4c7cce2100a4e4f9276b4f17e260be47b53f41
comment:11 Changed 13 months ago by Kevon <mythtv@…>
- Status changed from new to closed
- Resolution set to fixed
