C-Reduce is a tool which takes a large C or C++ program that has a property of
interest (such as triggering a compiler bug) and automatically produces a much
smaller C/C++ program that has the same property. It is intended for use by
people who discover and report bugs in compilers and other tools that process
C/C++ code.
devel/creduce: update to 2.10.0-110
Switch back to the main branch, which now supports LLVM 18.
No apparent upstream changes except for the LLVM 18 support.
DISTVERSION now follows git describe, making the version go backwards;
bump PORTEPOCH to account for that.
devel/creduce: switch to LLVM 13 branch and unbreak
The main upstream release of creduce requires LLVM 9 which we no longer
have in the ports tree. Fortunately, upstream provides branches with
compatibility to newer LLVM releases. Switch to the LLVM 13 branch and
update the port accordingly. The port version has been adjusted to
reflect this.
Approved by: bofh (maintainer)
MFH: 2023Q2
devel/creduce: mark broken because of incompatibility with some LLVM
/wrkdirs/usr/ports/devel/creduce/work/creduce-8d56bee/clang_delta/ExpressionDetector.cpp:62:16:
error: 'InclusionDirective' marked 'override' but does not override any member
functions
virtual void InclusionDirective(SourceLocation HashLoc,
^
/wrkdirs/usr/ports/devel/creduce/work/creduce-8d56bee/clang_delta/ExpressionDetector.cpp:62:16:
warning: '(anonymous namespace)::IncludesPPCallbacks::InclusionDirective' hides
overloaded virtual function [-Woverloaded-virtual]
/usr/local/llvm13/include/clang/Lex/PPCallbacks.h:122:16: note: hidden
overloaded virtual function 'clang::PPCallbacks::InclusionDirective' declared
here: type mismatch at 6th parameter ('const clang::FileEntry *' vs
'Optional<clang::FileEntryRef>')
virtual void InclusionDirective(SourceLocation HashLoc,
Cleanup: Remove devel/llvm[789]0
* remove old devel/llvm70
* remove old devel/llvm80
* remove old devel/llvm90
* remove ports explicitely depending on either of the three
Differential Revision: https://reviews.freebsd.org/D37936
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/creduce: add crutch for using libc++ 14 with clang++ 8
C-Reduce still depends on devel/llvm80, and this is no longer compatible
with libc++ 14 or higher, since libc++ now requires support for the
__builtin_is_constant_evaluated() builtin function (see
https://github.com/llvm/llvm-project/commit/1123100a16a321d70508e2508ebc5d57ce7163dc
).
As a crutch, add a small header which defines a constexpr
__builtin_is_constant_evaluated() function, and include that at the top
of every compiled file, using -include, whenever the base system clang
version is 14 or higher.
Approved by: swills (maintainer)
MFH: 2022Q1
devel/creduce: unbreak on powerpc64
powerpc64 soon switches to elfv2 on head, where this port builds, but it's
necessary to add -mabi=elfv2 to CFLAGS, because LLVM 8 defaults to elfv1.
PR: 242465
Approved by: swills
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills
devel/creduce: revive port
Since creduce seems to be maintained after all and has recently had a release
which now works with newer llvm, revive the port.
Remove expired ports:
2014-11-30 ports-mgmt/pkg-plist: Generate incorrect plists
2014-11-30 sysutils/rubygem-hiera-puppet: Has been incorporated into hiera
2014-11-30 sysutils/rubygem-hiera-json: Has been incorporated into hiera
2014-11-30 databases/memcachedb: Depends on deprecated Berkeley DB version,
needs porting to DB_SITE
2014-12-01 games/djgame2: Online servers gone, game is not playable
2014-12-01 devel/creduce: Unmaintained and depends on ancient LLVM 3.2
2014-12-01 lang/clay: No development since July 2013, depends on obsolete
clang-3.2
Assume a lack of updates means a lack of interest and deprecate the
creduce port as it is the last undeprecated dependency on clang32.
If someone wants to update this there is a patch that builds, but does
not install at:
https://people.freebsd.org/~brooks/patches/creduce-2.2.0-partial.diff
devel/creduce: fix dependencies
I had forgotten a += so the run depends were wrong.
Further, the dep on clang won't work correctly since a version bump on clang
Reported by: brooks (mostly)
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above )
Fix pkg-plist. @dirrm was run before PORTDATA was added. This was not caught
by pkgng but is caught by pkg_ tools.
Reported by: itetcu
Reviewed by: bapt
Add creduce:
C-Reduce is a tool which takes a large C or C++ program that has a property of
interest (such as triggering a compiler bug) and automatically produces a much
smaller C/C++ program that has the same property. It is intended for use by
people who discover and report bugs in compilers and other tools that process
C/C++ code.
Reviewed by: mva, swills
Tested by: swills