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 | 95dd6255a739058d91800a67c2d952cc785ff8b0 (patch) | |
tree | 14d113e3f3e4f2f0ebfc2efae74d8c6966967125 /net-dialup/gnuradius/files | |
parent | ia64 + x86 stable wrt bug 174529 (diff) | |
download | historical-95dd6255a739058d91800a67c2d952cc785ff8b0.tar.gz historical-95dd6255a739058d91800a67c2d952cc785ff8b0.tar.bz2 historical-95dd6255a739058d91800a67c2d952cc785ff8b0.zip |
Fix implicit declaration warnings.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'net-dialup/gnuradius/files')
-rw-r--r-- | net-dialup/gnuradius/files/gnuradius-1.4-implicit-decl.patch | 55 |
1 files changed, 55 insertions, 0 deletions
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 |