Attached patch fixed building with the hamlib-4 for us in Fedora. I think the patch should be compatible with the hamlib-3 as well (I didn't try). The problem with hamlib-4 is that they changed:
typedef int rig_model_t;
to
typedef uint32_t rig_model_t;
Just dropping the typedef from the Dream code and explicit casting to int in the CSettings API worked for us. Maybe the CSettings API could be extended to support uint32_t type instead.
I came to the same conclusion - there's no need for the typedef in DialogUtil.h. This and the gps changes are in the dream-ollie branch and we would hope to include them in a release before too long.
The dream-ollie branch builds fine for me on fedora-37 (rawhide).