diff -rudpN databases/sqlite3.orig/distinfo databases/sqlite3/distinfo --- databases/sqlite3.orig/distinfo 2016-08-20 06:19:29.861945000 +0000 +++ databases/sqlite3/distinfo 2016-08-20 06:28:26.498490000 +0000 @@ -1,3 +1,3 @@ -TIMESTAMP = 1464500377 -SHA256 (sqlite-autoconf-3130000.tar.gz) = e2797026b3310c9d08bd472f6d430058c6dd139ff9d4e30289884ccd9744086b -SIZE (sqlite-autoconf-3130000.tar.gz) = 2459805 +TIMESTAMP = 1471674483 +SHA256 (sqlite-autoconf-3140100.tar.gz) = bc7182476900017becb81565ecea7775d46ab747a97281aa610f4f45881c47a6 +SIZE (sqlite-autoconf-3140100.tar.gz) = 2473610 diff -rudpN databases/sqlite3.orig/Makefile databases/sqlite3/Makefile --- databases/sqlite3.orig/Makefile 2016-08-20 06:19:29.861947000 +0000 +++ databases/sqlite3/Makefile 2016-08-20 06:51:32.139584000 +0000 @@ -2,8 +2,7 @@ # $FreeBSD: head/databases/sqlite3/Makefile 418153 2016-07-06 22:10:14Z mat $ PORTNAME= sqlite3 -PORTVERSION= 3.13.0 -PORTREVISION= 2 +PORTVERSION= 3.14.1 CATEGORIES= databases MASTER_SITES= https://www.sqlite.org/2016/ http://www2.sqlite.org/2016/ http://www3.sqlite.org/2016/ DISTNAME= sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00 @@ -17,8 +16,11 @@ USES= libtool ncurses pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip + +# Platform Configuration CFLAGS+= -Os -CPPFLAGS+= -DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 +CPPFLAGS+= -DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1 +CPPFLAGS+= ${OSVERSION<1000000:?:-DHAVE_STRCHRNUL=1} MAKE_JOBS_UNSAFE= yes @@ -26,7 +28,7 @@ MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= FTS4 UPD_DEL_LIMIT URI URI_AUTHORITY SOUNDEX METADATA \ DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \ EXTENSION ARMOR STMT DBSTAT FTS5 JSON1 RBU \ - LIKENOTBLOB STSHELL FTS3_TOKEN SESSION + LIKENOTBLOB STSHELL FTS3_TOKEN SESSION UNKNOWN_SQL OPTIONS_SINGLE= RAMT OPTIONS_RADIO= STAT OPTIONS_GROUP= UNICODE RTREEG RL @@ -52,6 +54,9 @@ LIKENOTBLOB_DESC= LIKE does not match bl # https://www.sqlite.org/compile.html#enable_api_armor ARMOR_DESC= Detect misuse of the API +# http://sqlite.org/compile.html#enable_unknown_sql_function +UNKNOWN_SQL_DESC= suppress unknown function errors + # https://www.sqlite.org/fts3.html # https://www.sqlite.org/compile.html#enable_fts3_parenthesis FTS4_DESC= Enable FTS3/4 (Full Text Search) module @@ -187,6 +192,8 @@ STSHELL_CONFIGURE_ENABLE= static-shell SESSION_CONFIGURE_ENABLE= session +UNKNOWN_SQL_CPPFLAGS= -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION=1 + .include post-configure: