diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-05-09 12:22:07 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-05-09 12:22:07 +0000 |
commit | a6ed36b9c135768c6397eb1fb92aa01d7cc6ee57 (patch) | |
tree | 8ee7182e5b5f9fb181adb90031000e3e60066796 /app-arch | |
parent | minor change for prev. commit (diff) | |
download | gentoo-2-a6ed36b9c135768c6397eb1fb92aa01d7cc6ee57.tar.gz gentoo-2-a6ed36b9c135768c6397eb1fb92aa01d7cc6ee57.tar.bz2 gentoo-2-a6ed36b9c135768c6397eb1fb92aa01d7cc6ee57.zip |
Might as well fix implicit declarations too.
(Portage version: 2.1.5_rc7)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/arj/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/arj/arj-3.10.22-r2.ebuild | 8 | ||||
-rw-r--r-- | app-arch/arj/files/arj-3.10.22-implicit-declarations.patch | 33 |
3 files changed, 42 insertions, 6 deletions
diff --git a/app-arch/arj/ChangeLog b/app-arch/arj/ChangeLog index 430fbcb716c8..72da863dde9d 100644 --- a/app-arch/arj/ChangeLog +++ b/app-arch/arj/ChangeLog @@ -1,11 +1,12 @@ # ChangeLog for app-arch/arj # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/ChangeLog,v 1.31 2008/05/09 12:03:50 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/ChangeLog,v 1.32 2008/05/09 12:22:06 drac Exp $ *arj-3.10.22-r2 (09 May 2008) - 09 May 2008; Samuli Suominen <drac@gentoo.org> +arj-3.10.22-r2.ebuild: - Fix parallel building and clean up, thanks to Peter Alfredsen. + 09 May 2008; Samuli Suominen <drac@gentoo.org> +arj-3.10.22-r2.ebuild, + +files/arj-3.10.22-implicit-declarations.patch: + Fix parallel building and implicit declarations, thanks to Peter Alfredsen. 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Fix up metadata.xml. If there's no maintainer for the package, the metadata diff --git a/app-arch/arj/arj-3.10.22-r2.ebuild b/app-arch/arj/arj-3.10.22-r2.ebuild index e54e92a7e635..4bc57a4eba38 100644 --- a/app-arch/arj/arj-3.10.22-r2.ebuild +++ b/app-arch/arj/arj-3.10.22-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/arj-3.10.22-r2.ebuild,v 1.2 2008/05/09 12:14:41 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/arj-3.10.22-r2.ebuild,v 1.3 2008/05/09 12:22:06 drac Exp $ inherit autotools eutils toolchain-funcs @@ -21,7 +21,9 @@ DEPEND="virtual/libc" src_unpack() { unpack ${A} cd "${S}" - epatch "${WORKDIR}"/${P/-/_}-${PATCH_LEVEL}.diff + epatch "${WORKDIR}"/${P/-/_}-${PATCH_LEVEL}.diff \ + "${FILESDIR}"/${P}-implicit-declarations.patch + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \ epatch debian/patches @@ -31,7 +33,7 @@ src_unpack() { src_compile() { cd gnu - CFLAGS="${CFLAGS}" econf + CFLAGS="${CFLAGS} -Wall" econf cd "${S}" sed -i -e '/stripgcc/d' GNUmakefile || die "sed failed." diff --git a/app-arch/arj/files/arj-3.10.22-implicit-declarations.patch b/app-arch/arj/files/arj-3.10.22-implicit-declarations.patch new file mode 100644 index 000000000000..a23429e7bd99 --- /dev/null +++ b/app-arch/arj/files/arj-3.10.22-implicit-declarations.patch @@ -0,0 +1,33 @@ +diff -up arj-3.10.22/environ.c~ arj-3.10.22/environ.c +--- arj-3.10.22/environ.c~ 2008-03-31 15:19:36.000000000 +0200 ++++ arj-3.10.22/environ.c 2008-03-31 15:19:36.000000000 +0200 +@@ -12,6 +12,8 @@ + #include <conio.h> + #include <io.h> + #include <process.h> ++#else ++#include <sys/wait.h> + #endif + + #include <fcntl.h> +diff -up arj-3.10.22/arjsfx.c~ arj-3.10.22/arjsfx.c +--- arj-3.10.22/arjsfx.c~ 2008-03-31 15:17:45.000000000 +0200 ++++ arj-3.10.22/arjsfx.c 2008-03-31 15:17:45.000000000 +0200 +@@ -5,6 +5,7 @@ + * + */ + ++#define _GNU_SOURCE + #include <stdio.h> + #include <signal.h> + +diff -up arj-3.10.22/arj.c~ arj-3.10.22/arj.c +--- arj-3.10.22/arj.c~ 2008-03-31 15:17:14.000000000 +0200 ++++ arj-3.10.22/arj.c 2008-03-31 15:17:14.000000000 +0200 +@@ -5,6 +5,7 @@ + * + */ + ++#define _GNU_SOURCE + #include <stdio.h> + #include <signal.h>
\ No newline at end of file |