/[ports]
ViewVC logotype

Revision 512264


Jump to revision: Previous Next
Author: tobik
Date: Wed Sep 18 09:29:53 2019 UTC (4 years, 9 months ago)
Changed paths: 1
Log Message:
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)


Changed paths

Path Details
Directoryhead/security/barnyard2/Makefile modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27