From owner-svn-ports-head@freebsd.org Wed Sep 18 09:29:54 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D62C4F8B74; Wed, 18 Sep 2019 09:29:54 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46YF7Q5DvFz46Vf; Wed, 18 Sep 2019 09:29:54 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B15922F5E; Wed, 18 Sep 2019 09:29:54 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8I9Tsc5078673; Wed, 18 Sep 2019 09:29:54 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8I9TsUO078672; Wed, 18 Sep 2019 09:29:54 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201909180929.x8I9TsUO078672@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 18 Sep 2019 09:29:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512264 - head/security/barnyard2 X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/security/barnyard2 X-SVN-Commit-Revision: 512264 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Sep 2019 09:29:54 -0000 Author: tobik Date: Wed Sep 18 09:29:53 2019 New Revision: 512264 URL: https://svnweb.freebsd.org/changeset/ports/512264 Log: 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) Modified: head/security/barnyard2/Makefile Modified: head/security/barnyard2/Makefile ============================================================================== --- head/security/barnyard2/Makefile Wed Sep 18 09:26:07 2019 (r512263) +++ head/security/barnyard2/Makefile Wed Sep 18 09:29:53 2019 (r512264) @@ -3,7 +3,7 @@ PORTNAME= barnyard2 PORTVERSION= 1.13 DISTVERSIONPREFIX= v2- -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MAINTAINER= bofh@FreeBSD.org @@ -56,8 +56,9 @@ MYSQL_CONFIGURE_WITH= mysql MYSQL_CONFIGURE_ON= --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libraries=${LOCALBASE}/lib/mysql MYSQL_SSL_CONFIGURE_ENABLE= mysql-ssl-support +ODBC_BROKEN= fails to build with ODBC=on ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_WITH= odbc +ODBC_CONFIGURE_WITH= odbc PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE}/bin/pg_config --with-pgsql-includes=${LOCALBASE}/include/postgresql/server PGSQL_CONFIGURE_OFF= --without-postgresql