Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2019 19:43:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240237] security/barnyard2: Mark ODBC option as broken, fix options helper usage
Message-ID:  <bug-240237-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240237

            Bug ID: 240237
           Summary: security/barnyard2: Mark ODBC option as broken, fix
                    options helper usage
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: tobik@freebsd.org
                CC: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org
 Attachment #207049 maintainer-approval?(bofh@freebsd.org)
             Flags:
                CC: bofh@freebsd.org

Created attachment 207049
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207049&action=
=3Dedit
barnyard2.diff

First there is no ODBC_WITH options helper and it should be
ODBC_CONFIGURE_WITH.
However while the ODBC feature is now actually activated, the port will no
longer build with ODBC=3Don due to lack of support in the code. Let's mark =
the
ODBC option as broken.  Previously turning the option on was a nop.
Alternatively, the option could maybe just be removed.

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240237-7788>