[MacPorts] #34094: ffmpeg: patch required to solve undefined type/function when using C++

MacPorts noreply at macports.org
Mon Aug 8 18:43:47 UTC 2022


#34094: ffmpeg: patch required to solve undefined type/function when using C++
--------------------------+----------------------
  Reporter:  liampg72@…   |      Owner:  jeremyhu
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.0.4
Resolution:  invalid      |   Keywords:
      Port:  ffmpeg       |
--------------------------+----------------------
Changes (by mascguy):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:7 chrstphrchvz]:
 > The upstream change I linked to is effectively the result of upstream's
 rejection of the patch the reporter attached here; they believe user C++
 code is responsible for defining `__STDC_CONSTANT_MACROS`. See
 [https://trac.ffmpeg.org/wiki/Including%20FFmpeg%20headers%20in%20a%20C%2B%2B%20application
 wiki page "Including FFmpeg headers in a C++ application"] and
 [https://lists.libav.org/pipermail/ffmpeg-devel/2010-May/088074.html
 lengthy mailing list discussion regarding the patch].

 Closing issue, as upstream drives the API.

-- 
Ticket URL: <https://trac.macports.org/ticket/34094#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list