Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/proftpd
Date: Wed, 18 Jun 2008 07:21:31 -0700 (PDT)	[thread overview]
Message-ID: <20080618142131.44CFD3C6BC@busybox.net> (raw)

Author: jacmet
Date: 2008-06-18 07:21:28 -0700 (Wed, 18 Jun 2008)
New Revision: 22414

Log:
proftpd: remove unneeded susv3 legacy patch


Removed:
   trunk/buildroot/package/proftpd/proftpd-1.3.1-bcopy.patch


Changeset:
Deleted: trunk/buildroot/package/proftpd/proftpd-1.3.1-bcopy.patch
===================================================================
--- trunk/buildroot/package/proftpd/proftpd-1.3.1-bcopy.patch	2008-06-18 13:12:00 UTC (rev 22413)
+++ trunk/buildroot/package/proftpd/proftpd-1.3.1-bcopy.patch	2008-06-18 14:21:28 UTC (rev 22414)
@@ -1,173 +0,0 @@
----
- config.h.in                    |   11 ++++-------
- contrib/mod_load/mod_load.c.in |    2 +-
- include/conf.h                 |   11 -----------
- lib/glibc-glob.c               |   10 ----------
- lib/libltdl/config-h.in        |    7 ++-----
- lib/libltdl/ltdl.c             |    4 ----
- 6 files changed, 7 insertions(+), 38 deletions(-)
-
-Index: proftpd-1.3.1/config.h.in
-===================================================================
---- proftpd-1.3.1.orig/config.h.in
-+++ proftpd-1.3.1/config.h.in
-@@ -202,7 +202,7 @@
- #undef STACK_DIRECTION
- 
- /* Define if you have the ANSI C header files.  */
--#undef STDC_HEADERS
-+#define STDC_HEADERS	1
- 
- /* Define if you can safely include both <sys/time.h> and <time.h>.  */
- #undef TIME_WITH_SYS_TIME
-@@ -214,10 +214,10 @@
- #undef uid_t
- 
- /* The number of bytes in a short.  */
--#undef SIZEOF_SHORT
-+#define SIZEOF_SHORT	2
- 
- /* The number of bytes in an int.  */
--#undef SIZEOF_INT
-+#define SIZEOF_INT	4
- 
- /* The number of bytes in a long.  */
- #undef SIZEOF_LONG
-@@ -234,9 +234,6 @@
- /* The number of bytes in a time_t.  */
- #undef SIZEOF_TIME_T
- 
--/* Define if you have the bcopy function.  */
--#undef HAVE_BCOPY
--
- /* Define if you have the crypt function.  */
- #undef HAVE_CRYPT
- 
-@@ -319,7 +316,7 @@
- #undef HAVE_INET_PTON
- 
- /* Define if you have the memcpy function.  */
--#undef HAVE_MEMCPY
-+#define HAVE_MEMCPY	1
- 
- /* Define if you have the mempcpy function.  */
- #undef HAVE_MEMPCPY
-Index: proftpd-1.3.1/contrib/mod_load/mod_load.c.in
-===================================================================
---- proftpd-1.3.1.orig/contrib/mod_load/mod_load.c.in
-+++ proftpd-1.3.1/contrib/mod_load/mod_load.c.in
-@@ -651,7 +651,7 @@
-       for (i = 0; i < conf.config_maxclass; ++i)
-         {
-           struct class_stats stats;
--          bzero ((char *) &stats, sizeof stats);
-+          memset ((char *) &stats, 0, sizeof stats);
- 
-           desc.sd_type = CPUTYPE_CLASS;
-           desc.sd_objid = i;
-Index: proftpd-1.3.1/include/conf.h
-===================================================================
---- proftpd-1.3.1.orig/include/conf.h
-+++ proftpd-1.3.1/include/conf.h
-@@ -118,10 +118,6 @@
- #  define strrchr rindex
- # endif
- char *strchr(),*strrchr();
--# ifndef HAVE_MEMCPY
--#  define memcpy(d,s,n) bcopy((s),(d),(n))
--#  define memmove(d,s,n) bcopy((s),(d),(n))
--# endif
- #endif
- 
- #ifdef HAVE_BSTRING_H
-@@ -278,13 +274,6 @@
- off_t lseek(int, off_t, int);
- #endif
- 
--/* See if we have bcopy, if not define them to use the memcpy functions */
--
--#ifndef HAVE_BCOPY
--# define bcopy(s,d,n)	memcpy((d),(s),(n))
--# define bzero(d,n)	memset((d),0,(n))
--#endif
--
- /* Solaris has __vsnprintf, but no vsnprintf */
- #if ! defined(HAVE_VSNPRINTF) && defined(HAVE___VSNPRINTF)
- # undef vsnprintf
-Index: proftpd-1.3.1/lib/glibc-glob.c
-===================================================================
---- proftpd-1.3.1.orig/lib/glibc-glob.c
-+++ proftpd-1.3.1/lib/glibc-glob.c
-@@ -215,18 +215,8 @@
- 
- #ifndef	ANSI_STRING
- 
--# ifndef bzero
--extern void bzero ();
--# endif
--# ifndef bcopy
--extern void bcopy ();
--# endif
--
--# define memcpy(d, s, n)	bcopy ((s), (d), (n))
- # define strrchr	rindex
- /* memset is only used for zero here, but let's be paranoid.  */
--# define memset(s, better_be_zero, n) \
--  ((void) ((better_be_zero) == 0 ? (bzero((s), (n)), 0) : (abort(), 0)))
- #endif	/* Not ANSI_STRING.  */
- 
- #if !defined HAVE_STRCOLL && !defined _LIBC
-Index: proftpd-1.3.1/lib/libltdl/config-h.in
-===================================================================
---- proftpd-1.3.1.orig/lib/libltdl/config-h.in
-+++ proftpd-1.3.1/lib/libltdl/config-h.in
-@@ -21,9 +21,6 @@
- /* Define to 1 if you have the <assert.h> header file. */
- #undef HAVE_ASSERT_H
- 
--/* Define to 1 if you have the `bcopy' function. */
--#undef HAVE_BCOPY
--
- /* Define to 1 if you have the `closedir' function. */
- #undef HAVE_CLOSEDIR
- 
-@@ -74,7 +71,7 @@
- #undef HAVE_MALLOC_H
- 
- /* Define to 1 if you have the `memcpy' function. */
--#undef HAVE_MEMCPY
-+#define HAVE_MEMCPY	1
- 
- /* Define to 1 if you have the `memmove' function. */
- #undef HAVE_MEMMOVE
-@@ -180,7 +177,7 @@
- #undef PACKAGE_VERSION
- 
- /* Define to 1 if you have the ANSI C header files. */
--#undef STDC_HEADERS
-+#define STDC_HEADERS	1
- 
- /* Define to empty if `const' does not conform to ANSI C. */
- #undef const
-Index: proftpd-1.3.1/lib/libltdl/ltdl.c
-===================================================================
---- proftpd-1.3.1.orig/lib/libltdl/ltdl.c
-+++ proftpd-1.3.1/lib/libltdl/ltdl.c
-@@ -372,9 +372,6 @@
- 	  if you need that behaviour.  */
- #if ! HAVE_MEMCPY
- 
--#  if HAVE_BCOPY
--#    define memcpy(dest, src, size)	bcopy (src, dest, size)
--#  else
- #    define memcpy rpl_memcpy
- 
- static lt_ptr memcpy LT_PARAMS((lt_ptr dest, const lt_ptr src, size_t size));
-@@ -395,7 +392,6 @@
-   return dest;
- }
- 
--#  endif /* !HAVE_BCOPY */
- #endif   /* !HAVE_MEMCPY */
- 
- #if ! HAVE_MEMMOVE

             reply	other threads:[~2008-06-18 14:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 14:21 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-18  8:45 [Buildroot] svn commit: trunk/buildroot/package/proftpd jacmet at uclibc.org
2008-06-18  9:22 ` Bernhard Fischer
2008-06-18 10:18   ` Peter Korsgaard
2008-06-18 13:48     ` Thiago A. Corrêa
2008-06-18 13:56       ` Thiago A. Corrêa
2008-06-18 14:21         ` Peter Korsgaard
2008-06-18 14:39           ` Bernhard Fischer
2008-06-18 14:57             ` Peter Korsgaard
2007-09-26 10:21 ulf at uclibc.org
2007-07-28 15:21 ulf at uclibc.org
2007-07-17  0:22 sjhill at uclibc.org
2007-07-11 13:55 ulf 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=20080618142131.44CFD3C6BC@busybox.net \
    --to=jacmet@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