- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight
While testing the clang390-import branch, I ran into the following
errors building lang/gcc49:
In file included from /wrkdirs/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/c/c-objc-common.c:33:
In file included from /usr/include/c++/v1/new:70:
/usr/include/c++/v1/exception:267:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
_VSTD::abort();
^~~~~~~
/usr/include/c++/v1/__config:451:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/wrkdirs/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/system.h:685:13: note: 'fancy_abort' declared here
extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
^
1 error generated.
What is happening here, is that the source file includes gcc/system.h,
which defines abort to fancy_abort, and then the source file includes
<new>, which attempts to call _VSTD::abort() (the _VSTD is a libc++
alias for std::). The macro definition then causes the above breakage.
Newer gcc ports, such as gcc5 and gcc6 don't show this issue, because
upstream gcc first added an include of <algorithm> (which indirectly
includes <new>) in r217348 [1], and later even add a direct include of
<new> in r232736 [2].
Fix it for this version, by adding the direct include of <new> to
gcc/system.h. This makes the 'second' includes of <new> in some .c
files superfluous, but at least they won't result in errors.
[1] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=217348
[2] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=232736
Approved by: gerald (maintainer)
PR: 212465
MFH: 2016Q3
ChangeLog:
- Update list of contributors in documentation and LICENSE file, this was unfortunately left out of 5.4.0.
- Allow tests run with -A to find libm.so even if it is a script not a dynamically loadable file
- Bump sys.setrecursionlimit() when translating PyPy, for translating with CPython
- Tweak a float comparison with 0 in backendopt.inline to avoid rounding errors
- Fix for an issue for translating the sandbox
- Fix for and issue where unicode.decode('utf8', 'custom_replace') messed up the last byte of a unicode string
sometimes
- Update built-in cffi to version 1.8.1
- Explicitly detect that we found as-yet-unsupported OpenSSL 1.1, and crash translation with a message asking for help
porting it
- Fix a regression where a PyBytesObject was forced (converted to a RPython object) when not required, reported as
issue #2395
ChangeLog:
- Incremental improvements to cpyext (passing 99% of numpy's test suite)
- Update cffi to 1.8, supporting "limited API" mode for c-extensions on
CPython >= 3.2
- Improved tooling for PyPy's JIT.
- Various new features, bug fixes and performance improvements, see:
http://pypy.readthedocs.io/en/latest/release-pypy2.7-v5.4.0.html
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases
that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling. Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
default versions framework.
- bsd.port.mk:
- Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
- Put USE_LINUX_PREFIX handling after USES processing.
- Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
give these variables a different default value.
- When a package needs to run Linux ldconfig check before installation if
Linux support is enabled.
- emulators/linux_base-*:
- Use USES=linux and remove duplication.
- Remove files/lp. FreeBSD or CUPS lp(1) should work.
- Remove files/yp.conf. No longer seems to be used.
- Remove pkg-deinstall and move pkg-install into pkg-plist.
- Update pkg-descr and pkg-message.
- Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
to use FreeBSD mkdir so mkdir -p $path creates $path and not
/compat/linux/$path.
PR: 211645
Exp-run by: antoine
Approved by: portmgr (antoine)
This patch is a smaller version of one I've sent upstream. It removes 'using
namespace std' from Interpreter.cpp to avoid errors when -std=c++11 or
-std=gnu++11 is passed to the compiler, as a call to bind(2) can end up
becoming a call to std::bind().
This is required to avoid breaking the build with Qt 5.6.1:
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -g -std=gnu++11 -pthread -D_THREAD_SAFE -Wall -W -fPIC -DLINUX -DESPEAK -DSOUND_QMOBILITY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/local/include/espeak -I/usr/local/include/qt5/QtMultimedia -I/usr/local/include/qt5/QtSerialPort -IQtMobility -IQtMobility -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtCore -Itmp/moc -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o tmp/obj/Interpreter.o Interpreter.cpp
Interpreter.cpp:4282:105: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
PR: 212347
Approved by: fernando.apesteguia@gmail.com (maintainer)
- The Seed7 runtime library has been improved to allow paths longer
than PATH_MAX (260) characters under Windows.
- The program sydir7.sd7 has been improved. Now it is avoided to copy
a file, when source and destination differ only by date. The
option -c has been added. With -c the source is copied and files
that are missing in the source are removed from the destination.
- The function readVolumeName in dir_rtl.c has been improved to allow
extended length paths (This paths exist under Windows and have a
prefix of \\?\ ).
- The functions opendir and wopendir in dir_win.c have been improved
to allow paths longer than 260.
- In the library seed7_05.s7i the undocumented function xalloc has
been removed.
- The function printArgv has been added to arr_rtl.c to improve the
logging.
- The program chkccomp.c has been improved to write settings to
always use the directory functions from dir_win.c under Windows.
- The function adjustCwdForShell has been added to cmd_rtl.c. This
function sets the current working directory to something acceptable
by cmd.exe.
- In stat_win.c the function wstati64 has been renamed to wstati64Ext
and improved to call the original stat function, when possible.
- The new file stat_drv.h has been added. In this file a prototype
of wstati64Ext is defined when necessary.
- The program wrdepend.c has been improved to work correctly, when
the INCLUDE_OPTIONS macro contains newline characters.
- Calls of logFunction have been added to arr_rtl.c, cmd_rtl.c,
dir_rtl.c, executl.c, fil_rtl.c, pcs_win.c, runerr.c, sctlib.c,
sigutl.c, stat_win.c and striutl.c.
- Calls of logError have been added to arrlib.c, blnlib.c, cmd_rtl.c,
conlib.c, dir_win.c, drwlib.c, enulib.c, fil_rtl.c, itflib.c,
lstlib.c, prclib.c, reflib.c and striutl.c.
With the default configuration, all the directives are removed from with
egrep. Then, egrep, seeing that it does not output any line, will
exit(1).
With hat: portmgr
Sponsored by: Absolight
- submitter becomes maintainer
- Makefile tidied, and passes portlint -C
- rc.d file corrected; now passes rclint
- port now installs documentation (PDF), not previously included
- added DOCS option, controlling installation of above
- files in /usr/local/share now in directories that actually match the
name of the port
PR: 212242
Submitted by: bob@eager.cx
- The bas7.sd7 (basic interpreter) example program has been improved.
Support for CVD, CVDMBF, CVS, CVSMBF, HPLOT, MKD$, MKDMBF$, MKS$,
MKSMBF$, PLOT, SCREEN, SHARED and VARPTR$ has been improved.
Creating Cga, Ega and Vga images from arrays has been improved to
work also for float and double arrays.
- The functions bin32, compare, hashCode, float2Bits, bits2Float,
float2MbfBits and mbfBits2Float have been added to bin32.s7i. The
functions fourBytesLeToBin32 and fourBytesBeToBin32 have been
removed (The new function bin32 can be used instead).
- The functions bin64, compare, hashCode, float2Bits, bits2Float,
float2MbfBits and mbfBits2Float have been added to bin64.s7i. The
functions eightBytesLeToBin64 and eightBytesBeToBin64 have been
removed (The new function bin64 can be used instead).
- The program chkbin.sd7 has been added. This program checks the
correctness of the functions float2Bits, bits2Float, float2MbfBits,
mbfBits2Float, str, radix and RADIX.
- Checks for the function decompose have been added to chkflt.sd7.
- The compiler has been improved optimize expressions where several
terms are added or subtracted. It is possible to combine adjacent
constant terms at compile time. This simplifies overflow checks.
- The compiler has been improved to store NaN values as bin64
literals.
- The calc7 example program has been improved to support bin32 and
bin64 functions.
- The function decompose and the type floatElements have been added
to the library float.s7i. The function decompose splits a float into
a normalized fraction and an integral exponent for 2. The result
of decompose uses the type floatElements.
- The function integer (it converts a string to an integer) has been
added to integer.s7i.
- In the library seed7_05.s7i the undocumented function xalloc has
been replaced by the function create.
- The functions uintCmp and uintCmpGeneric have been added to
int_rtl.c.
- The configuration value FREXP_INFINITY_NAN_OKAY has been added to
cc_conf.s7i.
- The primitive action FLT_A2TAN has been renamed to FLT_ATAN2 in
interpreter, compiler and runtime library.
- Documentation comments have been improved in bitdata.s7i, arrlib.c,
binlib.c, bstlib.c, bst_rtl.c, fillib.c, kbdlib.c, literal.c.
- Interpreter and compiler have been improved to support the primitiv
actions BIN_CMP, FLT_BITS2DOUBLE, FLT_BITS2SINGLE, FLT_DECOMPOSE,
FLT_DOUBLE2BITS and FLT_SINGLE2BITS.
- The program chkccomp.c has been improved to define
FREXP_INFINITY_NAN_OKAY and to work for PostgreSQL version 9.5.
For some reason, the new binutils 2.27 breaks the compiler build on
FreeBSD 9. Given the short time to FreeBSD 9 EOL, just mark it broken.
People that remain on FreeBSD 9 and need gnatdroid can always use the
2016Q3 branch where gnatdroid still builds fine.
Reported by: pkg-fallout