Mailing List Archive

Ticket #10537: Myth 0.25-rc gcc 4.7 patch
#10537: Myth 0.25-rc gcc 4.7 patch
-------------------------+----------------------------------
Reporter: mythtv@… | Type: Patch - Bug Fix
Status: new | Priority: minor
Milestone: 0.25 | Component: MythTV - General
Version: Master Head | Severity: low
Keywords: gcc 4.7 | Ticket locked: 0
-------------------------+----------------------------------
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.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: low | Resolution:
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------
Changes (by beirdo):

* owner: => beirdo
* status: new => assigned
* milestone: 0.25 => unknown


Comment:

Please don't set the milestone for tickets.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: low | Resolution:
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------

Comment (by beirdo):

I'll look at this shortly, but I think we'll put this in after release.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: low | Resolution:
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------

Comment (by kenni):

See also #10309.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: low | Resolution:
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------

Comment (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.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.26
Component: MythTV - General | Version: Master Head
Severity: low | Resolution: Fixed
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------
Changes (by beirdo):

* status: assigned => closed
* resolution: => Fixed
* milestone: unknown => 0.26


Comment:

Committed in 19a7e0131146d38bfe384da55fc4c16193f2b54e to master, all
except the ffmpeg part.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.26
Component: MythTV - General | Version: Master Head
Severity: low | Resolution: Fixed
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------

Comment (by Kevon <mythtv@…>):

In [changeset:ed67f148adbe5b3122643ccfebca625e9b5ea12f/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="ed67f148adbe5b3122643ccfebca625e9b5ea12f"
Make mythtv more compatible with GCC 4.7

Fixes #10537

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>

Cherry-picked from 19a7e0131146d38bfe384da55fc4c16193f2b54e
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.24.3
Component: MythTV - General | Version: Master Head
Severity: low | Resolution: Fixed
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------
Changes (by beirdo):

* milestone: 0.26 => 0.24.3


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.24.3
Component: MythTV - General | Version: Master Head
Severity: low | Resolution: Fixed
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------

Comment (by Kevon <mythtv@…>):

In [changeset:773c88c3ac2c2eac4e6dbb6af0ce949df6d4ab27/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="773c88c3ac2c2eac4e6dbb6af0ce949df6d4ab27"
Make mythtv more compatible with GCC 4.7

Fixes #10537

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
(cherry picked from commit 19a7e0131146d38bfe384da55fc4c16193f2b54e)
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:8>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: 0.24.3
Component: MythTV - General | Version: Master Head
Severity: low | Resolution:
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------
Changes (by beirdo):

* status: closed => new
* resolution: Fixed =>


Comment:

The ffmpeg portions will be looked at shortly.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: 0.24.3
Component: MythTV - General | Version: Master Head
Severity: low | Resolution:
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------

Comment (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

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:10>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #10537: Myth 0.25-rc gcc 4.7 patch [ In reply to ]
#10537: Myth 0.25-rc gcc 4.7 patch
------------------------------+-----------------------------
Reporter: mythtv@… | Owner: beirdo
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.24.3
Component: MythTV - General | Version: Master Head
Severity: low | Resolution: fixed
Keywords: gcc 4.7 | Ticket locked: 0
------------------------------+-----------------------------
Changes (by Kevon <mythtv@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:9ccfac11f31d8d05d48092efcbec8015c68f6cc1/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="9ccfac11f31d8d05d48092efcbec8015c68f6cc1"
Make ffmpeg compile with gcc 4.7

Fixes #10537

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10537#comment:11>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits