- Various ARM improvements [1]
- Disable building in qemu-user-static [1]
- Fix test target [1]
PR: 221297
Submitted by: Dmitri Goutnik <dg@syrec.org> [1]
the shared library libgcc_s.so (-lgcc_s). Both implement many of the
same functions but they also each have their unique functions. When
GCC links programs and libraries there are three possibilities:
1. gcc -static-libgcc or gcc -static: -lgcc
=> Just use libgcc.a.
2. gcc -shared-libgcc: -lgcc_s -lgcc
=> Link with libgcc_s first, so libgcc.a is only used for its unique
functions.
3. gcc: -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
=> Link with libgcc.a first so libgcc_s is only used for its unique
functions (_Unwind_* functions).
Approach 3 is the default for gcc and it's also what clang and clang++ use;
approach 2 is the default for gfortran, g++ and probably other front ends.
This patch makes 3 the default for gfortran. It significantly reduces
the use of libgcc_s. The _Unwind_* functions are also available in the
old base system libgcc_s which means this reduces the need for
-rpath /usr/local/lib/gccN in ports that depend on libraries built with
gfortran. Consider a dependency tree like this:
prog -> libA -> libgcc_s (old base system libgcc_s is fine)
-> libB -> libgcc_s (libB built with gfortran, needs new libgcc_s)
Here prog needs to be linked with -rpath /usr/local/lib/gccN even if it's
a normal C program compiled with clang. Without -rpath it will fail to
start because it loads old libgcc_s first as a dependency of libA and then
it fails to load libB. With this patch libB works with old base system
libgcc_s or may not need libgcc_s at all, so prog does not need to be
linked with -rpath.
PR: 208120
Submitted by: tijl
MFH: 2019Q2 (important user visible improvement)
Upstream moved Corba applications to a separate repository, but it
still requires a fully configured source tree to build.
Add a CORBA option (enabled by default) to restore the pre-21
behavior, with orber, ic, and the other Corba applications installed.
Erlang man pages are delivered as a separate distfile; with this commit
lang/erlang depends on the GitHub sources only. The MANPAGES option now just
adds a dependency on lang/erlang-man.
This allows man pages to be upgraded independently and cover more recent
Erlang runtimes.
The FOP option has been added to allow building the full documentation from
sources. When enabled, man pages will be built and installed based on the
latest sources. When PDF is enabled, documentation in PDF format will also be
installed. These options are disabled by default as they depend on
textprop/fop, and thus Java/X11.
On Erlang 21 the Corba applications have been moved to a separate repository
upstream, but their build still requires a full source tree, so they are not
really independent.
FOP/PDF are provided for when Corba support will be merged back after the
Erlang 21 upgrade. This will make it possible to build the documentation that
has been removed upstream and is no longer delivered in the prebuilt
documentation distfile.
- Update devel/racer to latest version that can build with 1.34.0
- Drop no longer needed patch from textproc/ripgrep
- Force rebuild all consumers to catch regressions early
Thanks to Mikaël Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.
Changes: https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html
Reviewed by: jbeich
With hat: rust
Differential Revision: https://reviews.freebsd.org/D19850
- Switch to GitHub build and remove all hosted patches
- Move debugger, et, and observer applications to erlang-wx
Differential Revision: https://reviews.freebsd.org/D19606
20190407:
- The program db7.sd7 (Database Inspector) has been improved to use a
scrollable list of tables instead of radio buttons for the selection
of a table.
- The example program findchar.sd7 has been added. Findchar is an
utility program to search for specific characters in files.
- The new library iobuffer.s7i has been added. This library supports
buffering of files.
- The new library mixarith.s7i has been added. This library supports
mixing of arithmethic operations between numeric types.
- The file type fileInTar has been added to the library tar.s7i. This
file type allows that a specific file from a tar archive can be
opened. The functions open, getc, gets, eof, hasNext, length, seek,
tell, and openFileInTar have been added to support the file type
fileInTar.
- The functions skipClassicComment and getSimpleStringLiteral have been
added to the libraries scanfile.s7i and scanstri.s7i.
- The makefile mk_emccl.mak has been added. This makefile supports
compiling with the emcc C compiler from Emscripten under Linux. The
support of Emscripten is experimental (see also src/read_me.txt).
- The deprecated functions float2Bits and bits2Float have been removed
from bin32.s7i and bin64.s7i. The functions bin32(), bin64() and
float() can be used instead, to convert between float and bits in
IEEE 754 representation.
- In the programs chkbig.sd7, chkovf.sd7, chkset.sd7 and chkstr.sd7
large functions have been split into smaller functions. This avoids
Stack errors with Emscripten.
- Tests for allowed field names and CLOB fields have been added to
chkdb.sd7. The functions create, testFieldNames and testClobField
have been added to chkdb.sd7.
- The primitive actions BIG_PARSE, BST_PARSE, FLT_PARSE and INT_PARSE
have been renamed to BIG_PARSE1, BST_PARSE1, FLT_PARSE1 and
INT_PARSE1 respectively. This actions parse the first argument
instead of the third argument. The libraries bigint.s7i, bstring.s7i,
float.s7i and integer.s7i have been improved to use the new actions.
- In several libraries the 'parse' operator has been changed to call
a function with the name of the type.
- In fil.unx.c the function setupFiles has been improved to correctly
mount the file system root for emscripten and node.js.
- In sql_fire.c, sql_my.c the support for BLOB and CLOB fields has been
improved.
- In sql_oci.c, sql_odbc.c and sql_post.c the function
processStatementStri() has been improved to accept strings enclosed
in single quotes (') and double quotes (").
- The files db_fire.h and sql_fire.c have been changed to define the
database client functions with the calling convention __stdcall.
- The files db_post.h, db_lite.h, sql_post and sql_lite.c have been
changed to define the database client functions with the calling
convention __cdecl.
- The database driver sql_fire.c has been improved:
- The function getClob() has been added. This function is used by
sqlColumnStri() to get a CLOB.
- The function sqlBindStri() has been improved to work for CLOBs
and to raise RANGE_ERROR for BLOBs.
- The function sqlColumnStri() has been improved to work for BLOBs
and CLOBs.
- The function sqlColumnBStri() has been improved to work for BLOBs
and to raise RANGE_ERROR for CLOBs.
- The function sqlStmtColumnName() has been improved to assume that
the name of a column is encoded with UTF-8.
- The database driver sql_my.c has been improved:
- The function processStatementStri() has been improved. In strings
delimited with single quotes (') backslashes (\) are optionaly
replaced with double backslashes (\\). Strings delimited with
double quotes (") are converted into strings, that are delimited
with a backtick (`).
- The function setupResultColumn() has been improved to distinguish a
BLOB from a CLOB.
- The function sqlColumnStri() has been improved to work for BLOBs
and CLOBs.
- The function sqlColumnBStri() has been improved to work for BLOBs
and to raise RANGE_ERROR for CLOBs.
- The function determineIfBackslashEscapes has been introduced. This
function determines, if a backslash is used as escape character in
string literals. In this case processStatementStri() will double
escaping backslashes in string literals.
- The database driver sql_odbc.c has been improved:
- The management of buffer memory in bind functions has been improved
for the data types SQL_DECIMAL, SQL_NUMERIC, SQL_CHAR, SQL_VARCHAR,
SQL_LONGVARCHAR, SQL_WCHAR, SQL_WVARCHAR, SQL_WLONGVARCHAR,
SQL_BINARY, SQL_VARBINARY and SQL_LONGVARBINARY.
- The database driver sql_post.c has been improved:
- The function setupDll has been improved to open the dll
libeay32.dll, when necessary.
- In the function sqlBindStri() the binding of a field with the type
BYTEAOID (used for BLOB data) has been improved, to work correct,
when the string contains a zero byte ('\0;').
- The function sqlColumnBigRat() has been improved to process fields
with the type FLOAT8OID as double instead of float.
- The program chkccomp.c has been improved. Now the C compiler used to
compile chkccomp.c can be different from the C compiler checked by
chkccomp.c. E.g.: For Emscripten chkccomp.c is compiled with gcc,
but the checked C compiler is emcc.
- In chkccomp.c the function determineFseekFunctions has been improved
to check fseek() and ftell() without access to the local files.
- In chkccomp.c the functions to configure access to PostgreSql,
Oracle and Firebird databases has been improved.
- In chkccomp.c code to determine NULL_DEVICE, HAS_CDECL, HAS_STDCALL,
INTPTR_T_DEFINED, PRINTF_ROUNDING, LINE_DIRECTIVE_ACCEPTS_UTF8,
HAS_SETJMP and HAS_SIGSETJMP has been added or improved.
- The file sigutl.c has been improved to work correct, when neither
signal() nor sigaction() are present.
- Log functions have been added or improved in con_emc.c, con_inf.c,
sql_my.c, sql_post.c and timlib.c.
- Exprerimental code has been added to con_emc.c.
pkg-message currently states the advice to add WITH_MPM=event
if its build by poudriere and with ZTS option enabled.
This is also true if Synth is used, therefore adding it.
Reported by: Dennis <denradford@gmail.com>
ANSI Common Lisp is a high-level, general-purpose programming language.
GNU CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe
University and Michael Stoll of Munich University, both in Germany.
It mostly supports the Lisp described in the ANSI Common Lisp standard.
It runs on most Unix workstations (GNU/Linux, FreeBSD, NetBSD, OpenBSD,
Solaris, Tru64, HP-UX, BeOS, NeXTstep, IRIX, AIX and others) and on
other systems (Windows NT/2000/XP, Windows 95/98/ME) and needs only
4 MB of RAM.
It is Free Software and may be distributed under the terms of GNU GPL,
while it is possible to distribute commercial proprietary applications
compiled with GNU CLISP.
The user interface comes in English, German, French, Spanish, Dutch,
Russian and Danish, and can be changed at run time.
GNU CLISP includes an interpreter, a compiler, a debugger, CLOS, MOP,
a foreign language interface, sockets, i18n, fast bignums and more.
An X11 interface is available through CLX, Garnet, CLUE/CLIO.
GNU CLISP runs Maxima, ACL2 and many other Common Lisp packages.
WWW: http://www.gnu.org/software/clisp/
Submitted by: KIRIYAMA Kazuhiko <kiri@kx.openedu.org>
- Upgrade sip to 4.19.15
- Upgrade qscintilla2 to 2.11.1
- Upgrade PyQt to 5.12.1
- From this version on www/py-qt5-webengine is unbundled and ships its own distfile
PR: 236894
Exp-run by: antoine
Changelog:
Core:
Fixed bug #77738 (Nullptr deref in zend_compile_expr).
Fixed bug #77660 (Segmentation fault on break 2147483648).
Fixed bug #77652 (Anonymous classes can lose their interface information).
Fixed bug #77345 (Stack Overflow caused by circular reference in garbage collection).
Fixed bug #76956 (Wrong value for 'syslog.filter' documented in php.ini).
Apache2Handler:
Fixed bug #77648 (BOM in sapi/apache2handler/php_functions.c).
Bcmath:
Fixed bug #77742 (bcpow() implementation related to gcc compiler optimization).
CLI Server:
Fixed bug #77722 (Incorrect IP set to $_SERVER['REMOTE_ADDR'] on the localhost).
COM:
Fixed bug #77578 (Crash when php unload).
EXIF:
Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s).
Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value).
FPM:
Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP).
GD:
Fixed bug #77700 (Writing truecolor images as GIF ignores interlace flag).
MySQLi:
Fixed bug #77597 (mysqli_fetch_field hangs scripts).
Opcache:
Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical successors).
PCRE:
Fixed bug #76127 (preg_split does not raise an error on invalid UTF-8).
Phar:
Fixed bug #77697 (Crash on Big_Endian platform).
phpdbg:
Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match actual aliases).
sodium:
Fixed bug #77646 (sign_detached() strings not terminated).
SQLite3:
Added sqlite3.defensive INI directive.
Standard:
Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper).
Fixed bug #77669 (Crash in extract() when overwriting extracted array).
Fixed bug #76717 (var_export() does not create a parsable value for PHP_INT_MIN).
Fixed bug #77765 (FTP stream wrapper should set the directory as executable).
Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.4
MFH: 2019Q2
Changelog:
Core:
Fixed bug #77738 (Nullptr deref in zend_compile_expr).
Fixed bug #77660 (Segmentation fault on break 2147483648).
Fixed bug #77652 (Anonymous classes can lose their interface information).
Fixed bug #77676 (Unable to run tests when building shared extension on AIX).
Bcmath:
Fixed bug #77742 (bcpow() implementation related to gcc compiler optimization).
COM:
Fixed bug #77578 (Crash when php unload).
Date:
Fixed bug #50020 (DateInterval:createDateFromString() silently fails).
Fixed bug #75113 (Added DatePeriod::getRecurrences() method).
EXIF:
Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s).
Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value).
FPM:
Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP).
GD:
Fixed bug #77700 (Writing truecolor images as GIF ignores interlace flag).
MySQLi:
Fixed bug #77597 (mysqli_fetch_field hangs scripts).
Opcache:
Fixed bug #77691 (Opcache passes wrong value for inline array push assignments).
Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical successors).
phpdbg:
Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match actual aliases).
sodium:
Fixed bug #77646 (sign_detached() strings not terminated).
SQLite3:
Added sqlite3.defensive INI directive.
Standard:
Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper).
Fixed bug #77669 (Crash in extract() when overwriting extracted array).
Fixed bug #76717 (var_export() does not create a parsable value for PHP_INT_MIN).
Fixed bug #77765 (FTP stream wrapper should set the directory as executable).
Changelog taken from: https://www.php.net/ChangeLog-7.php#7.2.17
MFH: 2019Q2
since gdbm is gemified in upstream after Ruby 2.5 [1]. Ruby 2.4 can also
use the gdbm gem because it is a gem!
- Add MOVED entry
- Bump PORTEPOCH because PORTVERSION goes barwards
- Update pkg-descr and WWW
- Remove unnecessary pkg-message
[1] https://bugs.ruby-lang.org/issues/5481
Update lang/ruby* ports:
- Do not build gdbm together with Ruby interpreter, but build as a rubygem
- Remove ${BUILD_WRKSRC}/ext/gdbm instead of moving it to ${WRKDIR}
- Update pkg-message to mention rubygem-gdbm instead of ruby-gdbm
Also following changes are made to ruby-gdbm consumers:
- Updade dependency to depend on rubygem-gdbm
- Bump PORTREVISION due to dependency change
PR: 230436
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Sponsored by: HAW International, Inc.
- Simplify COMMENT by removing useless "set of"
- Add `gnome' to USES list per current rules
- Make NLS optional as suggested by portlint(1)
- Revert to pre-r302058 pkg-plist which should not have been
removed in the first place as it was long enough to warrant
being a separate file
- When fixing hardcoded prefix in "/usr/bin/xterm -e vi %s"
command, use ${LOCALBASE} not ${PREFIX}
Ports for Haskell *libraries* are going to be removed from the ports tree.
Haskell *applications* are going to be statically linked with all dependencies
( https://reviews.freebsd.org/D19730 ), so there is no reason to keep
Haskell libraries in tree.
If you think a port is wrongly marked and should stay, please contact haskell@
Submitted by: arrowd
Differential Revision: https://reviews.freebsd.org/D19244
This commit brings multilib support for gcc on amd64. This means you can
compile and execute 32-bit binaries with gcc.
The gcc part will be upstreamed as soon as gcc trunk opens for new commits.
On the release front, gcc8, we will merge this commit after a week or so.
ld: error: lexer.c:(function yylex: .text+0x10CC): improper alignment for relocation R_AARCH64_LDST32_ABS_LO12_NC: 0x28001B is not aligned to 4 bytes
Oddly, it seems to compile on armv6.
Approved by: portmgr (tier-2 blanket)
ARM support required LLVM 5, which is getting pushed out of ports.
Submitted by: Mikael Urankar <mikael.urankar@gmail.com>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D19722
compile and execute 32-bit binaries with gcc.
The gcc part will be upstreamed as soon as gcc trunk opens for new commits.
On the release front, gcc8, we will merge this commit after a week or so.
Approved by: gerald@
In r496134, MASTER_SITES was not sufficient to pick up all DISTFILES.
Reviewed by: olgeni
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D19623
Port changes:
* Add the pull request patch enabling readline in FreeBSD
* WITH_DEBUG triggers build=debug - the project manages its build options itself
* Rm the post-install patch - the .pc issue has been fixed
* Add FreeBSD-related patches eliminating build warnings, build using -O3 instead of -Os
20190303:
- The makefile mk_tcc_l.mak has been added. This makefile supports
compiling with the tcc C compiler under Linux.
- The makefile mk_tcc_w.mak has been added. This makefile is
experimental and supports compiling with the tcc C compiler under
Windows.
- The example program brainf7.sd7 has been added. Brainf7 is a
Brainfuck interpreter.
- The example program hilbert.sd7 has been added. Hilbert displays a
Hilbert curve.
- The example program queen.sd7 has been added. Queen solves the n
queen problem.
- The example program spigotpi.sd7 has been added. Spigotpi writes
digits of PI with a spigot algorithm.
- The new library csv.s7i has been added. This library supports
converting to and from comma-separated values (CSV).
- Several improvements in the Seed7 compiler (s7c) have been done:
- In flt_act.s7i the function to process FLT_ISNAN has been improved
to make sure, that the argument of the isnan() macro never contains
preprocessor directives (e.g. #line directives). Some C compilers
do not allow preprocessor directives in the argument list of a
macro. Many thanks go to Alexander Vlasov for reporting this
problem and for his help to find a solution.
- In comp/str_act.s7i the function optimize_str_cat has been improved
to assign the constant parts of strConcatN() outside of the actual
expression. This might open possibilities to optimize the
expression.
- The function process_forward_declaration in the compiler (s7c) has
been improved to avoid, that a prototype of a forward declared
function, is written twice.
- The function process_dynamic_param_implements has been improved to
generate a switch-statement instead of an if-then-else chain.
Additionally double entries are avoided now.
- The function process_const_func_call has been improved to assign
c_params.temp_assigns to c_expr.temp_assigns instead of
c_expr.temp_decls.
- The function processFuncValue has been improved to define the type
and the function of the actual name parameter only once (with
defineActualFuncParam()). A redefinition could happen when
functions, that call functions with name parameters, are inlined.
- The handling of the option -te (trace exceptions) has been
improved.
- The function process_const_func_declaration() has been improved to
request, that for functions using the result mechanism the result
is returned, when possible, as c_expr.expr_result. This way
process_return_value() does not need to copy this string values.
E.g. When the result of intStrToBuffer(), chrCLitToBuffer(),
chrStrMacro(), strHeadSlice(), chrStrMacro() or strTailSlice() is
used as the result value of a user defined function.
- The function defineFunctype has been added and the function
getAnyParamToTempAssigns has been improved to provide addresses
of plain INTOBJECT, FLOATOBJECT, CHAROBJECT, STRIOBJECT and
BSTRIOBJECT values. In this case the address is taken from a
temporary variable.
- In write_file_head() and init_type_constants() the creation of type
constants has been improved.
- The functions skip() and copyFile() have been added to file.s7i.
- The function makeParentDirs() has been added to osfiles.s7i.
- In cli_cmds.s7i the function doMkdirCmd has been improved to call
the new function makeParentDirs().
- In tar_cmds.s7i the functions tarXtract and tarCreate have been
improved to avoid, that the whole file is read into a string. This
avoids a MEMORY_ERROR, when the file does not fit into a string.
- The function tarXtract has been improved to extract empty regular
files and to create non-existing parent directories (with
makeParentDirs())
- In gzip.s7i the functions openGzipFile(), close() and write() have
been improved, to write the compressed data in blocks with a maximum
size. This avoids a MEMORY_ERROR, when huge files are compressed.
- In gzip.s7i the function openGunzipFile has been changed to have a
file as parameter instead of a string. This way it is not necessary
to read the whole compressed data into a string.
- A variant of the function readGzipHeader has been added to gzip.s7i.
- A variant of the function getAsciiz has been added to bytedata.s7i.
- A variant of the function crc32 has been added to crc32.s7i.
- The program ftp7.sd7 has been improved to support the commands
!ls -l, !dir, !ls, !pwd, !mkdir and !rmdir.
- The function noCtrlChars has been removed from db7.sd7 and sql7.sd7
and added to seed7_05.s7i.
- The program chkchr.sd7 has been has been improved to check the
functions literal() and c_literal().
- Tests for the function str(), when str() assigned to a variable and
when str() is called via a function, have been added to chkint.sd7.
- Tests for aString[.. pos], aString[pos ..], aString[pos1 .. pos2],
aString[pos len length], when they are called via a function, have
been added to chkstr.sd7.
- The example program chkdb.sd7 has been improved to test decimal and
numeric fields with negative values.
- In x509cert.s7i the constant stdCertificate has been improved to
have a new validity (until end of 2021).
- The program chkccomp.c has been improved to determine, if
preprocessor directives are allowed in the argument list of a macro
invocation (DIRECTIVES_IN_MACRO_ARGUMENTS_OK).
- In fil_rtl.c the functions filBigLng() and filLng() have been
improved to determine the file length always with os_fseek and
os_ftell. This guarantees that the correct length is returned, when
data is written to a file and it has not been flushed.
- The function ftelli64Ext() has been added to fil_win.c. This
function is used when fseeki64() is available and ftelli64() is
missing. Either fgetpos() or _telli64() is used to implement
ftelli64Ext().
- Calls of logFunction have been added in ref_data.c and typ_data.c.
- In sql_my.c the function sqlBindDuration() has been improved.
- In sql_odbc.c the function getNumericAsCStri() has been added.
- In sql_odbc.c the function getNumericFloat() has been improved to
convert a SQL_NUMERIC_STRUCT to a double via the decimal
representation.
- In sql_post.c the functions getNumericAsCStri(), getNumericAsStri()
and getNumericAsFloat have been improved.
- The program chkccomp.c has been improved to define the macros
'os_isatty' and 'os_fileno', when the functions isatty() and
fileno() are not available.
- A definition of 'isatty' and 'fileno' has been added to os_decls.h.
- The mechanism to check for stack overflow has been improved. By
default the mechanism is deactivated.
20190126:
- The program db7.sd7 (Database Inspector 7) has been improved to
provide a list of tables and a possibility to view table contents
from this list.
- The program tar7.sd7 and the library tar.s7i have been improved to
support Unicode file names.
- The function setupParameters() in sql_fire.c, sql_lite.c, sql_my.c,
sql_oci.c, sql_odbc.c and sql_post.c has been improved to avoid
calling malloc(0). Depending on the run-time library malloc(0) may
return NULL, which would wrongly trigger a MEMORY_ERROR. The
improvement recognizes this situation and avoids calling malloc(0).
Other places in the database drivers, where malloc(0) could be called
have been fixed also.
- The database driver sql_fire.c has been improved:
- Now the cursor of a prepared statement is closed (with
isc_dsql_free_statement), when a parameter is bound to it.
- The opening of a database now appends the extensions .fdb and .gdb,
when trying to open the database.
- The database driver sql_my.c has been improved:
- The function processEscapesInStatement has been renamed to
processStatementStri. Now it removes comments from the statement
string.
- The local variable 'param' has been introduced in the parameter
binding functions. This improves readability by avoiding many
accesses to the param_array.
- The local variable 'columnData' has been introduced in the column
accessing functions. This improves readability by avoiding many
accesses to the result_array.
- The function sqlColumnFloat has been improved to accept integer
fields with all sizes.
- The database driver sql_oci.c has been improved:
- Now there is a check if all parameters of a prepared statement are
bound. This check takes place when a prepared statement is
executed.
- The function processBindVarsInStatement has been renamed to
processStatementStri. Now it removes comments from the statement
string and determines the number of bind parameters.
- The functions setupParameters and allParametersBound have been
added and the function resizeBindArray has been removed.
- The function getFloat has been improved to convert a SQLT NUMBER
to a double via the decimal representation.
- The bind functions have been improved to check, that a parameter
with the given index exists.
- The bind functions have been improved to allow that the same
parameter can be bound again with a different bind function (e.g.
as integer instead of a bigInteger).
- The function sqlBindStri has been improved to preserve trailing
blanks in a string.
- The local variable 'param' has been introduced in the parameter
binding functions. This improves readability by avoiding many
accesses to the param_array.
- The local variable 'columnData' has been introduced in the column
accessing functions. This improves readability by avoiding many
accesses to the result_array.
- The database driver sql_odbc.c has been improved:
- The maximum number of concurrent activities is determined. If the
number of concurrent activities is limited the function
sqlExecute() fetches all results and stores them in a prefetch
buffer. This way several prepared statements can be used in
parallel even when the ODBC driver does not support concurrent
activities.
- The structure resultDescrRecord has been introduced. It contains
the result properties of a prepared statement column. The structure
resultDataRecord has been reduced to just contain the actual
data buffer and length of a result field.
- The functions freeFetchData, freeFetch, freePrefetched and
processStatementStri have been added. The function
processStatementStri removes comments from the statement string.
This avoids problems with some ODBC drivers.
- The functions bindResultColumn, bindResult, copyNonBlobBuffers,
moveBlobBuffers, copyFetchData, prefetchOne, prefetchAll and
doFetch have been added.
- Now the cursor of a prepared statement is closed (with
SQLFreeStmt), when a parameter is bound to it.
- The function sqlColumnFloat has been improved to accept integer
fields with all sizes.
- The database driver sql_post.c has been improved:
- The function processBindVarsInStatement has been renamed to
processStatementStri. Now it removes comments from the statement
string.
- The local variable 'param' has been introduced in the parameter
binding functions. This improves readability by avoiding many
accesses to the param_array.
- The function sqlColumnFloat has been improved to accept integer
fields with all sizes.
- The example program chkdb.sd7 has been improved. Now it tests several
corner cases with empty databases, empty statements, comments and
literals. The tests with integer fields retrieve the fields now also
as floats.
- Interpreter and compiler have been improved to support the new
actions SQL_DRIVER, STR_FOR_KEY and STR_FOR_VAR_KEY.
- The library forloop.s7i has been improved to use the new actions
STR_FOR_KEY and STR_FOR_VAR_KEY.
- Checks for string for loops have been added to chkstr.sd7.
- The library sql_base.s7i has been improved to support the new
functions driver() and getTableNames(). The function getTableNames
returns a list of user table names.
- The function sqlDriver has been added to sql_rtl.c.
Forward port r469788 from lang/gcc6 since apparently people are still using
the -mretpoline option that is specific to clang, and gcc9-devel is going
to branch into gcc9 in a rew months and that one later the default version
of GCC in use:
Filter the -mretpoline command-line option, which is understood by
recent versions of clang (and used in the context of the Spectre
security issues), but not GCC (which uses different options for the
same) from CFLAGS and CXXFLAGS.
This avoids the build of this port via bootstrap, which is the default
and leverages both the system compiler (clang in most cases) plus a just
built version GCC, to fail due to the latter not knowing -mretpoline.
PR: 228205
Submitted by: rozhuk.im@gmail.com
rely on the system compiler (even if that means we need to be explicitly
conservative when it comes to optimizations). [1]
Simplify the creation of the multilib-related sub-directory tree on
powerpc64 and avoid leaving an empty directory behind on the way. [2]
PR: 235975 [1], 235964 [2], 231804 [2]
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> [1]
Discussed with: Piotr Kubaj <pkubaj@anongoth.pl> [2]
No longer require a not too old version of GCC to build on powerpc64, but
rely on the system compiler (even if that means we need to be explicitly
conservative when it comes to optimizations). [1]
Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there.
PR: 235975 [1]
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> [1]
Changelog:
Core:
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections).
Fixed bug #77329 (Buffer Overflow via overly long Error Messages).
Fixed bug #77494 (Disabling class causes segfault on member access).
Fixed bug #77498 (Custom extension Segmentation fault when declare static property).
Fixed bug #77530 (PHP crashes when parsing `(2)::class`).
Fixed bug #77546 (iptcembed broken function).
Fixed bug #77630 (rename() across the device may allow unwanted access during processing).
COM:
Fixed bug #77621 (Already defined constants are not properly reported).
Fixed bug #77626 (Persistence confusion in php_com_import_typelib()).
EXIF:
Fixed bug #77509 (Uninitialized read in exif_process_IFD_in_TIFF).
Fixed bug #77540 (Invalid Read on exif_process_SOFn).
Fixed bug #77563 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
Fixed bug #77659 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
Mbstring:
Fixed bug #77514 (mb_ereg_replace() with trailing backslash adds null byte).
MySQL:
Disabled LOCAL INFILE by default, can be enabled using php.ini directive mysqli.allow_local_infile for mysqli, or PDO::MYSQL_ATTR_LOCAL_INFILE attribute for pdo_mysql.
OpenSSL:
Fixed bug #77390 (feof might hang on TLS streams in case of fragmented TLS records).
PDO_OCI:
Support Oracle Database tracing attributes ACTION, MODULE, CLIENT_INFO, and CLIENT_IDENTIFIER.
PHAR:
Fixed bug #77396 (Null Pointer Dereference in phar_create_or_parse_filename).
Fixed bug #77586 (phar_tar_writeheaders_int() buffer overflow).
phpdbg:
Fixed bug #76596 (phpdbg support for display_errors=stderr).
SPL:
Fixed bug #51068 (DirectoryIterator glob:// don't support current path relative queries).
Fixed bug #77431 (openFile() silently truncates after a null byte).
Standard:
Fixed bug #77552 (Unintialized php_stream_statbuf in stat functions).
Fixed bug #77612 (setcookie() sets incorrect SameSite header if all of its options filled).
Changelog taken from: http://www.php.net/ChangeLog-7.php#7.3.3
MFH: 2019Q1
Changelog:
Core:
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections).
Fixed bug #77630 (rename() across the device may allow unwanted access during processing).
COM:
Fixed bug #77621 (Already defined constants are not properly reported).
EXIF:
Fixed bug #77509 (Uninitialized read in exif_process_IFD_in_TIFF).
Fixed bug #77540 (Invalid Read on exif_process_SOFn).
Fixed bug #77563 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
Fixed bug #77659 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
PDO_OCI:
Support Oracle Database tracing attributes ACTION, MODULE, CLIENT_INFO, and CLIENT_IDENTIFIER.
PHAR:
Fixed bug #77396 (Null Pointer Dereference in phar_create_or_parse_filename).
SPL:
Fixed bug #51068 (DirectoryIterator glob:// don't support current path relative queries).
Fixed bug #77431 (openFile() silently truncates after a null byte).
Standard:
Fixed bug #77552 (Unintialized php_stream_statbuf in stat functions).
MySQL:
Disabled LOCAL INFILE by default, can be enabled using php.ini directive mysqli.allow_local_infile for mysqli, or PDO::MYSQL_ATTR_LOCAL_INFILE attribute for pdo_mysql.
Changelog taken from: http://www.php.net/ChangeLog-7.php#7.2.16
MFH: 2019Q1
No longer require a not too old version of GCC to build on powerpc64, but
rely on the system compiler (even if that means we need to be explicitly
conservative when it comes to optimizations). [1]
PR: 235975 [1]
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> [1]
In file included from src/ops/core_ops.c:72:
In file included from /usr/local/include/unicode/uchar.h:28:
In file included from /usr/local/include/unicode/utypes.h:38:
In file included from /usr/local/include/unicode/umachine.h:46:
In file included from /usr/local/include/unicode/ptypes.h:52:
In file included from /usr/local/include/unicode/platform.h:25:
/usr/local/include/unicode/uvernum.h:123:8: error: 'U_DISABLE_VERSION_SUFFIX' is not defined, evaluates to 0 [-Werror,-Wundef]
#elif !U_DISABLE_VERSION_SUFFIX
^
PR: 236325
Approved by: portmgr blanket
rely on the system compiler (even if that means we need to be explicitly
conservative when it comes to optimizations). [1]
Simplify the creation of the multilib-related sub-directory tree on
powerpc64 and avoid leaving an empty directory behind on the way. [2]
Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there.
PR: 235975 [1], 235964 [2], 231804 [2]
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> [1]
Discussed with: Piotr Kubaj <pkubaj@anongoth.pl> [2]
Simplify the creation of the multilib-related sub-directory tree on
powerpc64 and avoid leaving an empty directory behind on the way. [1]
Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there.
PR: 235964, 231804 [1]
Discussed with: Piotr Kubaj <pkubaj@anongoth.pl> [1]
Simplify the creation of the multilib-related sub-directory tree on
powerpc64 and avoid leaving an empty directory behind on the way. [1]
Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there.
PR: 235964, 231804 [1]
Discussed with: Piotr Kubaj <pkubaj@anongoth.pl> [1]
Simplify the creation of the multilib-related tree on powerpc64 and
avoid leaving an empty directory behind on the way. [1]
PR: 235964, 231804 [1]
Discussed with: Piotr Kubaj <pkubaj@anongoth.pl> [1]
Fix build of GCC on powerpc64.
While building GCC itself we have to use the built GCC libraries to
configure additional parts of GCC and not the libraires from the host.
Install the built 32-bit libraries. This was not done up to now.
And no longer required GCC 5 to build on powerpc64, making this port a
natural choice of a "base" for newer members of the lang/gcc* family.
PR: 235964, 231804
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
months (end of April 2019).
GCC 4.9 went end-of-life upstream in summer of 2016, so more than
two-and-a-half years ago, nothing depends on it any longer (and has
not for a while), and the default version of GCC in the ports tree
is now GCC 8, four major releases later.
While here stll create a proper USES block in the Makefile. [1]
Reported by: portlint [1]
pkg-descr states falsely that its the meta-port for PHP 7.1, even
for PHP 7.2 and 7.3. This commit fixes the typo for each version.
Reported by: leres@freebsd.org
- Rust will not run without a fixed ld-elf.so.1 on aarch64
- Builds with qemu-user-static currently hang after a while
PR: 221185
Submitted by: Mikaël Urankar <mikael.urankar@gmail.com>
patch files/patch-libjava-classpath-scripts-check_jni_methods.sh.in.
Escapes of ordinary characters will be disallowed by regex(3) in the
future. [1]
While here already, factor out a proper USES block in the Makefile. [2]
PR: 233443 [1]
Submitted by: kevans [1]
Reported by: portlint [2]
distinfo containing all supported Python versions vs. all document
formats.
While we're here update distfiles to match the new order (i.e.
_PYTHON_VERSIONS from Uses/python.mk).
PR: 235169
Reviewed by: koobs (python, ports), matthew (mentor)
Approved by: koobs (python, ports), matthew (mentor)
Differential Revision: D19064