- Add some context in the patches for where they came from. They need to be
in 1 patch due to needing to use the .orig file for fixing up checksums.
Obtained from: rust upstream
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
20180304:
- In fil_rtl.c and ut8_rlt.c the functions filLineRead, filWordRead,
ut8LineRead and ut8WordRead have been improved to use
getc_unlocked() instead of getc(). This way the performance of the
functions has been improved by a factor of 2 (filLineRead has been
measured with gcc and valgrind).
- In listutl.c the performance of the function copy_list has been
improved by 15% (measured with gcc and valgrind).
- In getf.s7i the performance of the function readf has been improved
by a factor of 4 (measured with gcc and valgrind).
- The functions free_helem and free_hash in hshlib.c have been
improved to stop searching for helems as soon as the last helem
has been freed. This improves the performance free_hash by 36%
(measured with gcc and valgrind).
- In fil_rtl.c the function read_and_alloc_stri and filGets have been
improved to have less usages of err_info and num_of_chars_read.
- In soc_rtl.c the function receive_and_alloc_stri has been improved
to have less usages of err_info and better logError messages.
- In hsh_rtl.c and hshlib.c the function create_hash has been
improved to use memset to initialize empty hash tables.
- The functions bstCmp, genericCmp, ptrCmp, rflCmp and typCmp have
been improved to use a result variable named signumValue.
- Interpreter and compiler have been improved to support the actions
ACT_ICONV1, ACT_ICONV3, INT_ICONV1, INT_ICONV3 and REF_HSHLENGTH.
- The libraries integer.s7i, bin32.s7i, bin64.s7i, category.s7i and
graph.s7i have been improved to use the new primitive actions.
- The function boolean(), which converts a string to a boolean value,
has been added to boolean.s7i.
- The function char(), which converts a string to a char value, has
been added to char.s7i.
- The function float(), which converts a string to a float value, has
been added to float.s7i.
- The compiler has been improved to support the actions ACT_GEN and
TYP_VARFUNC.
- The compiler now uses the function process_call_by_name_expr to
create code for loop conditions, loop bodies and other call by name
parameters.
- The functions process_match and process_inline_param have been
added to the compiler.
- The compiler has been improved to implement functions, which just
call one of the special actions HSH_CONTAINS, HSH_EXCL, HSH_INCL,
HSH_KEYS, SET_BASELIT, SET_CONV, SET_ELEM, SET_EXCL, SET_INCL,
SET_NOT_ELEM, as inline functions. This allows optimizations for
the types set of char and set of string.
- The compiler has been improved to optimize the action HSH_CONTAINS,
when the hash table is constant.
- The compiler optimizations for the actions SET_ELEM and
SET_NOT_ELEM have been improved.
- A test, that checks for-loops over hash tables, has been added to
chkhsh.sd7.
CXX(target) /wrkdirs/usr/ports/lang/v8-devel/work/v8-3.27.7/out/native/obj.target/v8_base/src/accessors.o
In file included from ../src/accessors.cc:5:
In file included from .././src/v8.h:29:
.././include/v8.h:5690:54: error: 'CreateHandle' is a protected member of 'v8::HandleScope'
return Handle<T>(reinterpret_cast<T*>(HandleScope::CreateHandle(
~~~~~~~~~~~~~^~~~~~~~~~~~
.././include/v8.h:820:29:
.././src/ast.h:915:15: error: 'ComputeFeedbackSlotCount' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
virtual int ComputeFeedbackSlotCount() { return 1; }
^
Reported by: pkg-fallout
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.
PR: 224300, 224443 (exp-run)
Approved by: portmgr (antoine)
Exp-run: antoine
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14137
r462630 added OpenSSL include/library paths to CFLAGS/LIBS which caused
the _elementtree and pyexpat modules to fail to build. Adding paths to CFLAGS
is known to cause issues [1].
Accordingly:
- Switch to using CPPFLAGS for OpenSSL include/library paths (like NLS).
- Move the comment describing why this is necessary to the top of the port
with reasonable warning about what can happen and why.
[1] https://svnweb.freebsd.org/ports?view=revision&revision=326729
PR: 226135, 222795)
Reported by: many
Reviewed by: sunpoet (python)
Approved by: koobs (python)
runhugs binary crashes when compiled with -O2 on i386 12-CURRENT system.
Workaround it by compiling with -O0
Submitted by: Gleb Popov <6yearold_gmail.com>
Differential Revision: https://reviews.freebsd.org/D14187