Dr. Werner Fink 2024-07-02 06:12:17 +00:00 committed by Git OBS Bridge
parent 7add4baa64
commit f285cee377
3 changed files with 21 additions and 1 deletions

12
transfig-gcc14.patch Normal file
View File

@ -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;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 2 06:10:51 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- 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

View File

@ -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