summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-02 03:57:36 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-02 03:57:36 +0000
commit08344bcaa39978588e6df59bd7f4f8983bbfad33 (patch)
treeb5ffbae7ec90f44b6fa1541f4b3ded86c07b9a41 /sys-process/daemontools
parentalpha love #122726 (diff)
downloadhistorical-08344bcaa39978588e6df59bd7f4f8983bbfad33.tar.gz
historical-08344bcaa39978588e6df59bd7f4f8983bbfad33.tar.bz2
historical-08344bcaa39978588e6df59bd7f4f8983bbfad33.zip
Include more headers to get proper prototypes by RiverRat #124487.
Package-Manager: portage-2.1_pre5-r1
Diffstat (limited to 'sys-process/daemontools')
-rw-r--r--sys-process/daemontools/ChangeLog8
-rw-r--r--sys-process/daemontools/Manifest37
-rw-r--r--sys-process/daemontools/daemontools-0.76-r5.ebuild15
-rw-r--r--sys-process/daemontools/files/0.76-warnings.patch74
4 files changed, 120 insertions, 14 deletions
diff --git a/sys-process/daemontools/ChangeLog b/sys-process/daemontools/ChangeLog
index 4be43880a56a..93e0068259c8 100644
--- a/sys-process/daemontools/ChangeLog
+++ b/sys-process/daemontools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-process/daemontools
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools/ChangeLog,v 1.3 2005/12/11 09:49:54 uberlord Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools/ChangeLog,v 1.4 2006/03/02 03:57:36 vapier Exp $
+
+ 02 Mar 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/0.76-warnings.patch, daemontools-0.76-r5.ebuild:
+ Include more headers to get proper prototypes by RiverRat #124487.
*daemontools-0.76-r5 (11 Dec 2005)
diff --git a/sys-process/daemontools/Manifest b/sys-process/daemontools/Manifest
index f176aba505e2..7241af381e98 100644
--- a/sys-process/daemontools/Manifest
+++ b/sys-process/daemontools/Manifest
@@ -1,7 +1,34 @@
-MD5 ea7d4d257ee7a69a1b9c3f93071e54b7 ChangeLog 4280
-MD5 0b9029ee963d21b86b60b55a615dab50 daemontools-0.76-r5.ebuild 1588
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 6ce7442b288dd69b4e456d00690a8344 files/0.76-head-1.patch 791
-MD5 bbfe31d704c11d12b2c48b510ad06b77 files/svscan.init 796
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a16ce51689e9d65803e81d535203a5ee ChangeLog 4456
+RMD160 fd089d368b63ca879c813ece10cc3514a423addd ChangeLog 4456
+SHA256 4f7ed8598b024e7a606126f3ad2ffb066ac2a8cca8277b694286aca7faa58725 ChangeLog 4456
+MD5 92b27149b861f543b9ef2d5a7c1474c6 daemontools-0.76-r5.ebuild 1639
+RMD160 492754647004b410b8aabb516284035c7d92763d daemontools-0.76-r5.ebuild 1639
+SHA256 7964503d5dfea233f400c636b8fbad7ef5775355815f29c73840f776e6a81bb0 daemontools-0.76-r5.ebuild 1639
MD5 c75438b1c3b9d9f67691bd10cf3c8e52 files/0.76-errno.patch 246
+RMD160 be7d0b13dac87a0f9a40de3b97aec20cb6c7b665 files/0.76-errno.patch 246
+SHA256 1afaa3b5a26e7382cfe1c9880ddf3910fde4ded6fa815440ef087506543a3947 files/0.76-errno.patch 246
+MD5 6ce7442b288dd69b4e456d00690a8344 files/0.76-head-1.patch 791
+RMD160 70c7cf62931178d28a134f2baec7247bcb97412c files/0.76-head-1.patch 791
+SHA256 e444e85cb751b3df45eaa0569c45fd4ff03faf8b351d8f8cb7cfc9589943ba7b files/0.76-head-1.patch 791
+MD5 ad68177f50bfffb6a1cbf8c668de6a55 files/0.76-warnings.patch 1305
+RMD160 3b2f56931712fa5c087b6b4e0a36545999535829 files/0.76-warnings.patch 1305
+SHA256 42bfcc27660ef6459d39fbaaa9f1852313baadf7b96201872e4deb12804f4833 files/0.76-warnings.patch 1305
MD5 3f0f5c5f8ae8169640d4dff02605d25e files/digest-daemontools-0.76-r5 67
+RMD160 5a96fd8ba9f31155c4e0409e0de2b4f728855802 files/digest-daemontools-0.76-r5 67
+SHA256 d40f21b757598ea1a893341208485c0930825f3423e86cc22e684ef125268c05 files/digest-daemontools-0.76-r5 67
+MD5 bbfe31d704c11d12b2c48b510ad06b77 files/svscan.init 796
+RMD160 e6c688c40ae5d806757af554a9e3a10e4c817420 files/svscan.init 796
+SHA256 2ae51e0ea3e5c2aee24228e437d89d571618cb806da117127b232e3c0102f717 files/svscan.init 796
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
+SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.1 (GNU/Linux)
+
+iD8DBQFEBm1d2+ySkm8kpY0RAujlAKCEd+nz3zepmz6c1330ec5Ayka5HQCfZ52t
+qAkHcmPblnXh1nMCNxguzHk=
+=TolU
+-----END PGP SIGNATURE-----
diff --git a/sys-process/daemontools/daemontools-0.76-r5.ebuild b/sys-process/daemontools/daemontools-0.76-r5.ebuild
index 10db8ba2ebad..c8d6efb0713b 100644
--- a/sys-process/daemontools/daemontools-0.76-r5.ebuild
+++ b/sys-process/daemontools/daemontools-0.76-r5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools/daemontools-0.76-r5.ebuild,v 1.1 2005/12/11 09:49:54 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools/daemontools-0.76-r5.ebuild,v 1.2 2006/03/02 03:57:36 vapier Exp $
inherit eutils toolchain-funcs
@@ -21,15 +21,16 @@ S=${WORKDIR}/admin/${P}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-errno.patch
- epatch ${FILESDIR}/${PV}-head-1.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-errno.patch
+ epatch "${FILESDIR}"/${PV}-head-1.patch
+ epatch "${FILESDIR}"/${PV}-warnings.patch
use static && LDFLAGS="${LDFLAGS} -static"
echo "$(tc-getCC) ${CFLAGS}" > src/conf-cc
echo "$(tc-getCC) ${LDFLAGS}" > src/conf-ld
- echo ${S} > src/home
+ echo "${S}" > src/home
}
src_compile() {
@@ -50,7 +51,7 @@ src_install() {
dodoc CHANGES ../package/README TODO
- newinitd ${FILESDIR}/svscan.init svscan
+ newinitd "${FILESDIR}"/svscan.init svscan
}
pkg_postinst() {
diff --git a/sys-process/daemontools/files/0.76-warnings.patch b/sys-process/daemontools/files/0.76-warnings.patch
new file mode 100644
index 000000000000..f558bb18b1bf
--- /dev/null
+++ b/sys-process/daemontools/files/0.76-warnings.patch
@@ -0,0 +1,74 @@
+Fixup misc warnings
+
+Patch by RiverRat
+
+http://bugs.gentoo.org/124487
+
+--- src/chkshsgr.c
++++ src/chkshsgr.c
+@@ -1,10 +1,13 @@
+ /* Public domain. */
+
++#include <sys/types.h>
++#include <stdlib.h>
++#include <grp.h>
+ #include <unistd.h>
+
+ int main()
+ {
+- short x[4];
++ gid_t x[4];
+
+ x[0] = x[1] = 0;
+ if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
+--- src/matchtest.c
++++ src/matchtest.c
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include "match.h"
+ #include "buffer.h"
+ #include "str.h"
+--- src/multilog.c
++++ src/multilog.c
+@@ -1,3 +1,4 @@
++#include <stdio.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+--- src/prot.c
++++ src/prot.c
+@@ -1,5 +1,8 @@
+ /* Public domain. */
+
++#include <sys/types.h>
++#include <unistd.h>
++#include <grp.h>
+ #include "hasshsgr.h"
+ #include "prot.h"
+
+--- src/seek_set.c
++++ src/seek_set.c
+@@ -1,6 +1,7 @@
+ /* Public domain. */
+
+ #include <sys/types.h>
++#include <unistd.h>
+ #include "seek.h"
+
+ #define SET 0 /* sigh */
+--- src/supervise.c
++++ src/supervise.c
+@@ -1,3 +1,4 @@
++#include <stdio.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+--- src/pathexec_run.c
++++ src/pathexec_run.c
+@@ -1,5 +1,6 @@
+ /* Public domain. */
+
++#include <unistd.h>
+ #include "error.h"
+ #include "stralloc.h"
+ #include "str.h"