mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Ever since an old patch version, it has (for reasonable security reasons) not supported patched with ../ in the filename. Many of our patches have been relying on this behaviour being OK, because we start off with an ancient patch version that didn't perform such checks. As soon as we need this behaviour after we build a newer patch though, we will have problems. So, let's change the policy. Patches are relative to where tarballs are extracted, rather than the "working directory" - e.g. have patches for `coreutils-9.4/src/cp.c` instead of `src/cp.c`. Keeping this consistent has a few implications; - patches are applied from the build/ directory in bash era now, with `-p0` - when patches are manually applied in the bash era, use `-p` as required, usually `-p1` - in kaem era where patches are always manually applied, `-p1` is used
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
Disable features unsupported by Autoconf 2.52
|
|
|
|
--- autoconf-2.53/configure.ac Wed Mar 17 19:53:06 2021
|
|
+++ autoconf-2.53/configure.ac.new Wed Mar 17 19:52:53 2021
|
|
@@ -19,8 +19,7 @@
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
# 02111-1307, USA.
|
|
|
|
-# We need AC_CONFIG_TESTDIR.
|
|
-AC_PREREQ([2.53])
|
|
+AC_PREREQ([2.52])
|
|
|
|
AC_INIT([GNU Autoconf], [2.53], [bug-autoconf@gnu.org])
|
|
AC_SUBST([PACKAGE_NAME])dnl
|
|
@@ -32,7 +31,6 @@
|
|
AM_INIT_AUTOMAKE
|
|
|
|
# Initialize the test suite and build position independent wrappers.
|
|
-AC_CONFIG_TESTDIR([tests])
|
|
AC_CONFIG_FILES([tests/Makefile tests/atlocal])
|
|
AC_CONFIG_FILES([tests/autoconf:tests/wrapsh.in],
|
|
[chmod +x tests/autoconf])
|
|
@@ -85,16 +73,4 @@
|
|
bin/Makefile])
|
|
|
|
AC_OUTPUT
|
|
-# Report the state of this version of Autoconf if this is a beta.
|
|
-m4_bmatch(m4_defn([AC_PACKAGE_VERSION]), [[a-z]],
|
|
-[ cat <<EOF
|
|
-
|
|
-You are about to use an experimental version of Autoconf. Be sure to
|
|
-read the relevant mailing lists, most importantly <autoconf@gnu.org>.
|
|
-
|
|
-Below you will find information on the status of this version of Autoconf.
|
|
-
|
|
|
|
-EOF
|
|
- sed -n '/^\* Status/,$p' $srcdir/BUGS
|
|
-])
|