I have used:
# fix libXext inclusion in linker string (gcc >=4.6.2)
msg "fixing libXext inclusion in linker string (gcc=4.6.2)"
sed -i "/LINK/s|$| Xext|" tdegraphics/ksnapshot/CMakeLists.txt
I don't know why I thought that had already been pushed...
I uploaded a slightly modified patch to GIT. Check your email for the bug report status.
Unless you find a build problem we can close the bug report. No sed strings required. :-)
Darrell