summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-12-27 14:55:36 +0000
committerjoerg <joerg@pkgsrc.org>2007-12-27 14:55:36 +0000
commitaf413c496223e86fb92eed00f7176db6856a2f7a (patch)
tree5ba562086075ec1c47452ef90ea316464649a2f6 /editors
parent5f09e6a2e42644cc3fa4885b0630c5f20e3365af (diff)
downloadpkgsrc-af413c496223e86fb92eed00f7176db6856a2f7a.tar.gz
No lldiv on DragonFly, just compute it directly
(most likely doesn't make a difference anyway).
Diffstat (limited to 'editors')
-rw-r--r--editors/dasher/distinfo4
-rw-r--r--editors/dasher/patches/patch-ag11
2 files changed, 12 insertions, 3 deletions
diff --git a/editors/dasher/distinfo b/editors/dasher/distinfo
index 24d94a7efb1..d9c3145dc2d 100644
--- a/editors/dasher/distinfo
+++ b/editors/dasher/distinfo
@@ -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-ac) = 9c21bac777158e564a69b5f2735380c6a2b985e8
SHA1 (patch-ad) = 8261c0e7de41fd2729413ee24c24e07cb939a1ae
SHA1 (patch-ae) = 6e16f33e9ae2a75e0a11294af478cf5d0ab08cdc
SHA1 (patch-af) = 63b6bb074834cc8203cfe2fdaddd838439ac5b60
-SHA1 (patch-ag) = 7d39c59a8e590bde584b98fc09647acd6839b1b8
+SHA1 (patch-ag) = 405fea543020b4e6c0dfdbd4d4499ad0b189154c
diff --git a/editors/dasher/patches/patch-ag b/editors/dasher/patches/patch-ag
index 6326e7f62b0..011290b93af 100644
--- a/editors/dasher/patches/patch-ag
+++ b/editors/dasher/patches/patch-ag
@@ -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;