Make sure that java/openjfx8-devel can load libavcodec.so.57 and

unlock support for more media formats.
This commit is contained in:
Tobias Kortkamp 2017-10-04 12:28:42 +00:00
parent b0d85fcf0e
commit a225df30e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451224
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= openjfx8 PORTNAME= openjfx8
DISTVERSION= 8u172-b00 DISTVERSION= 8u172-b00
PORTREVISION= 1
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= java x11-toolkits devel CATEGORIES= java x11-toolkits devel
MASTER_SITES= https://github.com/t6/openjfx/releases/download/release/ \ MASTER_SITES= https://github.com/t6/openjfx/releases/download/release/ \

View file

@ -0,0 +1,11 @@
--- modules/media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstregistry.c.orig 2017-10-04 12:06:08 UTC
+++ modules/media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstregistry.c
@@ -162,7 +162,7 @@ extern HMODULE _priv_gst_dll_handle;
#include <link.h>
#include <dlfcn.h>
-static const int AVCODEC_EXPLICIT_VERSIONS[] = { 53, 54, 55, 56 };
+static const int AVCODEC_EXPLICIT_VERSIONS[] = { 53, 54, 55, 56, 57 };
static const int AVCODEC_FFMPEG_EXPLICIT_VERSIONS[] = { 56 };
typedef unsigned (*avcodec_version_proto)();