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)
- Convert to USES qmake and dos2unix
- Convert to staging
- Use LOCALBASE instead of hardconding /usr/local.
- Fix build on 10 and head with new libc++
PR: ports/183933
Submitted by: Fernando <fernando.apesteguia@gmail.com> (maintainer)
- add build dependencies on bison and flex
while here:
- trim Makefile header
- remove redundant tabs in Makefile
- use SF shortcut in MASTER_SITES
- remove indefinite article from COMMENT
- remove exclicit dependency on qmake, since it is already defined in USE_QT4
- change BUILD_DEPENDS usage to more common
- remove trailing whitespace in pkg-descr
PR: 172583
Submitted by: Fernando <fernando.apesteguia at gmail dot com> (maintainer)
Feature safe: yes
(especially middle and high-school students) the basics of computer
programming.
It uses traditional control structures like gosub, for/next, and goto,
which helps kids easily see how program flow-control works. It has a
built-in graphics mode which lets them draw pictures on screen in
minutes, and a set of detailed, easy-to-follow tutorials that
introduce programming concepts through fun exercises.
WWW: http://http://www.basic256.org
PR: ports/160367
Submitted by: Fernando <fernando.apesteguia@gmail.com>