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
17 lines
636 B
Diff
17 lines
636 B
Diff
SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
Remove -Wno-array-bounds which gcc-4.0.4 doesn't recognize
|
|
|
|
--- linux-4.14.336/drivers/net/ethernet/broadcom/Makefile.bak 2024-02-15 17:05:34.617050047 +0100
|
|
+++ linux-4.14.336/drivers/net/ethernet/broadcom/Makefile 2024-02-15 17:06:06.097047984 +0100
|
|
@@ -16,8 +16,3 @@
|
|
obj-$(CONFIG_BGMAC_PLATFORM) += bgmac-platform.o
|
|
obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
|
|
obj-$(CONFIG_BNXT) += bnxt/
|
|
-
|
|
-# FIXME: temporarily silence -Warray-bounds on non W=1+ builds
|
|
-ifndef KBUILD_EXTRA_WARN
|
|
-CFLAGS_tg3.o += -Wno-array-bounds
|
|
-endif
|