Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/bash
Date: Wed, 22 Aug 2007 02:41:38 -0700 (PDT)	[thread overview]
Message-ID: <20070822094138.E0955A4710@busybox.net> (raw)

Author: ulf
Date: 2007-08-22 02:41:37 -0700 (Wed, 22 Aug 2007)
New Revision: 19637

Log:
Remove bzero  dependencies in bash

Added:
   trunk/buildroot/package/bash/bash32-remove-bzero-dependancy.patch


Changeset:
Added: trunk/buildroot/package/bash/bash32-remove-bzero-dependancy.patch
===================================================================
--- trunk/buildroot/package/bash/bash32-remove-bzero-dependancy.patch	                        (rev 0)
+++ trunk/buildroot/package/bash/bash32-remove-bzero-dependancy.patch	2007-08-22 09:41:37 UTC (rev 19637)
@@ -0,0 +1,64 @@
+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>

             reply	other threads:[~2007-08-22  9:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22  9:41 ulf at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-06 19:09 [Buildroot] svn commit: trunk/buildroot/package/bash wberrier at uclibc.org
2008-05-01 19:07 nkukard at uclibc.org
2008-04-29 20:03 nkukard at uclibc.org
2008-03-11 18:12 ninevoltz at uclibc.org
2007-10-07 18:23 aldot at uclibc.org
2007-08-22  9:29 ulf at uclibc.org
2007-08-11 23:57 ulf at uclibc.org
2007-07-11 13:55 ulf at uclibc.org
2007-06-25 11:22 aldot at uclibc.org
2007-06-25 11:17 aldot at uclibc.org
2007-04-06 11:55 aldot at uclibc.org
2007-02-16 13:11 aldot at uclibc.org
2006-12-08 12:50 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070822094138.E0955A4710@busybox.net \
    --to=ulf@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox