patch(1) problems workaround
. NUL input in 2 source files cause patch(1) to truncate the input (and fail the patches); a sed command removes the NULs . in binutils/ld, configdoc.texi is patched to be removed but some patch(1)es leave an empty file, causing build problems; this file is explicitly removed. Change-Id: Iec38d3992b0df4f7bbb9a87b1320005ab3272ff1
This commit is contained in:
@@ -34,7 +34,7 @@ GNUHOSTDIST?= ${.CURDIR}/../../gnu/dist/${MODULE}
|
||||
# the corresponding ${.CURDIR}, which also conveniently hides from git.
|
||||
.if exists(${GNUHOSTDIST:H}/fetch.sh)
|
||||
${GNUHOSTDIST:H}/.gitignore: ${GNUHOSTDIST:H}/fetch.sh
|
||||
${HOST_SH} ${GNUHOSTDIST:H}/fetch.sh
|
||||
SED=${TOOL_SED} ${HOST_SH} ${GNUHOSTDIST:H}/fetch.sh
|
||||
@test -e ${GNUHOSTDIST}/configure
|
||||
@echo "${MODULE:U${.CURDIR:T}:C,gcc[0-9]*,gcc,}-*.tar.*z*" >> $@
|
||||
@echo ${GNUHOSTDIST:T} >> $@
|
||||
|
||||
Reference in New Issue
Block a user