diff --git a/dev-patches/aclocal.patch b/dev-patches/aclocal.patch new file mode 100644 index 0000000..00a9539 --- /dev/null +++ b/dev-patches/aclocal.patch @@ -0,0 +1,23 @@ +diff --git a/aclocal.m4 b/aclocal.m4 +index 26af88aa..66e7b3f1 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -1576,15 +1576,15 @@ AC_DEFUN(BASH_CHECK_DEV_FD, + [AC_MSG_CHECKING(whether /dev/fd is available) + AC_CACHE_VAL(bash_cv_dev_fd, + [bash_cv_dev_fd="" +-if test -d /dev/fd && (exec test -r /dev/fd/0 < /dev/null) ; then ++if test "$host_os" = "openedition" && (exec test -r /dev/fd0 < /dev/null); then ++ bash_cv_dev_fd=nodir # /dev/fdN via character device ++elif test -d /dev/fd && (exec test -r /dev/fd/0 < /dev/null) ; then + # check for systems like FreeBSD 5 that only provide /dev/fd/[012] + if (exec test -r /dev/fd/3 3&${COPROC[1]}- diff --git a/dev-patches/redir.tests.patch b/dev-patches/redir.tests.patch new file mode 100644 index 0000000..e654a66 --- /dev/null +++ b/dev-patches/redir.tests.patch @@ -0,0 +1,13 @@ +diff --git a/tests/redir.tests b/tests/redir.tests +index a17da0fc..59f22af2 100644 +--- a/tests/redir.tests ++++ b/tests/redir.tests +@@ -59,7 +59,7 @@ cat < $z + + echo "Point 1" + +-exec 3$TMPDIR/bash-a + exec 5>$TMPDIR/bash-b + echo "Point 2" diff --git a/dev-patches/dontupstream/sig.c.patch b/dev-patches/sig.c.patch similarity index 100% rename from dev-patches/dontupstream/sig.c.patch rename to dev-patches/sig.c.patch diff --git a/dev-patches/source6.sub.patch b/dev-patches/source6.sub.patch new file mode 100644 index 0000000..8cdec35 --- /dev/null +++ b/dev-patches/source6.sub.patch @@ -0,0 +1,13 @@ +diff --git a/tests/source6.sub b/tests/source6.sub +index 24372927..cdae2cbb 100644 +--- a/tests/source6.sub ++++ b/tests/source6.sub +@@ -32,7 +32,7 @@ echo $? + echo $? + + # pipe +-if [ -e /dev/stdin ]; then ++if /bin/test -e /dev/stdin; then + echo "echo three - OK" | . /dev/stdin + echo $? + else