summaryrefslogtreecommitdiff
path: root/package/bash/bash32-remove-bzero-dependancy.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-06-09 10:36:26 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-01 21:42:32 +0200
commit3404ad7c4fd5997ba7becf239ab8bc5b919393aa (patch)
treebf4a1d787f51f7f8aac70693f86a4a1446356a52 /package/bash/bash32-remove-bzero-dependancy.patch
parentda32c7ca2d488ffdd2e37a1cc533338741342a3c (diff)
bash: bump to 4.1.7(1) and migrate to autotargets
Closes #1993 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bash/bash32-remove-bzero-dependancy.patch')
-rw-r--r--package/bash/bash32-remove-bzero-dependancy.patch64
1 files changed, 0 insertions, 64 deletions
diff --git a/package/bash/bash32-remove-bzero-dependancy.patch b/package/bash/bash32-remove-bzero-dependancy.patch
deleted file mode 100644
index 30f31f9a0..000000000
--- a/package/bash/bash32-remove-bzero-dependancy.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -upr bash-3.2.orig/config.h.in bash-3.2/config.h.in
---- bash-3.2.orig/config.h.in 2006-09-12 22:00:54.000000000 +0200
-+++ bash-3.2/config.h.in 2007-08-08 14:15:12.000000000 +0200
-@@ -504,9 +504,6 @@
- /* Define if you have the bcopy function. */
- #undef HAVE_BCOPY
-
--/* Define if you have the bzero function. */
--#undef HAVE_BZERO
--
- /* Define if you have the confstr function. */
- #undef HAVE_CONFSTR
-
-diff -upr bash-3.2.orig/configure.in bash-3.2/configure.in
---- bash-3.2.orig/configure.in 2006-09-26 17:05:45.000000000 +0200
-+++ bash-3.2/configure.in 2007-08-08 14:14:36.000000000 +0200
-@@ -702,7 +702,7 @@ AC_CHECK_FUNCS(dup2 eaccess fcntl getdta
- AC_REPLACE_FUNCS(rename)
-
- dnl checks for c library functions
--AC_CHECK_FUNCS(bcopy bzero confstr fnmatch \
-+AC_CHECK_FUNCS(bcopy confstr fnmatch \
- getaddrinfo gethostbyname getservbyname getservent inet_aton \
- memmove pathconf putenv raise regcomp regexec \
- setenv setlinebuf setlocale setvbuf siginterrupt strchr \
-diff -upr bash-3.2.orig/CWRU/misc/sigstat.c bash-3.2/CWRU/misc/sigstat.c
---- bash-3.2.orig/CWRU/misc/sigstat.c 2002-04-17 19:41:40.000000000 +0200
-+++ bash-3.2/CWRU/misc/sigstat.c 2007-08-08 14:11:36.000000000 +0200
-@@ -86,7 +86,7 @@ int sig;
- init_signames()
- {
- register int i;
-- bzero(signames, sizeof(signames));
-+ memset(signames, 0, sizeof(signames));
-
- #if defined (SIGHUP) /* hangup */
- signames[SIGHUP] = "SIGHUP";
-diff -upr bash-3.2.orig/lib/sh/oslib.c bash-3.2/lib/sh/oslib.c
---- bash-3.2.orig/lib/sh/oslib.c 2001-12-06 19:26:21.000000000 +0100
-+++ bash-3.2/lib/sh/oslib.c 2007-08-08 14:11:44.000000000 +0200
-@@ -170,23 +170,6 @@ bcopy (s,d,n)
- }
- #endif /* !HAVE_BCOPY */
-
--#if !defined (HAVE_BZERO)
--# if defined (bzero)
--# undef bzero
--# endif
--void
--bzero (s, n)
-- char *s;
-- int n;
--{
-- register int i;
-- register char *r;
--
-- for (i = 0, r = s; i < n; i++)
-- *r++ = '\0';
--}
--#endif
--
- #if !defined (HAVE_GETHOSTNAME)
- # if defined (HAVE_UNAME)
- # include <sys/utsname.h>