Breaking of equipartition in one-dimensional heat-conducting systems