Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 928592 Details for
Bug 1105932
TeXmacs: FTBFS in rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix qreal-to-double casting error
0001-Fix-qreal-to-double-casting-error-1105932.patch (text/plain), 2.37 KB, created by
Yaakov Selkowitz
on 2014-08-20 03:10:35 UTC
(
hide
)
Description:
Fix qreal-to-double casting error
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-08-20 03:10:35 UTC
Size:
2.37 KB
patch
obsolete
>From ca6af55f6ef67fda189383b664d87bdf1dae0a6c Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Tue, 19 Aug 2014 22:01:22 -0500 >Subject: [PATCH] Fix qreal-to-double casting error (#1105932) > >--- > TeXmacs-1.99.2-qreal-double.patch | 19 +++++++++++++++++++ > TeXmacs.spec | 7 ++++++- > 2 files changed, 25 insertions(+), 1 deletion(-) > create mode 100644 TeXmacs-1.99.2-qreal-double.patch > >diff --git a/TeXmacs-1.99.2-qreal-double.patch b/TeXmacs-1.99.2-qreal-double.patch >new file mode 100644 >index 0000000..1f05b8d >--- /dev/null >+++ b/TeXmacs-1.99.2-qreal-double.patch >@@ -0,0 +1,19 @@ >+diff --git a/src/Plugins/Qt/qt_renderer.cpp b/src/Plugins/Qt/qt_renderer.cpp >+index 9c0862e..93d169f 100755 >+--- a/src/Plugins/Qt/qt_renderer.cpp >++++ b/src/Plugins/Qt/qt_renderer.cpp >+@@ -270,8 +270,12 @@ qt_renderer_rep::lines (array<SI> x, array<SI> y) { >+ int i, n= N(x); >+ if ((N(y) != n) || (n<2)) return; >+ STACK_NEW_ARRAY (pnt, QPointF, n); >+- for (i=0; i<n; i++) >+- decode (x[i], y[i], pnt[i].rx(), pnt[i].ry()); >++ for (i=0; i<n; i++) { >++ SI xx= x[i], yy= y[i]; >++ decode (xx, yy); >++ pnt[i].rx()= xx; >++ pnt[i].ry()= yy; >++ } >+ painter->setRenderHints (QPainter::Antialiasing); >+ painter->drawPolyline (pnt, n); >+ STACK_DELETE_ARRAY (pnt); >diff --git a/TeXmacs.spec b/TeXmacs.spec >index e3e0916..9ed3d58 100644 >--- a/TeXmacs.spec >+++ b/TeXmacs.spec >@@ -1,6 +1,6 @@ > Name: TeXmacs > Version: 1.99.2 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: Structured WYSIWYG scientific text editor > Group: Applications/Editors > License: GPLv2+ >@@ -29,6 +29,7 @@ BuildRequires: autoconf > Provides: texmacs = %{version}-%{release} > Requires: fig2ps > Patch0: TeXmacs-conffix.patch >+Patch1: TeXmacs-1.99.2-qreal-double.patch > > %description > GNU TeXmacs is a free scientific text editor, which was both inspired >@@ -69,6 +70,7 @@ TeXmacs font. > %prep > %setup -q -n TeXmacs-%{version}-src > %patch0 -p1 -b .conffix >+%patch1 -p1 -b .qreal-double > sed -i "s|LDPATH = \@CONFIG_BPATH\@|LDPATH =|" src/makefile.in > sed -i "s|5\.14\.\*|5.15.*|" plugins/maxima/bin/tm_maxima > autoconf -f >@@ -211,6 +213,9 @@ fi > > > %changelog >+* Tue Aug 19 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1.99.2-4 >+- Fix qreal-to-double casting error (#1105932) >+ > * Mon Aug 18 2014 Rex Dieter <rdieter@fedoraproject.org> 1.99.2-3 > - update mime scriptlets > >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1105932
:
903396
|
903397
|
903398
|
908260
| 928592