Bug 268234

Summary: multimedia/kodi: fix build after mesa-libs update
Product: Ports & Packages Reporter: Martin Neubauer <m.ne>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Some People CC: fernape, romain, yzrh
Priority: --- Flags: yzrh: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch with workaround for build failure
none
testport log (bzip2)
none
patch for 268234 and 265931 none

Description Martin Neubauer 2022-12-07 20:16:02 UTC
Created attachment 238613 [details]
patch with workaround for build failure

With the recent update to graphics/mesa-libs the EGL/eglextchromium.h header got removed and replaced by EGL/eglext_angle.h. The attached patch has a workaround.

See also: https://github.com/xbmc/xbmc/issues/21792
Comment 1 yzrh 2022-12-07 23:13:52 UTC
Created attachment 238618 [details]
testport log (bzip2)
Comment 2 yzrh 2022-12-07 23:18:58 UTC
Created attachment 238619 [details]
patch for 268234 and 265931

Thanks for the report.  Until a proper fix is 
possible, we should carry the patch.
While I am at it, let me include the patch for Bug 265931
as well.
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-12-13 06:33:51 UTC
Committed,

Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-12-13 06:34:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f65ff0bf131d96a68cb72088e9afa9442c91d5d

commit 7f65ff0bf131d96a68cb72088e9afa9442c91d5d
Author:     yzrh <yzrh@noema.org>
AuthorDate: 2022-12-12 07:02:23 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-12-13 06:28:56 +0000

    multimedia/kodi: fix build after mesa-libs update

    With the recent update to graphics/mesa-libs the EGL/eglextchromium.h header
    got removed and replaced by EGL/eglext_angle.h.

    While here, include the patch for Bug 265931 (libdvdnav)

    PR:             268234
    Reported by:    m.ne@gmx.net

 multimedia/kodi/Makefile                           | 30 ++++++++++------------
 multimedia/kodi/distinfo                           | 12 ++++++---
 .../patch-xbmc_windowing_X11_GLContextEGL.h (new)  | 11 ++++++++
 3 files changed, 34 insertions(+), 19 deletions(-)
Comment 5 Romain Tartière freebsd_committer freebsd_triage 2022-12-15 19:40:34 UTC
*** Bug 268398 has been marked as a duplicate of this bug. ***