llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.
Approved by: portmgr (blanket)
In file included from filteri.cpp:71:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:73:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:79:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:81:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:87:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:89:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp💯
./filter/ctoj.h:51:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:102:
./filter/ctoj.h:51:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:115:
./filter/ctok.h:52:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:117:
./filter/ctok.h:52:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:141:
./filter/ctojr.h:109:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:143:
./filter/ctojr.h:109:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
12 errors generated.
Reference: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pdf5b273c8e36_s83d5725005/logs/upx-3.96.log
Commit b7f05445c0 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)
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.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
During an exp-run for llvm 13 (see bug 258209), it turned out that
archivers/upx fails to build with clang 13:
p_wcle.cpp:739:27: error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
unsigned count,object,n,r;
^
1 error generated.
This is because clang 13 now has a -Wunused-but-set-variable warning
similar to gcc's, and it is enabled under -Wall.
The p_wcle.cpp file has two instances where the 'n' variable is used for
debugging purposes, but the first instance is marked with UNUSED(n). The
second is not, triggering this warning. Fix it by also marking the
second instance with UNUSED(n).
PR: 258394
Approved by: maintainer timeout (3 weeks)
upx unconditionally runs its docs target, which relies on multiple [1] pod2*
tools provided by perl.
USES=perl and USE_PERL=build were removed in ports r478489, resulting in those
tools not being available at build time, and the following errors:
/bin/sh: pod2man: not found
/bin/sh: pod2html: not found
/bin/sh: pod2text: not found
This change, accordingly, re-adds perl as an unconditional build dependency,
including a comment about what its for.
While I'm here:
* Update COMMENT for (portlint) compliance [2]
[1] pod2man, pod2html, pod2text
[2] Wikipedia, MajorGeeks and others also describe UPX without a "The" prefix
PR: 234002
Reported by: <mail ozzmosis com>
Approved by: portmgr (blanket: build fix, JFI)
MFH: 2018Q4
Differential Revision: D18549
not provide __BIG_ENDIAN__ macro by default. As `archivers/upx' is aware
of sparc64 existence, simply tell it that it is big-endian architecture.
While here, vocalize installation commands.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED
Approved by: portmgr (pav)