Created attachment 199832 [details]
I'm sending a patch for multimedia/gstreamer1-plugins instead of directly to graphics/gstreamer1-plugins-gl because multimedia/gstreamer1-plugins is the master port.
It needs removed redefined typedef to fix build with base GCC.
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
Created attachment 199851 [details]
Additional patches are needed.
Created attachment 199852 [details]
Remove accidentally left // and remove the line.
@piotr, can you have a look at this pr on the forum? Is it the same issue?
(In reply to mikael.urankar from comment #3)
Yes, it's the same issue. It looks like most, if not all, plugins from gstreamer1-plugins have this problem. We can either remove typedefs of force newer GCC.
A commit references this bug:
Date: Fri Mar 29 17:21:27 UTC 2019
New revision: 497170
Fix compilation on GCC-based architectures including and similar to:
gstgldebug.h:28: error: redefinition of typedef 'GstGLAsyncDebug'
I chose a different approach from the PR. The trick is that since this
is a slave port, the patchdir by default is from the masterport. In my
fix, I put the patches back into this port's files/ subdir and do some
Makefile magic to invoke them.
PR: 233788 (based on)
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)