A Thousand Clowns (1965)
A Thousand Clowns is a 1965 film adaptation from a 1962 play by Herb Gardner, and directed by Fred Coe. It tells the story of an eccentric comic who is forced to conform to society to retain legal custody of his orphaned nephew.
More at Wikipedia.