cannibalise

verb

1.
2.
use parts of something to repair something else