Diff newlib-4.1.0-r2 with a newlib-4.2.0.20211231-r1

/usr/portage/sys-libs/newlib/newlib-4.2.0.20211231-r1.ebuild 2023-10-09 14:52:35.560368503 +0300
136 136
		emake -j1 DESTDIR="${NEWLIBNANOTMPINSTALL}" install
137 137
		# Rename nano lib* files to lib*_nano and move to the real ${D}
138 138
		local nanolibfiles=""
139
		nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|m\|rdimon\)\.a" -print)
139
		nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|m\|rdimon\|gloss\)\.a" -print)
140 140
		for f in ${nanolibfiles}; do
141 141
			local l="${f##${NEWLIBNANOTMPINSTALL}}"
142 142
			mv -v "${f}" "${D}/${l%%\.a}_nano.a" || die
143 143
		done
144 144

  
145 145
		# Move newlib-nano's version of newlib.h to newlib-nano/newlib.h
146
		mkdir -p "${D}/usr/${CTARGET}/include/newlib-nano" || die
147
		mv "${NEWLIBNANOTMPINSTALL}/usr/${CTARGET}/include/newlib.h" \
148
			"${D}/usr/${CTARGET}/include/newlib-nano/newlib.h" || die
146
		mkdir -p "${ED}/usr/${CTARGET}/include/newlib-nano" || die
147
		mv "${NEWLIBNANOTMPINSTALL}/${EPREFIX}/usr/${CTARGET}/include/newlib.h" \
148
			"${ED}/usr/${CTARGET}/include/newlib-nano/newlib.h" || die
149 149
	fi
150 150

  
151 151
	# minor hack to keep things clean
Thank you!