[MacPorts] #41056: Mavericks + gcc48 build breaks + fixes