summaryrefslogtreecommitdiff
path: root/scripts/package-build/isc-dhcp/patches/0003-fix-compilation-errors.patch
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-22 12:00:10 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-22 16:22:21 +0100
commit53ceb249883ed0dafef2c30db6ff9bef621aba1e (patch)
tree0dc579c5379bcc9af70943344076d066d9f9e253 /scripts/package-build/isc-dhcp/patches/0003-fix-compilation-errors.patch
parent6aa3bb5fa833a87ee69f8b77be9d48647601e3b9 (diff)
downloadvyos-build-53ceb249883ed0dafef2c30db6ff9bef621aba1e.tar.gz
vyos-build-53ceb249883ed0dafef2c30db6ff9bef621aba1e.zip
T6674: move patches to "package/<package_name>" subfolder
This prevents the accidental applying of a patch to multiple source directories defined in package.toml. Example FRR: Package consits of build instructions for libyang, rtrlib and frr itself. Previously patches in frr/patches folder got applied to libyang, rtrlib and frr which made no sense and could also fail a build.
Diffstat (limited to 'scripts/package-build/isc-dhcp/patches/0003-fix-compilation-errors.patch')
-rw-r--r--scripts/package-build/isc-dhcp/patches/0003-fix-compilation-errors.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/scripts/package-build/isc-dhcp/patches/0003-fix-compilation-errors.patch b/scripts/package-build/isc-dhcp/patches/0003-fix-compilation-errors.patch
deleted file mode 100644
index c66e0c7c..00000000
--- a/scripts/package-build/isc-dhcp/patches/0003-fix-compilation-errors.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 58e0d3317795987b2f1ca788645196d0e3543f88 Mon Sep 17 00:00:00 2001
-From: Adam Smith <zero1three@gmail.com>
-Date: Tue, 23 Jan 2024 21:47:00 -0500
-Subject: [PATCH 3/4] fix compilation errors
-
----
- common/lpf.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/common/lpf.c b/common/lpf.c
-index 75609f5..1561d71 100644
---- a/common/lpf.c
-+++ b/common/lpf.c
-@@ -195,6 +195,7 @@ static void lpf_tr_filter_setup (struct interface_info *);
- #endif
-
- static void lpf_gen_filter_setup (struct interface_info *);
-+static void lpf_pureip_gen_filter_setup (struct interface_info *);
-
- void if_register_receive (info)
- struct interface_info *info;
-@@ -215,14 +216,13 @@ void if_register_receive (info)
- }
- #endif
-
--
- #if defined (HAVE_TR_SUPPORT)
- if (info -> hw_address.hbuf [0] == HTYPE_IEEE802)
- lpf_tr_filter_setup (info);
- else
- #endif
- if (info -> hw_address.hbuf [0] == HTYPE_PUREIP)
-- lpf_pureip_filter_setup (info);
-+ lpf_pureip_gen_filter_setup (info);
- else
- lpf_gen_filter_setup (info);
-
-@@ -349,6 +349,7 @@ static void lpf_pureip_gen_filter_setup (info)
- }
- }
-
-+
- #if defined (HAVE_TR_SUPPORT)
- static void lpf_tr_filter_setup (info)
- struct interface_info *info;
---
-2.39.2
-