Bug 268234 - multimedia/kodi: fix build after mesa-libs update
Summary: multimedia/kodi: fix build after mesa-libs update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Fernando Apesteguía
URL:
Keywords:
: 268398 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-12-07 20:16 UTC by Martin Neubauer
Modified: 2022-12-15 19:40 UTC (History)
3 users (show)

See Also:
yzrh: maintainer-feedback+


Attachments
patch with workaround for build failure (1.40 KB, patch)
2022-12-07 20:16 UTC, Martin Neubauer
no flags Details | Diff
testport log (bzip2) (124.22 KB, application/x-bzip)
2022-12-07 23:13 UTC, yzrh
no flags Details
patch for 268234 and 265931 (4.45 KB, patch)
2022-12-07 23:18 UTC, yzrh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***