summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2005-11-28 22:07:46 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2005-11-28 22:07:46 +0000
commit8a6226826335e8a6dc71d63121b93b9a1d233485 (patch)
treea1e97f681d5d8a5953edeeecf4da15e9014327a9 /sci-misc/boinc/files
parentBack to ~arch. (diff)
downloadgentoo-2-8a6226826335e8a6dc71d63121b93b9a1d233485.tar.gz
gentoo-2-8a6226826335e8a6dc71d63121b93b9a1d233485.tar.bz2
gentoo-2-8a6226826335e8a6dc71d63121b93b9a1d233485.zip
Fix to init script to append log output, bug 103250. Also added GCC 4 fix, thanks to Dario Birtic <dariobirtic@gmx.net>, closes bug 112133.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sci-misc/boinc/files')
-rw-r--r--sci-misc/boinc/files/boinc-4.72.20050813-gcc4-fix.patch11
-rw-r--r--sci-misc/boinc/files/boinc.init2
-rw-r--r--sci-misc/boinc/files/digest-boinc-4.72.20050813-r3 (renamed from sci-misc/boinc/files/digest-boinc-4.72.20050813-r2)0
3 files changed, 12 insertions, 1 deletions
diff --git a/sci-misc/boinc/files/boinc-4.72.20050813-gcc4-fix.patch b/sci-misc/boinc/files/boinc-4.72.20050813-gcc4-fix.patch
new file mode 100644
index 000000000000..a0624b3e05a2
--- /dev/null
+++ b/sci-misc/boinc/files/boinc-4.72.20050813-gcc4-fix.patch
@@ -0,0 +1,11 @@
+--- boinc_public/lib/shmem.C.orig 2005-11-11 02:46:07.000000000 +0100
++++ boinc_public/lib/shmem.C 2005-11-11 02:46:20.000000000 +0100
+@@ -128,7 +128,7 @@
+ return ERR_SHMGET;
+ }
+ p = shmat(id, 0, 0);
+- if ((int)p == -1) {
++ if ((long)p == -1) {
+ return ERR_SHMAT;
+ }
+ *pp = p;
diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 9445aab3b945..2245e29b63ea 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -39,7 +39,7 @@ start() {
setsid start-stop-daemon --quiet --start --chdir ${RUNTIMEDIR} \
--exec ${BOINCBIN} --chuid ${USER}:${GROUP} \
- --nicelevel ${NICELEVEL} -- ${ARGS} > ${LOGFILE} 2>&1 &
+ --nicelevel ${NICELEVEL} -- ${ARGS} >> ${LOGFILE} 2>&1 &
eend $?
}
diff --git a/sci-misc/boinc/files/digest-boinc-4.72.20050813-r2 b/sci-misc/boinc/files/digest-boinc-4.72.20050813-r3
index 0a456c0d3bf4..0a456c0d3bf4 100644
--- a/sci-misc/boinc/files/digest-boinc-4.72.20050813-r2
+++ b/sci-misc/boinc/files/digest-boinc-4.72.20050813-r3