[Bug 279371] graphics/jpeg-turbo: update to 3.0.3 breaks graphics/rawtherapee, escaped -exp run

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 May 2024 20:54:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279371

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3aaca1788173e1e855ab87b9632bc54a0654ed2a

commit 3aaca1788173e1e855ab87b9632bc54a0654ed2a
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-05-28 20:48:06 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-05-28 20:53:44 +0000

    graphics/rawtherapee: work around jpeg-turbo regression

    jpeg-turbo hides the jpg_std_message_table, causing linker troubles,
    as reported by pkg-fallout.  This somehow also snuck past the -exp run.

    We now set up the default table in the code that wanted to reference it
    and steal the const pointer to the message table as a workaround.

    Also, the jpeg-turbo upgrade breaks rawtherapee at run-time, so we
    must bump its PORTREVISION.

    Rawtherapee 5.10_1 with jpeg-turbo 3.0.3 causes this error,
    preventing a program start:
    ld-elf.so.1: /usr/local/bin/rawtherapee: Undefined symbol
"jpeg_std_message_table@LIBJPEG_8.0"

    PR:             279371

 graphics/rawtherapee/Makefile                        |  2 +-
 .../files/patch-rtengine_jdatasrc.cc (new)           | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.