diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/coreutils | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/coreutils')
-rw-r--r-- | packages/coreutils/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/coreutils/coreutils-5.0/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/coreutils/coreutils-5.0/configure.patch | 47 | ||||
-rw-r--r-- | packages/coreutils/coreutils-5.0/malloc.patch | 19 | ||||
-rw-r--r-- | packages/coreutils/coreutils-5.1.3/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/coreutils/coreutils-5.1.3/install-cross.patch | 27 | ||||
-rw-r--r-- | packages/coreutils/coreutils-5.1.3/man.patch | 42 | ||||
-rw-r--r-- | packages/coreutils/coreutils-native_5.1.3.bb | 7 |
8 files changed, 142 insertions, 0 deletions
diff --git a/packages/coreutils/.mtn2git_empty b/packages/coreutils/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/coreutils/.mtn2git_empty diff --git a/packages/coreutils/coreutils-5.0/.mtn2git_empty b/packages/coreutils/coreutils-5.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/coreutils/coreutils-5.0/.mtn2git_empty diff --git a/packages/coreutils/coreutils-5.0/configure.patch b/packages/coreutils/coreutils-5.0/configure.patch index e69de29bb2..5678c97997 100644 --- a/packages/coreutils/coreutils-5.0/configure.patch +++ b/packages/coreutils/coreutils-5.0/configure.patch @@ -0,0 +1,47 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- coreutils-5.0/configure.ac~configure ++++ coreutils-5.0/configure.ac +@@ -15,6 +15,7 @@ + AC_PROG_GCC_TRADITIONAL + AC_PROG_RANLIB + AC_PROG_LN_S ++AC_PROG_YACC + AC_AIX + AC_MINIX + +@@ -28,6 +29,8 @@ + OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS hostid\$(EXEEXT)" + MAN="$MAN hostid.1") + ++AC_FUNC_ALLOCA ++ + jm_MACROS + + AC_HEADER_TIOCGWINSZ() +--- coreutils-5.0/configure.ac 2004-01-23 14:49:55.000000000 -0500 ++++ coreutils-5.0/configure.ac 2004-01-23 14:41:46.000000000 -0500 +@@ -147,7 +147,7 @@ + fi + fi + +-AC_DEFUN(jm_DUMMY_1, ++AC_DEFUN([jm_DUMMY_1], + [ + AC_REQUIRE([jm_PREREQ_READUTMP]) + if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then +--- coreutils-5.0/m4/nanosleep.m4 2001-09-17 17:44:03.000000000 -0400 ++++ coreutils-5.0/m4/nanosleep.m4 2004-01-23 14:47:18.000000000 -0500 +@@ -12,6 +12,9 @@ + # Solaris 2.5.1 needs -lposix4 to get the nanosleep function. + # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. + AC_SEARCH_LIBS(nanosleep, [rt posix4], [LIB_NANOSLEEP=$ac_cv_search_nanosleep]) ++ if test "$ac_cv_search_nanosleep" = "none required"; then ++ LIB_NANOSLEEP= ++ fi + AC_SUBST(LIB_NANOSLEEP) + + AC_CACHE_CHECK([whether nanosleep works], diff --git a/packages/coreutils/coreutils-5.0/malloc.patch b/packages/coreutils/coreutils-5.0/malloc.patch index e69de29bb2..079b57b94e 100644 --- a/packages/coreutils/coreutils-5.0/malloc.patch +++ b/packages/coreutils/coreutils-5.0/malloc.patch @@ -0,0 +1,19 @@ + +# +# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- coreutils-5.0/lib/putenv.c~malloc ++++ coreutils-5.0/lib/putenv.c +@@ -34,9 +34,11 @@ + char *malloc (); + void free (); + ++#if 0 + #if defined (__GNU_LIBRARY__) || defined (HAVE_STRING_H) + # include <string.h> + #endif ++#endif + #if defined (__GNU_LIBRARY__) || defined (HAVE_UNISTD_H) + # include <unistd.h> + #endif diff --git a/packages/coreutils/coreutils-5.1.3/.mtn2git_empty b/packages/coreutils/coreutils-5.1.3/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/coreutils/coreutils-5.1.3/.mtn2git_empty diff --git a/packages/coreutils/coreutils-5.1.3/install-cross.patch b/packages/coreutils/coreutils-5.1.3/install-cross.patch index e69de29bb2..98ba3d916c 100644 --- a/packages/coreutils/coreutils-5.1.3/install-cross.patch +++ b/packages/coreutils/coreutils-5.1.3/install-cross.patch @@ -0,0 +1,27 @@ +--- src/install.c~ 2003-08-09 18:46:45.000000000 +0100 ++++ src/install.c 2004-03-27 18:38:45.000000000 +0000 +@@ -516,7 +516,14 @@ + strip (const char *path) + { + int status; +- pid_t pid = fork (); ++ pid_t pid; ++ char *strip_name; ++ ++ strip_name = getenv ("STRIP"); ++ if (strip_name == NULL) ++ strip_name = "strip"; ++ ++ pid = fork (); + + switch (pid) + { +@@ -524,7 +531,7 @@ + error (EXIT_FAILURE, errno, _("fork system call failed")); + break; + case 0: /* Child. */ +- execlp ("strip", "strip", path, NULL); ++ execlp (strip_name, "strip", path, NULL); + error (EXIT_FAILURE, errno, _("cannot run strip")); + break; + default: /* Parent. */ diff --git a/packages/coreutils/coreutils-5.1.3/man.patch b/packages/coreutils/coreutils-5.1.3/man.patch index e69de29bb2..b067c380e2 100644 --- a/packages/coreutils/coreutils-5.1.3/man.patch +++ b/packages/coreutils/coreutils-5.1.3/man.patch @@ -0,0 +1,42 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- coreutils-5.1.3/configure.ac~man 2004-01-25 16:57:15.000000000 -0600 ++++ coreutils-5.1.3/configure.ac 2004-06-29 14:22:10.000000000 -0500 +@@ -232,6 +232,20 @@ + AM_GNU_GETTEXT([external], [need-ngettext]) + AM_GNU_GETTEXT_VERSION(0.13.1) + ++AC_MSG_CHECKING([whether to build man pages]) ++AC_ARG_WITH(manpages, ++ AS_HELP_STRING([--with-manpages], ++ [Enable building of manpages (default=yes)]), ++ [cu_cv_build_manpages=$enableval], ++ [cu_cv_build_manpages=yes]) ++# help2man doesn't work when crosscompiling, as it needs to run the ++# binary that was built. ++if test x"$cross_compiling" = x"yes"; then ++ cu_cv_build_manpages=no ++fi ++AC_MSG_RESULT($cu_cv_build_manpages) ++AM_CONDITIONAL(ENABLE_MANPAGES, test x"$cu_cv_build_manpages" = x"yes") ++ + AC_CONFIG_FILES( + Makefile + doc/Makefile +--- coreutils-5.1.3/Makefile.am~man 2003-11-09 14:23:02.000000000 -0600 ++++ coreutils-5.1.3/Makefile.am 2004-06-29 14:18:14.000000000 -0500 +@@ -1,6 +1,11 @@ + ## Process this file with automake to produce Makefile.in -*-Makefile-*- + ++if ENABLE_MANPAGES + SUBDIRS = lib src doc man m4 po tests ++else ++SUBDIRS = lib src doc m4 po tests ++endif ++ + EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \ + .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \ + .x-sc_space_tab .x-sc_sun_os_names \ diff --git a/packages/coreutils/coreutils-native_5.1.3.bb b/packages/coreutils/coreutils-native_5.1.3.bb index e69de29bb2..3fbe1bb6f1 100644 --- a/packages/coreutils/coreutils-native_5.1.3.bb +++ b/packages/coreutils/coreutils-native_5.1.3.bb @@ -0,0 +1,7 @@ +SECTION = "base" +inherit native + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/coreutils-${PV}" +S = "${WORKDIR}/coreutils-${PV}" + +include coreutils_${PV}.bb |