Changeset 125493


Ignore:
Timestamp:
Sep 18, 2014, 8:51:52 PM (5 years ago)
Author:
devans@…
Message:

gpac: patch for ffmpeg 2.4 compatibility, increment revision to rebuild.

Location:
trunk/dports/multimedia/gpac
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/gpac/Portfile

    r115019 r125493  
    66name                gpac
    77version             0.5.0
    8 revision            4
     8revision            5
    99categories          multimedia
    1010platforms           darwin
     
    5555
    5656patchfiles          patch-configure.diff \
    57                     patch-ffmpeg-2.0.diff
     57                    patch-ffmpeg-2.0.diff \
     58                    patch-ffmpeg-2.4.diff
    5859
    5960# This project's build system misuses the prefix "cpp" to refer to the C++ compiler instead of the C preprocessor.
  • trunk/dports/multimedia/gpac/files/patch-ffmpeg-2.0.diff

    r111823 r125493  
    9898 #endif /* AVERROR_NOFMT */
    9999 
    100 +#if (LIBAVFORMAT_VERSION_MAJOR >= 54) && (LIBAVFORMAT_VERSION_MINOR >= 20)
     100+#if (LIBAVFORMAT_VERSION_MAJOR > 54) || ((LIBAVFORMAT_VERSION_MAJOR == 54) && (LIBAVFORMAT_VERSION_MINOR >= 20))
    101101+#define av_find_stream_info(__c)        avformat_find_stream_info(__c, NULL)
    102102+#define FF_API_FORMAT_PARAMETERS        1
Note: See TracChangeset for help on using the changeset viewer.