From f285cee3770e84e0eb00fa6c8b0becca6cec4058359b1d3c6161ccd3be754ce1 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 2 Jul 2024 06:12:17 +0000 Subject: [PATCH] boo#1225947 OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=91 --- transfig-gcc14.patch | 12 ++++++++++++ transfig.changes | 6 ++++++ transfig.spec | 4 +++- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 transfig-gcc14.patch diff --git a/transfig-gcc14.patch b/transfig-gcc14.patch new file mode 100644 index 0000000..32d2bbd --- /dev/null +++ b/transfig-gcc14.patch @@ -0,0 +1,12 @@ +Declare put_msg() (boo#1225947) + +--- fig2dev/dev/genpstex.c ++++ fig2dev/dev/genpstex.c 2024-07-02 06:04:04.359357084 +0000 +@@ -53,6 +53,7 @@ + #include "object.h" + #include "texfonts.h" + #include "setfigfont.h" ++#include "messages.h" + + extern double rad2deg; + diff --git a/transfig.changes b/transfig.changes index 45bdaa2..0a79852 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 2 06:10:51 UTC 2024 - Dr. Werner Fink + +- Add patch transfig-gcc14.patch + * Fix the last missing declaration of put_msg() (boo#1225947 + ------------------------------------------------------------------- Mon Feb 26 15:47:27 UTC 2024 - pgajdos@suse.com diff --git a/transfig.spec b/transfig.spec index 12decac..37275cc 100644 --- a/transfig.spec +++ b/transfig.spec @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,7 @@ Patch0: transfig-3.2.9.dif Patch4: transfig-fix-afl.patch Patch43: fig2dev-3.2.6-fig2mpdf.patch Patch44: fig2dev-3.2.6-fig2mpdf-doc.patch +Patch45: transfig-gcc14.patch Patch47: 0001-Use-native-fig2dev-pdf-output-instead-of-epstopdf.patch BuildRequires: fdupes BuildRequires: libjpeg-devel @@ -71,6 +72,7 @@ find -type f -exec chmod a-x,go-w '{}' \; %patch -P 4 -p1 -b .afl %patch -P 43 -p1 -b .mpdf %patch -P 44 -p1 -b .mpdfdoc +%patch -P 45 -p0 -b .gcc14 %patch -P 47 -p1 -b .epstopdf # remove obsolete libc fallback implementations rm fig2dev/lib/*.c