HomeFreeBSD

security/barnyard2: Spell ODBC_CONFIGURE_WITH correctly

Description

security/barnyard2: Spell ODBC_CONFIGURE_WITH correctly

The option now actually activates the ODBC code paths but the port
fails to build with it. The code seems to lack full support for
it in a couple of places, so mark the ODBC option as broken for
now.

spo_database.c:3547:3: error: use of undeclared identifier 'result'
result = 0;
^
spo_database.c:3841:41: warning: incompatible pointer types passing 'SQLINTEGER *' (aka 'int *') to parameter of type 'SQLLEN *' (aka 'long *') [-Wincompatible-pointer-types]
if(SQLRowCount(data->u_statement, &data->u_rows) == SQL_SUCCESS)
^~~~~~~~~~~~~
/usr/local/include/sql.h:768:44: note: passing argument to parameter 'RowCount' here
SQLLEN *RowCount);
^
spo_database.c:3849:33: error: use of undeclared identifier 'result'
result = 0;
^
1 warning and 2 errors generated.

PR: 240237
Approved by: bofh (maintainer timeout, 17 days)

Details

Provenance
tobikAuthored on
Parents
rP512263: MFH: r512262
Branches
Unknown
Tags
Unknown