public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfig] epel10: Fix crash when changing arrow size on x86_64 (rhbz#1046102)
@ 2026-05-30 14:25 Hans de Goede
  0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-05-30 14:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xfig
Branch : epel10
Commit : ba041598476a452115a89b7dedfc4ee3ee69ffc0
Author : Hans de Goede <hdegoede@redhat.com>
Date   : 2014-06-18T17:05:11+02:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/xfig/c/ba041598476a452115a89b7dedfc4ee3ee69ffc0?branch=epel10

Log:
Fix crash when changing arrow size on x86_64 (rhbz#1046102)

---
diff --git a/xfig-3.2.5-rhbz1046102.patch b/xfig-3.2.5-rhbz1046102.patch
new file mode 100644
index 0000000..23e8a52
--- /dev/null
+++ b/xfig-3.2.5-rhbz1046102.patch
@@ -0,0 +1,12 @@
+diff -up xfig.3.2.5c/w_indpanel.c~ xfig.3.2.5c/w_indpanel.c
+--- xfig.3.2.5c/w_indpanel.c~	2011-09-30 21:27:36.000000000 +0200
++++ xfig.3.2.5c/w_indpanel.c	2014-06-18 16:39:38.783389253 +0200
+@@ -1266,7 +1266,7 @@ static void
+ set_arrow_size_state(Widget w, XtPointer closure, XtPointer call_data)
+ {
+     Boolean	    state;
+-    int		    which;
++    intptr_t	    which;
+     Pixel	    bg1, bg2, fg1, fg2;
+ 
+     /* check state of the toggle and set/remove checkmark */

diff --git a/xfig.spec b/xfig.spec
index d6224bf..5771030 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.5
-Release: 42.c%{?dist}
+Release: 43.c%{?dist}
 License: MIT
 Group: Applications/Multimedia
 URL: http://www.xfig.org/
@@ -23,6 +23,7 @@ Patch5: 33_pdfimport_mediabox.patch
 Patch6: 38_formatstring.patch
 Patch7: 39_add_xfig_man_html.patch
 Patch8: 40_fix_dash_list_for_different_styles.patch
+Patch9: xfig-3.2.5-rhbz1046102.patch
 
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
@@ -96,6 +97,7 @@ Files common to both the plain Xaw and the Xaw3d version of xfig.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 iconv -f ISO-8859-1 -t UTF8 CHANGES > tmp; touch -r CHANGES tmp; mv tmp CHANGES
 rm Doc/html/images/sav1a0.tmp
@@ -178,6 +180,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Wed Jun 18 2014 Hans de Goede <hdegoede@redhat.com> - 3.2.5-43.c
+- Fix crash when changing arrow size on x86_64 (rhbz#1046102)
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-42.c
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-30 14:25 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:25 [rpms/xfig] epel10: Fix crash when changing arrow size on x86_64 (rhbz#1046102) 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