I haven't read any explicit references to boredom across Buddhist literature, but as a form of physical suffering (under-stimulation) I guess boredom would be treated like any other form of physical ...