Evolution of weak discontinuity in a van der Waals gas