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
commitf15168edb18a61a743c46dc8c4944e94e066500d (patch)
tree112a6c7ce12923110961da6ddd3e376d5bfd6b6a /sci-misc/boinc/files
parentBack to ~arch. (diff)
downloadhistorical-f15168edb18a61a743c46dc8c4944e94e066500d.tar.gz
historical-f15168edb18a61a743c46dc8c4944e94e066500d.tar.bz2
historical-f15168edb18a61a743c46dc8c4944e94e066500d.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.
Package-Manager: portage-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