Fix build errors in Leap 15.6. [boo#1220270]
branch from Backports SP5
branch from SP4 Backports
Mirrored from OBS SR#916392 update haskell stack
The Open Build Service is an openSUSE project.