US apparel maker Hanesbrands has signed a deal to buy licensed collegiate logo firm Knights Apparel from Merit Capital Partners.