patch for macOS 14.4 and gcc 8 added
This commit is contained in:
@@ -2,14 +2,17 @@
|
||||
|
||||
pbuild::set_download_url "https://ftp.gnu.org/gnu/gcc/$P-$V/$P-$V.tar.gz"
|
||||
|
||||
pbuild::patch_sources_Darwin() {
|
||||
pbuild::pre_prep() {
|
||||
if (( V_MAJOR == 4 && V_MINOR <= 8 )) || \
|
||||
(( V_MAJOR == 4 && V_MINOR == 9 && V_PATCHLVL < 4)); then
|
||||
patch -p1 < "${BUILDBLOCK_DIR}/${V_MAJOR}/non-dead-strip.patch"
|
||||
patch -p1 < "${BUILDBLOCK_DIR}/${V_MAJOR}/configure-as.patch"
|
||||
pbuild::add_patch_Darwin "${V_MAJOR}/non-dead-strip.patch"
|
||||
pbuild::add_patch_Darwin "${V_MAJOR}/configure-as.patch"
|
||||
fi
|
||||
if (( V_MAJOR == 5 )) || (( V_MAJOR == 6 )); then
|
||||
patch -p1 < "${BUILDBLOCK_DIR}/${V_MAJOR}/PR57438_avoiding_empty_function_bodies_and_trailing_labels.patch"
|
||||
pbuild::add_patch_Darwin "${V_MAJOR}/PR57438_avoiding_empty_function_bodies_and_trailing_labels.patch"
|
||||
fi
|
||||
if (( V_MAJOR == 8 )); then
|
||||
pbuild::add_patch_Darwin "files/headers-10.14.4-fix.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user