Currently, the Opportunity & Rollup setting Opp_Gift_Role_Contact_Donor__c is deprecated, and the Contact Roles settings are used to determine the Primary Contact Role by record type. If there is no default for that record type, 'Donor' is used - the deprecated Opp_Gift_Role_Contact_Donor__c should be used instead of this default.
The same applies for Org Contact Roles.