pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/dosbox Use rint instead of lround to make it...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0f1fcb5c4c80
branches: trunk
changeset: 481506:0f1fcb5c4c80
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Oct 06 00:09:23 2004 +0000
description:
Use rint instead of lround to make it build on 2.0.
diffstat:
emulators/dosbox/distinfo | 3 ++-
emulators/dosbox/patches/patch-aa | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 1f00c71894e7 -r 0f1fcb5c4c80 emulators/dosbox/distinfo
--- a/emulators/dosbox/distinfo Wed Oct 06 00:09:02 2004 +0000
+++ b/emulators/dosbox/distinfo Wed Oct 06 00:09:23 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2004/10/01 00:09:17 xtraeme Exp $
+$NetBSD: distinfo,v 1.6 2004/10/06 00:09:23 wiz Exp $
SHA1 (dosbox-0.62.tar.gz) = 998053d80fa70b761e9752b36abaf79433eadaff
Size (dosbox-0.62.tar.gz) = 633259 bytes
+SHA1 (patch-aa) = 3393501f0d438e53a55481dc0e237c2bb2a75d3e
diff -r 1f00c71894e7 -r 0f1fcb5c4c80 emulators/dosbox/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/dosbox/patches/patch-aa Wed Oct 06 00:09:23 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2004/10/06 00:09:23 wiz Exp $
+
+--- src/dos/cdrom_image.cpp.orig 2004-08-23 11:35:15.000000000 +0200
++++ src/dos/cdrom_image.cpp
+@@ -111,7 +111,7 @@ int CDROM_Interface_Image::AudioFile::ge
+ while (true) {
+ int success = Sound_Seek(sample, (unsigned int)(shift + time));
+ if (!success) {
+- if (time == 1) return lround((double)shift * 176.4f);
++ if (time == 1) return rint((double)shift * 176.4f);
+ shift += time >> 1;
+ time = 1;
+ } else {
Home |
Main Index |
Thread Index |
Old Index