Index: head/databases/soci/Makefile =================================================================== --- head/databases/soci/Makefile (revision 458125) +++ head/databases/soci/Makefile (revision 458126) @@ -1,60 +1,57 @@ # Created by: Julien Laffaye # $FreeBSD$ PORTNAME= soci PORTVERSION= 3.2.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= databases MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= jlaffaye@FreeBSD.org COMMENT= C++ Database Access Library LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt - -BROKEN_armv6= fails to compile: backends/mysql/session.cpp:202:22: error: ordered comparison between pointer and zero ('int *' and 'int') -BROKEN_armv7= fails to compile: backends/mysql/session.cpp:202:22: error: ordered comparison between pointer and zero ('int *' and 'int') USES= cmake zip CMAKE_ARGS+= -DWITH_ORACLE:BOOL=OFF USE_LDCONFIG= yes SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS_DEFINE= MYSQL PGSQL SQLITE ODBC BOOST FIREBIRD BOOST_DESC= Enable support for additional types using Boost OPTIONS_DEFAULT=MYSQL PGSQL SQLITE ODBC BOOST FIREBIRD OPTIONS_SUB= yes # firebird is currently only available on x86. OPTIONS_EXCLUDE_aarch64= FIREBIRD OPTIONS_EXCLUDE_armv6= FIREBIRD OPTIONS_EXCLUDE_armv7= FIREBIRD OPTIONS_EXCLUDE_mips= FIREBIRD OPTIONS_EXCLUDE_mips64= FIREBIRD OPTIONS_EXCLUDE_powerpc= FIREBIRD OPTIONS_EXCLUDE_powerpc64= FIREBIRD OPTIONS_EXCLUDE_sparc64= FIREBIRD MYSQL_USE= MYSQL=yes MYSQL_CMAKE_BOOL= WITH_MYSQL PGSQL_USES= pgsql PGSQL_CMAKE_BOOL= WITH_POSTGRESQL SQLITE_USES= sqlite SQLITE_CMAKE_BOOL= WITH_SQLITE3 ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CMAKE_BOOL= WITH_ODBC ODBC_CMAKE_ON= -DODBC_LIBRARY:FILE_PATH=${LOCALBASE}/lib/libodbc.so BOOST_LIB_DEPENDS= libboost_date_time.so:devel/boost-libs BOOST_CMAKE_BOOL= WITH_BOOST FIREBIRD_USES= firebird FIREBIRD_CMAKE_BOOL= WITH_FIREBIRD .include Index: head/databases/soci/files/patch-backends_mysql_session.cpp =================================================================== --- head/databases/soci/files/patch-backends_mysql_session.cpp (nonexistent) +++ head/databases/soci/files/patch-backends_mysql_session.cpp (revision 458126) @@ -0,0 +1,14 @@ +Patch obtained from upstream +https://github.com/SOCI/soci/commit/165737c4be7d6c9acde92610b92e8f42a4cfe933 + +--- backends/mysql/session.cpp.orig 2018-01-04 20:29:49 UTC ++++ backends/mysql/session.cpp +@@ -199,7 +199,7 @@ void parse_connect_string(const string & + throw soci_error(err); + } + *port = std::atoi(val.c_str()); +- if (port < 0) ++ if (*port < 0) + { + throw soci_error(err); + } Property changes on: head/databases/soci/files/patch-backends_mysql_session.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property