Date: Sunday, October 16, 2022 @ 17:17:51 Author: arojas Revision: 458256
upgpkg: graphviz 6.0.2-1: Update to 6.0.2 Modified: graphviz/trunk/PKGBUILD Deleted: graphviz/trunk/0001_stop_using_now-hidden_gs_error_names_symbol.patch --------------------------------------------------------+ 0001_stop_using_now-hidden_gs_error_names_symbol.patch | 32 --------------- PKGBUILD | 13 +----- 2 files changed, 4 insertions(+), 41 deletions(-) Deleted: 0001_stop_using_now-hidden_gs_error_names_symbol.patch =================================================================== --- 0001_stop_using_now-hidden_gs_error_names_symbol.patch 2022-10-16 17:12:35 UTC (rev 458255) +++ 0001_stop_using_now-hidden_gs_error_names_symbol.patch 2022-10-16 17:17:51 UTC (rev 458256) @@ -1,32 +0,0 @@ -From 00e64ef3b5cd5a06414070c530c957f03b9cbf9d Mon Sep 17 00:00:00 2001 -From: Mark Hansen <markhan...@google.com> -Date: Mon, 26 Sep 2022 20:43:39 +1000 -Subject: [PATCH] Stop using now-hidden gs_error_names symbol - -GhostScript hid their gs_error_names symbol as part of a global by-default hiding of non-API symbols. - -It will probably take a while for GhostScript to get a public API for these symbols back into a release, so let's stop using the symbol for now, until then. - -Fixes #2280 ---- - plugin/gs/gvloadimage_gs.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/plugin/gs/gvloadimage_gs.c b/plugin/gs/gvloadimage_gs.c -index e909c6f32..d852663af 100644 ---- a/plugin/gs/gvloadimage_gs.c -+++ b/plugin/gs/gvloadimage_gs.c -@@ -86,8 +86,8 @@ static void gs_error(GVJ_t * job, const char *name, const char *funstr, int err) - else - errsrc = "Ghostscript internal error"; - -- job->common->errorfn("%s: %s() returned: %d \"%s\" (%s)\n", -- name, funstr, err, gs_error_names[-err - 1], errsrc); -+ job->common->errorfn("%s: %s() returned: %d (%s)\n", -+ name, funstr, err, errsrc); - } - - static int gvloadimage_process_file(GVJ_t *job, usershape_t *us, void *instance) --- -GitLab - Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-16 17:12:35 UTC (rev 458255) +++ PKGBUILD 2022-10-16 17:17:51 UTC (rev 458256) @@ -3,7 +3,7 @@ # Contributor: John Proctor <jproc...@prium.net> pkgname=graphviz -pkgver=6.0.1 +pkgver=6.0.2 pkgrel=1 pkgdesc='Graph visualization software' url='https://www.graphviz.org/' @@ -23,19 +23,14 @@ 'gtk2: gtk output plugin' 'xterm: vimdot') source=("https://gitlab.com/graphviz/graphviz/-/archive/$pkgver/$pkgname-$pkgver.tar.gz" - 'ghostscript918.patch' - 0001_stop_using_now-hidden_gs_error_names_symbol.patch) -sha256sums=('92a5cabb71c2610ffb713f0da7ee595fa143f3fae5eaff172927dd27355d9775' - '0083d126e27f2223ec4226fc1d71c9c84106968a0fdf65de838aee1e4882bfdb' - '6b54b43d86856626f67c824058aca966494ac5d64d901d66340a0e3838d69ae9') + 'ghostscript918.patch') +sha256sums=('a9b823af1f1648f1c325050c45b401c38bde86519e8c1ade16284a8f68bed3ff' + '0083d126e27f2223ec4226fc1d71c9c84106968a0fdf65de838aee1e4882bfdb') install=install prepare() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 -i ../ghostscript918.patch - # FS#75991 / https://gitlab.com/graphviz/graphviz/-/issues/2280 - # https://gitlab.com/graphviz/graphviz/-/issues/2280 - patch -p1 -i ../0001_stop_using_now-hidden_gs_error_names_symbol.patch ./autogen.sh NOCONFIG }