Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2017 12:28:43 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451224 - in head/java/openjfx8-devel: . files
Message-ID:  <201710041228.v94CShPH025236@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Oct  4 12:28:42 2017
New Revision: 451224
URL: https://svnweb.freebsd.org/changeset/ports/451224

Log:
  Make sure that java/openjfx8-devel can load libavcodec.so.57 and
  unlock support for more media formats.

Added:
  head/java/openjfx8-devel/files/patch-modules_media_src_main_native_gstreamer_gstreamer-lite_gstreamer_gst_gstregistry.c   (contents, props changed)
Modified:
  head/java/openjfx8-devel/Makefile

Modified: head/java/openjfx8-devel/Makefile
==============================================================================
--- head/java/openjfx8-devel/Makefile	Wed Oct  4 12:05:28 2017	(r451223)
+++ head/java/openjfx8-devel/Makefile	Wed Oct  4 12:28:42 2017	(r451224)
@@ -3,6 +3,7 @@
 
 PORTNAME=	openjfx8
 DISTVERSION=	8u172-b00
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	java x11-toolkits devel
 MASTER_SITES=	https://github.com/t6/openjfx/releases/download/release/ \

Added: head/java/openjfx8-devel/files/patch-modules_media_src_main_native_gstreamer_gstreamer-lite_gstreamer_gst_gstregistry.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/openjfx8-devel/files/patch-modules_media_src_main_native_gstreamer_gstreamer-lite_gstreamer_gst_gstregistry.c	Wed Oct  4 12:28:42 2017	(r451224)
@@ -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)();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710041228.v94CShPH025236>