Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package VFlib3 for openSUSE:Factory checked in at 2025-06-23 15:02:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/VFlib3 (Old) and /work/SRC/openSUSE:Factory/.VFlib3.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "VFlib3" Mon Jun 23 15:02:27 2025 rev:27 rq:1287540 version:3.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/VFlib3/VFlib3.changes 2024-08-23 22:28:21.245107503 +0200 +++ /work/SRC/openSUSE:Factory/.VFlib3.new.7067/VFlib3.changes 2025-06-23 15:02:56.759963053 +0200 @@ -1,0 +2,5 @@ +Sat Jun 21 08:33:06 UTC 2025 - Marguerite Su <i...@marguerite.su> + +- add VFlib3-gcc15.patch, fix build with gcc15 + +------------------------------------------------------------------- New: ---- VFlib3-gcc15.patch ----------(New B)---------- New: - add VFlib3-gcc15.patch, fix build with gcc15 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ VFlib3.spec ++++++ --- /var/tmp/diff_new_pack.ntarH6/_old 2025-06-23 15:02:57.439990680 +0200 +++ /var/tmp/diff_new_pack.ntarH6/_new 2025-06-23 15:02:57.443990842 +0200 @@ -1,7 +1,7 @@ # # spec file for package VFlib3 # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,15 +21,16 @@ Version: 3.7.2 Release: 0 Summary: Versatile Font Library +Summary(ja): "Versatile" フォントライブラリ License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Summary(ja): "Versatile" フォントライブラリ URL: http://www-masu.ist.osaka-u.ac.jp/~kakugawa/VFlib/ Source0: http://www-masu.ist.osaka-u.ac.jp/~kakugawa/download/TypeHack/VFlib3-%{version}.tar.gz +Source1: vflibcap-tex Patch1: VFlib3-add-external.patch Patch2: VFlib3-freetype2-fix.patch Patch3: VFlib3-gcc14-fixes.patch -Source1: vflibcap-tex +Patch4: VFlib3-gcc15.patch BuildRequires: fdupes BuildRequires: imake BuildRequires: libtool @@ -39,7 +40,7 @@ BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) Requires(post): %{install_info_prereq} -Requires(postun):%{install_info_prereq} +Requires(postun): %{install_info_prereq} %description -l ja VFlib は C 言語で書かれたフォントライブラリで、指定したフォン @@ -97,7 +98,7 @@ --with-opentype \ --with-texmf-root=%{_datadir}/texmf \ --with-gettext -make %{?_smp_mflags} +%make_build %install make prefix=%{buildroot}%{_prefix} \ ++++++ VFlib3-gcc15.patch ++++++ Index: VFlib3-3.7.2/src/raster.c =================================================================== --- VFlib3-3.7.2.orig/src/raster.c +++ VFlib3-3.7.2/src/raster.c @@ -27,9 +27,9 @@ Private VF_BITMAP Vbm; Private int Vmax_width, Vmax_height; Private VF_OUTLINE_ELEM read_xy(int*,int*,VF_OUTLINE_ELEM**,VF_OUTLINE_ELEM); -Private void draw_arc(int*,int*,void(*)()); -Private void draw_bezier(int*,int*,void(*)()); -Private void fill_edges(), trace_outline(); +Private void draw_arc(int*,int*,void(*)(int, int, int, int)); +Private void draw_bezier(int*,int*,void(*)(int, int, int, int)); +Private void fill_edges(int, int, int, int), trace_outline(int, int, int, int); #ifndef M_PI # define M_PI 3.14159265358979323846 @@ -119,7 +119,7 @@ vf_draw_outline(VF_BITMAP bm, VF_OUTLINE { int x[4], y[4], f; VF_OUTLINE_ELEM *olp, token; - Private void (*func_table[])() = {fill_edges, trace_outline}; + Private void (*func_table[])(int, int, int, int) = {fill_edges, trace_outline}; Vbm = bm; Vmax_width = outline[VF_OL_HEADER_INDEX_MAX_X]; @@ -199,7 +199,7 @@ read_xy(int *x, int *y, VF_OUTLINE_ELEM } Private void -draw_arc(int *x, int *y, void (*draw_func)()) +draw_arc(int *x, int *y, void (*draw_func)(int, int, int, int)) { double dx1, dy1, dx3, dy3, cx, cy, z, r, ang, dang, ang_step; int i; @@ -261,7 +261,7 @@ draw_arc(int *x, int *y, void (*draw_fun } Private void -draw_bezier(int *x, int* y, void (*draw_func)()) +draw_bezier(int *x, int* y, void (*draw_func)(int, int, int, int)) { int i, xs, ys, xe, ye; static double b[BEZ_DIV][4]; Index: VFlib3-3.7.2/utils/vflx11-2.0.2/vflx11.c =================================================================== --- VFlib3-3.7.2.orig/utils/vflx11-2.0.2/vflx11.c +++ VFlib3-3.7.2/utils/vflx11-2.0.2/vflx11.c @@ -106,7 +106,6 @@ void Win_Init(), Win_Clear(), Win_PutBi int Win_UserCmd(), Win_PollUserCmd(); -extern double atof(); int