BLFS_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-blfs.html
CLFS_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-clfs.html
HV_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-hv.html
BLFS_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-blfs.html
CLFS_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-clfs.html
HV_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-hv.html
+ if [ -n "${USE_LFS_OLD_PATCHES}" ]; then
+ # Getting list of all LFS old patches from hugovil.com server.
+ rcmd "Fetching LFS old patches list" static_fetch_patches_list \
+ ${LFS_OLD_PATCHES_URL} ${LFS_OLD_PATCHES_LIST}
+ fi
+
if [ -n "${USE_BLFS_PATCHES}" ]; then
# Getting list of all patches from BLFS server.
rcmd "Fetching BLFS patches list" static_fetch_patches_list ${BLFS_PATCHES_URL} ${BLFS_PATCHES_LIST}
if [ -n "${USE_BLFS_PATCHES}" ]; then
# Getting list of all patches from BLFS server.
rcmd "Fetching BLFS patches list" static_fetch_patches_list ${BLFS_PATCHES_URL} ${BLFS_PATCHES_LIST}
# We must search for a patch beginning with either a slash or a " to avoid
# the possibility of having another package name within a patch name:
# if patch = Mesalib-8.0.4-llvm-3.1-fixes-1.patch
# then we could erroneously try to download patch "llvm-3.1-fixes-1.patch"
local PATCHES_FOUND=$(cat ${PATCHES_LIST} | \
egrep "\"${PACK_URL}-|/${PACK_URL}-" | \
# We must search for a patch beginning with either a slash or a " to avoid
# the possibility of having another package name within a patch name:
# if patch = Mesalib-8.0.4-llvm-3.1-fixes-1.patch
# then we could erroneously try to download patch "llvm-3.1-fixes-1.patch"
local PATCHES_FOUND=$(cat ${PATCHES_LIST} | \
egrep "\"${PACK_URL}-|/${PACK_URL}-" | \
if [ -n "${USE_BLFS_PATCHES}" ]; then
# Checking if patch is available from BLFS.
static_checkpatch ${PACK} ${BLFS_PATCHES_LIST} ${BLFS_PATCHES_URL}
if [ -n "${USE_BLFS_PATCHES}" ]; then
# Checking if patch is available from BLFS.
static_checkpatch ${PACK} ${BLFS_PATCHES_LIST} ${BLFS_PATCHES_URL}