1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-04 02:49:14 -04:00
Commit graph

3 commits

Author SHA1 Message Date
Matthias Andree
160df1b4d1 textproc/source-highlight: fix "make test" or -DWITH_TESTING build
The normal build works for me, but "make test",
or poudriere-devel builds on FreeBSD 14.0-RELEASE amd64 under
WITH_TESTING=yes, fail for me in the test phase.

Fix two compiler bugs that LLVM/clang asserts:
* lib/tests/stdboosterror.h poses a most vexing parse,
  resolve by switching to C++11 uniform initialization
  (GCC 12 or 13 disambiguates by resolving to variable init.)
* lib/tests/test_wordtokenizer_main.cpp sees LLVM/clang complain
  about unresolved operator<< (needs to be defined earlier,
  so move the declaration up) (couldn't test with GCC)

Serialize tests/Makefile:
* tests/Makefile* causes "No such file or directory" errors when
  running with MAKE_JOBS, so patch a .NOTPARALLEL into the Makefile.

Approved by:	portmgr@ (blanket just-fix-it approval for failing build)
2024-04-23 19:35:33 +02:00
Kevin Lo
c2e7736bed Fix the run dependency and install the bash completion file.
PR:	212154
Submitted by:	Tobias Kortkamp <t@tobik.me>
2016-08-26 01:02:36 +00:00
Kevin Lo
e096acc03c Update to 3.1.3
PR:	ports/143007
Submitted by:	bf1783 at gmail dot com
2010-04-19 07:06:28 +00:00