[SM-Commit] GIT changes to test grimoire by Eric Sandall (47817afd7df6127e8582e6cf11bb7df15ee31d11)

Eric Sandall scm at mail.sourcemage.org
Fri Jun 16 18:03:57 EDT 2006


GIT changes to test grimoire by Eric Sandall <sandalle at sourcemage.org>:

 science/boinc/HISTORY                              |    4 ++++
 science/boinc/PRE_BUILD                            |    7 +++----
 science/boinc/shmem-type-cast-presision-loss.patch |   13 -------------
 3 files changed, 7 insertions(+), 17 deletions(-)

New commits:
commit 47817afd7df6127e8582e6cf11bb7df15ee31d11
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    Fix boinc to compile with latest CVS

diff --git a/science/boinc/HISTORY b/science/boinc/HISTORY
index 50ca09e..4bfd7b8 100644
--- a/science/boinc/HISTORY
+++ b/science/boinc/HISTORY
@@ -1,3 +1,7 @@
+2006-05-17 Eric Sandall <eric at sandall.us>
+	* shmem-type-cast-presision-loss.patch: Removed (now uses (long)p)
+	* PRE_BUILD: No longer try to apply shmem-type-cast-presision-loss.patch
+
 2006-03-28 Eric Sandall <eric at sandall.us>
 	* DETAILS: Added PATCHLEVEL so people get the boinc init script (if they
 	  haven't already) and so people with the current init script get the fixed
diff --git a/science/boinc/PRE_BUILD b/science/boinc/PRE_BUILD
index 559aa74..da6edf1 100755
--- a/science/boinc/PRE_BUILD
+++ b/science/boinc/PRE_BUILD
@@ -1,5 +1,4 @@
-create_account  boinc  '/var/lib/boinc'                               &&
-default_pre_build                                                     &&
-cd $SOURCE_DIRECTORY                                                  &&
-patch  -p1  <  $SPELL_DIRECTORY/shmem-type-cast-presision-loss.patch  &&
+create_account  boinc  '/var/lib/boinc'  &&
+default_pre_build                        &&
+cd $SOURCE_DIRECTORY                     &&
 ./_autosetup
diff --git a/science/boinc/shmem-type-cast-presision-loss.patch b/science/boinc/shmem-type-cast-presision-loss.patch
deleted file mode 100644
index de9b9fe..0000000
--- a/science/boinc/shmem-type-cast-presision-loss.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/shmem.C b/lib/shmem.C
-index f40567b..3c7b684 100755
---- a/lib/shmem.C
-+++ b/lib/shmem.C
-@@ -129,7 +129,7 @@ int attach_shmem(key_t key, void** pp){
-         return ERR_SHMGET;
-     }
-     p = shmat(id, 0, 0);
--    if ((int)p == -1) {
-+    if (p == (void*)-1) {
-         return ERR_SHMAT;
-     }
-     *pp = p;



More information about the SM-Commit mailing list