Index: head/graphics/gstreamer1-plugins-gl/Makefile =================================================================== --- head/graphics/gstreamer1-plugins-gl/Makefile (revision 497169) +++ head/graphics/gstreamer1-plugins-gl/Makefile (revision 497170) @@ -1,32 +1,38 @@ # $FreeBSD$ PORTREVISION= 2 CATEGORIES= graphics COMMENT= GStreamer GL graphics plugin GST_PLUGIN= gl DIST= base GL_GST_DIRS= gst-libs/gst/allocators gst-libs/gst/video PLIST= ${.CURDIR}/pkg-plist MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT=WAYLAND OPTIONS_SUB= yes WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland +EXTRA_PATCHDIR= ${.CURDIR}/../../graphics/gstreamer1-plugins-gl/files +EXTRA_PATCHES= ${EXTRA_PATCHDIR}/patch-gst-libs_gst_gl_gstgl__fwd.h \ + ${EXTRA_PATCHDIR}/patch-gst-libs_gst_gl_gstglcontext.h \ + ${EXTRA_PATCHDIR}/patch-gst-libs_gst_gl_gstgldebug.h \ + ${EXTRA_PATCHDIR}/patch-gst-libs_gst_gl_gstglfuncs.h + pre-build: .for dir in ${GL_GST_DIRS} @(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}) .endfor post-install: ${INSTALL_DATA} ${WRKSRC}/pkgconfig/gstreamer-gl.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gstreamer-gl-1.0.pc .include "${MASTERDIR}/Makefile" Index: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgl__fwd.h =================================================================== --- head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgl__fwd.h (nonexistent) +++ head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgl__fwd.h (revision 497170) @@ -0,0 +1,11 @@ +--- gst-libs/gst/gl/gstgl_fwd.h.orig 2018-12-05 14:04:58 UTC ++++ gst-libs/gst/gl/gstgl_fwd.h +@@ -102,8 +102,6 @@ typedef struct _GstGLOverlayCompositorClass GstGLOverl + + typedef struct _GstGLQuery GstGLQuery; + +-typedef struct _GstGLFuncs GstGLFuncs; +- + typedef struct _GstGLAsyncDebug GstGLAsyncDebug; + + #include Property changes on: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgl__fwd.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglcontext.h =================================================================== --- head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglcontext.h (nonexistent) +++ head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglcontext.h (revision 497170) @@ -0,0 +1,11 @@ +--- gst-libs/gst/gl/gstglcontext.h.orig 2018-12-05 14:06:09 UTC ++++ gst-libs/gst/gl/gstglcontext.h +@@ -98,7 +98,7 @@ struct _GstGLContext { + GstGLWindow *window; + + /*< public >*/ +- GstGLFuncs *gl_vtable; ++ struct _GstGLFuncs *gl_vtable; + + /*< private >*/ + GstGLContextPrivate *priv; Property changes on: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglcontext.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgldebug.h =================================================================== --- head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgldebug.h (nonexistent) +++ head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgldebug.h (revision 497170) @@ -0,0 +1,11 @@ +--- gst-libs/gst/gl/gstgldebug.h.orig 2018-12-04 14:57:39 UTC ++++ gst-libs/gst/gl/gstgldebug.h +@@ -25,8 +25,6 @@ + + G_BEGIN_DECLS + +-typedef struct _GstGLAsyncDebug GstGLAsyncDebug; +- + typedef gchar * (*GstGLAsyncDebugLogGetMessage) (gpointer user_data); + + /** Property changes on: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstgldebug.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglfuncs.h =================================================================== --- head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglfuncs.h (nonexistent) +++ head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglfuncs.h (revision 497170) @@ -0,0 +1,27 @@ +--- gst-libs/gst/gl/gstglfuncs.h.orig 2018-03-23 20:44:42 UTC ++++ gst-libs/gst/gl/gstglfuncs.h +@@ -23,13 +23,6 @@ + + #include + +-/* This mimic GCC behaviour with system headers files even if GL headers may +- * not be in the system header path. */ +-#ifdef __GNUC__ +-#pragma GCC diagnostic push +-#pragma GCC diagnostic ignored "-Wredundant-decls" +-#endif +- + /* OpenGL 2.0 for Embedded Systems */ + #if GST_GL_HAVE_GLES2 + # if GST_GL_HAVE_PLATFORM_EAGL +@@ -72,10 +65,6 @@ + # endif + #endif + +-#ifdef __GNUC__ +-#pragma GCC diagnostic pop +-#endif +- + #if defined(WINAPI) + #define GSTGLAPI WINAPI + #else Property changes on: head/graphics/gstreamer1-plugins-gl/files/patch-gst-libs_gst_gl_gstglfuncs.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property