Move to dcap 2.47.8

- Pick up sources from our github mirror.
- Drop obsolete patches.
Merge pull request #865 from ktf/fix-dcap

Move to dcap 2.47.8.