[mythtv-commits] Ticket #6694: portability #defines after ffmpeg sync

MythTV mythtv at cvs.mythtv.org
Wed Jul 8 15:27:16 UTC 2009

#6694: portability #defines after ffmpeg sync
 Reporter:  anonymous         |        Owner:  ijr    
     Type:  defect            |       Status:  new    
 Priority:  minor             |    Milestone:  unknown
Component:  MythTV - General  |      Version:  head   
 Severity:  medium            |   Resolution:         
  Mlocked:  0                 |  

Comment(by anonymous):

 More details for this ticket (sorry, should have been in the description):

 The first patch defines POSIX_FADV_SEQUENTIAL when !HAVE_POSIX_FADVISE.
 (also SYNC_FILE_RANGE_WRITE, but that was committed as a different

 Either of the second and third patches will correct the multiple pointer
 definitions in greedyhdeint (two ways of doing it - take your pick).
 Currently, color.c and filter_greedyhdeint.c both define the same pointers
 (by including color.h).  Not all versions of gcc resolve this conflict

 Fix the problem either by declaring the pointers as static in color.h
 (color_h.patch), or by moving the real declarations into color.c and
 declaring them extern in filter_greedyhdeint.c (color_h_alternate.patch).

Ticket URL: <http://svn.mythtv.org/trac/ticket/6694#comment:1>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list