pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/kdegraphics3 Fix build on Solaris. From KDE's...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c859395858b2
branches:  trunk
changeset: 491736:c859395858b2
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Mar 29 11:03:18 2005 +0000

description:
Fix build on Solaris. From KDE's KDE_3_4_BRANCH.

diffstat:

 graphics/kdegraphics3/distinfo         |   4 +++-
 graphics/kdegraphics3/patches/patch-aa |  13 +++++++++++++
 graphics/kdegraphics3/patches/patch-ab |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r a48e15d0de23 -r c859395858b2 graphics/kdegraphics3/distinfo
--- a/graphics/kdegraphics3/distinfo    Tue Mar 29 10:50:14 2005 +0000
+++ b/graphics/kdegraphics3/distinfo    Tue Mar 29 11:03:18 2005 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.27 2005/03/23 22:26:26 markd Exp $
+$NetBSD: distinfo,v 1.28 2005/03/29 11:03:18 markd Exp $
 
 SHA1 (kdegraphics-3.4.0.tar.bz2) = 91217c718abb551e1c81feda0fd0ce2d4fd21e83
 RMD160 (kdegraphics-3.4.0.tar.bz2) = 5509cc509afaa113c07a8c1eeb5d93afc40150f8
 Size (kdegraphics-3.4.0.tar.bz2) = 6667685 bytes
+SHA1 (patch-aa) = 10828cce1f68a2daa2a0edd6d9182f1f91f5cc53
+SHA1 (patch-ab) = 4019e5509c09cdcaca314d01c3850e818458d698
diff -r a48e15d0de23 -r c859395858b2 graphics/kdegraphics3/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/kdegraphics3/patches/patch-aa    Tue Mar 29 11:03:18 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.7 2005/03/29 11:03:18 markd Exp $
+
+--- kpdf/ui/pageview.cpp.orig  2005-03-29 11:56:20.631795000 +1200
++++ kpdf/ui/pageview.cpp
+@@ -1497,7 +1497,7 @@ void PageView::slotRelayoutPages()
+         // Here we find out column's width and row's height to compute a table
+         // so we can place widgets 'centered in virtual cells'.
+         int nCols = Settings::viewColumns(),
+-            nRows = (int)ceilf( (float)pageCount / (float)nCols ),
++            nRows = (int)ceil( (float)pageCount / (float)nCols ),
+             * colWidth = new int[ nCols ],
+             * rowHeight = new int[ nRows ],
+             cIdx = 0,
diff -r a48e15d0de23 -r c859395858b2 graphics/kdegraphics3/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/kdegraphics3/patches/patch-ab    Tue Mar 29 11:03:18 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.7 2005/03/29 11:03:18 markd Exp $
+
+--- kpdf/ui/presentationwidget.cpp.orig        2005-03-29 11:58:40.224750000 +1200
++++ kpdf/ui/presentationwidget.cpp
+@@ -320,7 +320,7 @@ void PresentationWidget::overlayClick( c
+         return;
+ 
+     // compute angle relative to indicator (note coord transformation)
+-    float angle = 0.5 + 0.5 * atan2f( -xPos, -yPos ) / M_PI;
++    float angle = 0.5 + 0.5 * atan2( -xPos, -yPos ) / M_PI;
+     int pageIndex = (int)( angle * ( m_frames.count() - 1 ) + 0.5 );
+ 
+     // go to selected page



Home | Main Index | Thread Index | Old Index