public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfig] epel10.2: Fix spline drawing (rhbz#1665237)
@ 2026-05-30 14:28 Hans de Goede
0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-05-30 14:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10.2
Commit : 4a82806a34100af5aec05177156626cb02ed64dc
Author : Hans de Goede <hdegoede@redhat.com>
Date : 2019-01-11T17:28:50+01:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/xfig/c/4a82806a34100af5aec05177156626cb02ed64dc?branch=epel10.2
Log:
Fix spline drawing (rhbz#1665237)
---
diff --git a/xfig-3.2.7a-spline-fix.patch b/xfig-3.2.7a-spline-fix.patch
new file mode 100644
index 0000000..01ccee1
--- /dev/null
+++ b/xfig-3.2.7a-spline-fix.patch
@@ -0,0 +1,12 @@
+diff -up xfig-3.2.7a/src/d_spline.c~ xfig-3.2.7a/src/d_spline.c
+--- xfig-3.2.7a/src/d_spline.c~ 2016-07-23 23:10:27.000000000 +0200
++++ xfig-3.2.7a/src/d_spline.c 2019-01-11 16:49:43.562644931 +0100
+@@ -168,7 +168,7 @@ make_sfactors(F_spline *spl)
+ {
+ F_point *p = spl->points;
+ F_sfactor *sp, *cur_sp;
+- int type_s = approx_spline(spl) ? S_SPLINE_APPROX : S_SPLINE_INTERP;
++ double type_s = approx_spline(spl) ? S_SPLINE_APPROX : S_SPLINE_INTERP;
+
+ spl->sfactors = NULL;
+ if ((sp = create_sfactor()) == NULL)
diff --git a/xfig.spec b/xfig.spec
index a87bcea..ac6a4fe 100644
--- a/xfig.spec
+++ b/xfig.spec
@@ -3,7 +3,7 @@
Summary: An X Window System tool for drawing basic vector graphics
Name: xfig
Version: 3.2.7a
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
URL: https://en.wikipedia.org/wiki/Xfig
Source0: http://downloads.sourceforge.net/mcj/xfig-%{version}.tar.xz
@@ -13,6 +13,7 @@ Source3: xfig.appdata.xml
Patch0: xfig-3.2.5a-default-apps.patch
Patch1: xfig-3.2.5-urwfonts.patch
+Patch2: xfig-3.2.7a-spline-fix.patch
BuildRequires: gcc
BuildRequires: libjpeg-devel
@@ -104,6 +105,9 @@ appstream-util validate-relax --nonet \
%changelog
+* Fri Jan 11 2019 Hans de Goede <hdegoede@redhat.com> - 3.2.7a-2
+- Fix spline drawing (rhbz#1665237)
+
* Mon Oct 29 2018 Hans de Goede <hdegoede@redhat.com> - 3.2.7a-1
- New upstream release 3.2.7a
- Add Requires: transfig to make sure esp export works (rhbz#1642033)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-30 14:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 14:28 [rpms/xfig] epel10.2: Fix spline drawing (rhbz#1665237) Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox