Bug 233788

Summary: multimedia/gstreamer1-plugins: fix build of graphics/gstreamer1-plugins-gl with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: freebsd-multimedia mailing list <multimedia>
Status: New ---    
Severity: Affects Only Me CC: linimon, mikael.urankar, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (multimedia)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
v2
none
patch none

Description Piotr Kubaj 2018-12-04 23:06:50 UTC
Created attachment 199832 [details]
patch

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.
Comment 1 Piotr Kubaj 2018-12-05 14:27:18 UTC
Created attachment 199851 [details]
v2

Additional patches are needed.
Comment 2 Piotr Kubaj 2018-12-05 14:31:08 UTC
Created attachment 199852 [details]
patch

Remove accidentally left // and remove the line.
Comment 3 mikael.urankar 2019-02-28 08:08:34 UTC
@piotr, can you have a look at this pr on the forum? Is it the same issue?
https://forums.freebsd.org/threads/powerpc64-gstreamer1-plugins-bad-compiler-error.69130/#post-417974
Comment 4 Piotr Kubaj 2019-02-28 08:14:45 UTC
(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.