Struggling smart-phone maker Blackberry has agreed in principle to be bought by a consortium led by Fairfax Financial for 4.7bn dollars. Blackberry said in a statement that Fairfax, its largest shareholder with about 10% of the stock, had offered 9 dollars a share in cash to buy the company.