From Africa’s crowded AIDS clinics to the malarial jungles of Southeast Asia, the lives of millions of ill people in the developing world are hanging in the balance ahead of a legal ruling that will determine whether India’s drug companies can continue to provide cheap versions of many life-saving medicines.

The case — involving Swiss drug maker Novartis AG’s cancer drug Glivec — pits aid groups that argue India plays a vital role as the pharmacy to the poor against drug companies that insist they need strong patents to make drug development profitable. A ruling by India’s Supreme Court is expected in early 2013.