public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xfig] epel10: Fix spline drawing (rhbz#1665237)
Date: Sat, 30 May 2026 14:26:01 GMT [thread overview]
Message-ID: <178015116153.1.12108410209734368476.rpms-xfig-4a82806a3410@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10
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
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)
reply other threads:[~2026-05-30 14:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178015116153.1.12108410209734368476.rpms-xfig-4a82806a3410@fedoraproject.org \
--to=hdegoede@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox