FreeBSD Bugzilla – Attachment 251051 Details for
Bug 279371
graphics/jpeg-turbo: exp run failed to show that update to 3.0.3 broke graphics/rawtherapee 5.10_1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
intended further graphics/rawtherapee change under test (test in progress)
0001-graphics-rawtherapee-replace-workaround-by-cherry-pi.patch (text/plain), 3.46 KB, created by
Matthias Andree
on 2024-05-28 23:07:38 UTC
(
hide
)
Description:
intended further graphics/rawtherapee change under test (test in progress)
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2024-05-28 23:07:38 UTC
Size:
3.46 KB
patch
obsolete
>From c7c372cb38168e346398b57cdf99999d85d9b08b Mon Sep 17 00:00:00 2001 >From: Matthias Andree <mandree@FreeBSD.org> >Date: Tue, 28 May 2024 23:40:33 +0200 >Subject: [PATCH] graphics/rawtherapee: replace workaround by cherry-pick > >...of upstream's merged change here: >https://github.com/Beep6581/RawTherapee/pull/7080 > >PR: 279371 >--- > graphics/rawtherapee/Makefile | 2 +- > .../files/patch-rtengine_jdatasrc.cc | 56 +++++++++++++++---- > 2 files changed, 46 insertions(+), 12 deletions(-) > >diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile >index 1753aab3ee68..883bc94aeca9 100644 >--- a/graphics/rawtherapee/Makefile >+++ b/graphics/rawtherapee/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= rawtherapee > PORTVERSION= 5.10 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= graphics > MASTER_SITES= https://rawtherapee.com/shared/source/ \ > LOCAL/mandree/ >diff --git a/graphics/rawtherapee/files/patch-rtengine_jdatasrc.cc b/graphics/rawtherapee/files/patch-rtengine_jdatasrc.cc >index 950b3b205be2..9bd4ac27ef90 100644 >--- a/graphics/rawtherapee/files/patch-rtengine_jdatasrc.cc >+++ b/graphics/rawtherapee/files/patch-rtengine_jdatasrc.cc >@@ -1,20 +1,54 @@ >+This is a combinediff of >+https://github.com/Beep6581/RawTherapee/pull/7080/commits/efdc5bce3b9794847093baeb040937ab55eba86e >+https://github.com/Beep6581/RawTherapee/pull/7080/commits/7789a8574b454ebd874522a70930ae4b40726da4 >+ > --- rtengine/jdatasrc.cc.orig 2024-02-16 05:12:09 UTC > +++ rtengine/jdatasrc.cc >-@@ -409,6 +409,8 @@ my_jpeg_std_error (struct jpeg_error_mgr * err) >+@@ -247,20 +247,6 @@ my_error_exit (j_common_ptr cinfo) >+ #endif >+ } >+ >+- >+-#ifdef _WIN32 >+-#define JVERSION "6b 27-Mar-1998" >+-#define JCOPYRIGHT_SHORT "(C) 1998, Thomas G. Lane" >+-#define JMESSAGE(code,string) string , >+- >+-const char * const jpeg_std_message_table[] = { >+-#include "jerror.h" >+- NULL >+-}; >+-#else >+-extern const char * const jpeg_std_message_table[]; >+-#endif >+- >+ /* >+ * Actual output of an error or trace message. >+ * Applications may override this method to send JPEG messages somewhere >+@@ -409,24 +395,10 @@ my_jpeg_std_error (struct jpeg_error_mgr * err) > GLOBAL(struct jpeg_error_mgr *) > my_jpeg_std_error (struct jpeg_error_mgr * err) > { >-+ struct jpeg_error_mgr std_jpeg_err; >-+ (void)jpeg_std_error(&std_jpeg_err); >++ err = jpeg_std_error(err); > >++ /* override these functions */ > err->error_exit = my_error_exit; >- err->emit_message = emit_message; >-@@ -421,7 +423,7 @@ my_jpeg_std_error (struct jpeg_error_mgr * err) >- err->msg_code = 0; /* may be useful as a flag for "no error" */ >- >- /* Initialize message table pointers */ >+- err->emit_message = emit_message; >+- err->output_message = output_message; >+- err->format_message = format_message; >+- err->reset_error_mgr = reset_error_mgr; >+- >+- err->trace_level = 0; /* default = no tracing */ >+- err->num_warnings = 0; /* no warnings emitted yet */ >+- err->msg_code = 0; /* may be useful as a flag for "no error" */ >+- >+- /* Initialize message table pointers */ > - err->jpeg_message_table = jpeg_std_message_table; >-+ err->jpeg_message_table = std_jpeg_err.jpeg_message_table; >- err->last_jpeg_message = (int) JMSG_LASTMSGCODE - 1; >+- err->last_jpeg_message = (int) JMSG_LASTMSGCODE - 1; >+- >+- err->addon_message_table = nullptr; >+- err->first_addon_message = 0; /* for safety */ >+- err->last_addon_message = 0; > >- err->addon_message_table = nullptr; >+ return err; >+ } >-- >2.45.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279371
:
251045
| 251051