diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-04-14 10:57:58 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-04-14 10:57:58 +0000 |
commit | 30d21e2853b1bfcd94f227cec242c16cd82268ea (patch) | |
tree | a4848c98f8806ec18197e62983db6ca40eada778 /net-dialup/gnuradius | |
parent | ia64 + x86 stable wrt bug 174529 (diff) | |
download | gentoo-2-30d21e2853b1bfcd94f227cec242c16cd82268ea.tar.gz gentoo-2-30d21e2853b1bfcd94f227cec242c16cd82268ea.tar.bz2 gentoo-2-30d21e2853b1bfcd94f227cec242c16cd82268ea.zip |
Fix implicit declaration warnings.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-dialup/gnuradius')
-rw-r--r-- | net-dialup/gnuradius/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch | 55 | ||||
-rw-r--r-- | net-dialup/gnuradius/gnuradius-1.4.ebuild | 3 |
3 files changed, 62 insertions, 2 deletions
diff --git a/net-dialup/gnuradius/ChangeLog b/net-dialup/gnuradius/ChangeLog index 85f2f4175586..4dbffc76db5b 100644 --- a/net-dialup/gnuradius/ChangeLog +++ b/net-dialup/gnuradius/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/gnuradius # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.13 2007/02/09 17:57:37 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/ChangeLog,v 1.14 2007/04/14 10:57:58 mrness Exp $ + + 14 Apr 2007; Alin Năstac <mrness@gentoo.org> + +files/gnuradius-1.4-implicit-decl.patch, gnuradius-1.4.ebuild: + Fix implicit declaration warnings. 09 Feb 2007; Alin Năstac <mrness@gentoo.org> -files/gnuradius-1.3-gcc41.patch, -gnuradius-1.3-r2.ebuild: diff --git a/net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch b/net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch new file mode 100644 index 000000000000..bfd17748435d --- /dev/null +++ b/net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch @@ -0,0 +1,55 @@ +diff -Nru radius-1.4.orig/lib/getgr.c radius-1.4/lib/getgr.c +--- radius-1.4.orig/lib/getgr.c 2005-05-18 15:12:19.000000000 +0300 ++++ radius-1.4/lib/getgr.c 2007-04-14 13:49:45.000000000 +0300 +@@ -23,6 +23,7 @@ + #endif + #include <sys/types.h> + #include <stdlib.h> ++#include <string.h> + #include <grp.h> + + #include <radius/mem.h> +diff -Nru radius-1.4.orig/lib/getpw_r.c radius-1.4/lib/getpw_r.c +--- radius-1.4.orig/lib/getpw_r.c 2005-05-18 15:12:19.000000000 +0300 ++++ radius-1.4/lib/getpw_r.c 2007-04-14 13:50:21.000000000 +0300 +@@ -24,6 +24,7 @@ + + #include <sys/types.h> + #include <stdlib.h> ++#include <string.h> + #include <pwd.h> + + LOCK_DECLARE(lock) +diff -Nru radius-1.4.orig/radscm/rscm_lib.c radius-1.4/radscm/rscm_lib.c +--- radius-1.4.orig/radscm/rscm_lib.c 2004-08-26 14:10:16.000000000 +0300 ++++ radius-1.4/radscm/rscm_lib.c 2007-04-14 13:45:38.000000000 +0300 +@@ -22,6 +22,7 @@ + #endif + + #include <libguile.h> ++#include <string.h> + #include <radius/radius.h> + #include <radius/radscm.h> + +diff -Nru radius-1.4.orig/radscm/rscm_utmp.c radius-1.4/radscm/rscm_utmp.c +--- radius-1.4.orig/radscm/rscm_utmp.c 2005-08-12 19:52:41.000000000 +0300 ++++ radius-1.4/radscm/rscm_utmp.c 2007-04-14 13:45:03.000000000 +0300 +@@ -22,6 +22,7 @@ + #endif + + #include <stdlib.h> ++#include <string.h> + #include <sys/types.h> + #include <netinet/in.h> + +diff -Nru radius-1.4.orig/scripts/mktypes.c radius-1.4/scripts/mktypes.c +--- radius-1.4.orig/scripts/mktypes.c 2005-05-18 15:12:22.000000000 +0300 ++++ radius-1.4/scripts/mktypes.c 2007-04-14 13:49:30.000000000 +0300 +@@ -25,6 +25,7 @@ + #ifdef HAVE_STDINT_H + # include <stdint.h> + #endif ++#include <stdio.h> + + #ifndef DEF_AUTH_PORT + # define DEF_AUTH_PORT 1812 diff --git a/net-dialup/gnuradius/gnuradius-1.4.ebuild b/net-dialup/gnuradius/gnuradius-1.4.ebuild index 07851a888105..9ac26a4f104a 100644 --- a/net-dialup/gnuradius/gnuradius-1.4.ebuild +++ b/net-dialup/gnuradius/gnuradius-1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/gnuradius-1.4.ebuild,v 1.2 2007/01/10 19:50:41 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnuradius/gnuradius-1.4.ebuild,v 1.3 2007/04/14 10:57:58 mrness Exp $ inherit libtool eutils @@ -34,6 +34,7 @@ src_unpack() { unpack ${A} epatch "${FILESDIR}/${P}-gcc41.patch" + epatch "${FILESDIR}/${P}-implicit-decl.patch" } src_compile() { |