Commit graph

6 commits

Author SHA1 Message Date
Jan Beich
6e4dc14e4e lang/yap{,-devel}: use clang and unbreak with gcc5 or later
In file included from ./Solver.C:20:
In file included from ./Solver.h:29:
./SolverTypes.h:122:20: error: friend declaration specifying a default argument must be a definition
    friend Clause* Clause_new(const V& ps, bool learnt = false);
                   ^
./SolverTypes.h:147:9: error: friend declaration specifying a default argument must be the only
      declaration
Clause* Clause_new(const V& ps, bool learnt) {
        ^
./SolverTypes.h:122:20: note: previous declaration is here
    friend Clause* Clause_new(const V& ps, bool learnt = false);
                   ^
./Solver.C:123:21: error: no matching function for call to 'Clause_new'
        Clause* c = Clause_new(ps, false);
                    ^~~~~~~~~~
./Solver.C:602:29: error: no matching function for call to 'Clause_new'
                Clause* c = Clause_new(learnt_clause, true);
                            ^~~~~~~~~~
4 errors generated.

PR:		216809
Obtained from:	upstream
Approved by:	portmgr blanket
2017-02-10 21:05:48 +00:00
Danilo Egea Gondolfo
7c74813bd4 - Fix docs build after texlive upgrade
- Fix build without docs
2015-07-23 16:22:28 +00:00
Danilo Egea Gondolfo
11a4138fca - Revert to patches to enable build on i386 2013-11-06 02:57:51 +00:00
Danilo Egea Gondolfo
ef25aae5a4 - Build with GCC
- Remove extra patches
2013-11-05 23:19:56 +00:00
Danilo Egea Gondolfo
f90c917c7e - Fix build with clang on i386 2013-11-03 18:12:02 +00:00
Danilo Egea Gondolfo
9cb1e10d3a - Add new port lang/yap-devel
Yap-6.3.3 is the development version of lang/yap (6.2.2).

YAP is a high-performance Prolog compiler developed at
LIACC/Universidade do Porto and at COPPE Sistemas/UFRJ. Its Prolog
engine is based in the WAM (Warren Abstract Machine), with several
optimizations for better performance. YAP follows the Edinburgh
tradition, and is largely compatible with the ISO-Prolog standard and
with Quintus and SICStus Prolog.

PR:		ports/181334
Submitted by:	Danilo Egea Gondolfo <danilogondolfo@gmail.com>
Approved by:	wg/culot (mentors)
2013-10-10 14:08:01 +00:00