When building freebsd-usbin with kerberos support, the gssd fails to build. --- gssd.o --- In file included from /usr/include/gssapi/gssapi.h:277:0, from gssd.c:51: gssd.c:84:16: error: expected identifier or ‘(’ before ‘&’ token static gss_OID GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X = ^ This problem comes from the fact that GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X is already defined as: /usr/include/gssapi/gssapi_oid.h:#define GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X (&__gss_krb5_set_allowable_enctypes_x_oid_desc) * Searching for /usr/include/gssapi/gssapi_oid.h ... app-crypt/heimdal-1.5.3-r2 (/usr/include/gssapi/gssapi_oid.h) Reproducible: Always Steps to Reproduce: 1.USE="kerberos" emerge freebsd-usbin 2. 3. Actual Results: Build fails Expected Results: Package is installed
Created attachment 397362 [details, diff] A patch which solves the problem This seems to solve the problem. It should use the heimdal definition instead of the local one. Another possible solution would be to rename the local variable to something else, but I think the introduction of this variable was more of a hack to begin with.
sys-freebsd/* is now pmasked.
sys-freebsd/* removed.