[SM-Commit] PERFORCE change 76836 by David Michael Leo Brown Jr. for review
Perforce Review Daemon
p4review at smee.org
Sun Mar 26 15:40:05 EST 2006
Change 76836 by david_brown at dmlb2000-dmlb2004 on 2006/03/26 21:37:10
this is an x86-64 fix type casting a void pointer to an int looses
presision so you need to type cast the -1 to a void pointer to make it
work tested with x86 and it works fine
Affected files ...
... //sgl/grimoires/devel/science/boinc/HISTORY#9 edit
... //sgl/grimoires/devel/science/boinc/PRE_BUILD#3 edit
... //sgl/grimoires/devel/science/boinc/shmem-type-cast-presision-loss.patch#1 add
Differences ...
==== //sgl/grimoires/devel/science/boinc/HISTORY#9 (text) ====
@@ -1,4 +1,10 @@
2006-03-26 David Brown <dmlb2000 at gmail.com>
+ * PRE_BUILD: added patch for loss of presision when type casting a void
+ pointer to an int
+ * shmem-type-cast-presision-loss.patch: the loss of presision shows up
+ on x86-64 machines where a void pointer is different size from an int
+
+2006-03-26 David Brown <dmlb2000 at gmail.com>
* DEPENDS: not elif but just plain if
* BUILD: added program suffix to because /usr/bin/start
fscks up the init process
==== //sgl/grimoires/devel/science/boinc/PRE_BUILD#3 (xtext) ====
@@ -1,3 +1,4 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/shmem-type-cast-presision-loss.patch &&
./_autosetup
More information about the SM-Commit
mailing list