pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/dasher No lldiv on DragonFly, just compute it ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b62d974b00f6
branches:  trunk
changeset: 536876:b62d974b00f6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 27 14:55:36 2007 +0000

description:
No lldiv on DragonFly, just compute it directly
(most likely doesn't make a difference anyway).

diffstat:

 editors/dasher/distinfo         |   4 ++--
 editors/dasher/patches/patch-ag |  11 ++++++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 5e0890abd690 -r b62d974b00f6 editors/dasher/distinfo
--- a/editors/dasher/distinfo   Thu Dec 27 14:24:00 2007 +0000
+++ b/editors/dasher/distinfo   Thu Dec 27 14:55:36 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2007/11/05 20:01:00 drochner Exp $
+$NetBSD: distinfo,v 1.24 2007/12/27 14:55:36 joerg Exp $
 
 SHA1 (dasher-4.6.1.tar.bz2) = 6efeb3fdd160e203b60e5d2b9faca0d243a68ed3
 RMD160 (dasher-4.6.1.tar.bz2) = 77a765ddc623895a2a121732848f00c5a82652d0
@@ -9,4 +9,4 @@
 SHA1 (patch-ad) = 8261c0e7de41fd2729413ee24c24e07cb939a1ae
 SHA1 (patch-ae) = 6e16f33e9ae2a75e0a11294af478cf5d0ab08cdc
 SHA1 (patch-af) = 63b6bb074834cc8203cfe2fdaddd838439ac5b60
-SHA1 (patch-ag) = 7d39c59a8e590bde584b98fc09647acd6839b1b8
+SHA1 (patch-ag) = 405fea543020b4e6c0dfdbd4d4499ad0b189154c
diff -r 5e0890abd690 -r b62d974b00f6 editors/dasher/patches/patch-ag
--- a/editors/dasher/patches/patch-ag   Thu Dec 27 14:24:00 2007 +0000
+++ b/editors/dasher/patches/patch-ag   Thu Dec 27 14:55:36 2007 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-ag,v 1.1 2007/11/05 20:01:00 drochner Exp $
+$NetBSD: patch-ag,v 1.2 2007/12/27 14:55:36 joerg Exp $
 
 --- Src/DasherCore/DasherViewSquare.cpp.orig   2007-10-30 17:46:41.000000000 +0100
 +++ Src/DasherCore/DasherViewSquare.cpp
+@@ -791,7 +791,7 @@ void CDasherViewSquare::GetScaleFactor( 
+ inline myint CDasherViewSquare::CustomIDiv(myint iNumerator, myint iDenominator) { 
+   // Integer division rounding away from zero
+   
+-#ifdef _WIN32
++#if defined(_WIN32) || defined(__DragonFly__)
+   myint quot = iNumerator / iDenominator;
+   myint rem = (int64)iNumerator % (int64)iDenominator;
+ 
 @@ -802,7 +802,7 @@ inline myint CDasherViewSquare::CustomID
    else
      return quot;



Home | Main Index | Thread Index | Old Index