<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/net/norm, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2023-05-16T18:22:56Z</updated>
<entry>
<title>net/norm: fix build with clang 16</title>
<updated>2023-05-16T18:22:56Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2023-05-14T15:06:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=0fb51ef88cf03579745135004621570a58998dfe'/>
<id>urn:sha1:0fb51ef88cf03579745135004621570a58998dfe</id>
<content type='text'>
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because net/norm's build system does not explicitly set the C++
standard, this leads to several errors:

  ../src/common/normEncoderRS8.cpp:264:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
      USE_GF_MULC ;
      ^
  ../src/common/normEncoderRS8.cpp:136:21: note: expanded from macro 'USE_GF_MULC'
  #define USE_GF_MULC register gf * __gf_mulc_
                      ^
  ../src/common/normEncoderRS8.cpp:265:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
      register gf* dst = dst1;
      ^~~~~~~~~
  ../src/common/normEncoderRS8.cpp:266:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
      register gf* src = src1 ;
      ^~~~~~~~~

Add USE_CXXSTD=gnu++98 to compile for C++98 with GNU extensions instead,
as net/norm does not seem to use any C++11 or later constructs.

PR:		271415
Approved by:	portmgr (build fix blanket)
MFH:		2023Q2
</content>
</entry>
<entry>
<title>net/norm: use upstream divert(4) patches to avoid warning on CURRENT</title>
<updated>2022-09-08T07:31:15Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2022-09-08T07:31:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=ab6be4dbf3bb1c7680976465df6c8331a5e21b5f'/>
<id>urn:sha1:ab6be4dbf3bb1c7680976465df6c8331a5e21b5f</id>
<content type='text'>
PR:		266276
Approved by:	mikael
</content>
</entry>
<entry>
<title>Remove WWW entries moved into port Makefiles</title>
<updated>2022-09-07T21:58:51Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-09-07T21:30:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4'/>
<id>urn:sha1:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Add WWW entries to port Makefiles</title>
<updated>2022-09-07T21:10:59Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-09-07T21:06:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=b7f05445c00f2625aa19b4154ebcbce5ed2daa52'/>
<id>urn:sha1:b7f05445c00f2625aa19b4154ebcbce5ed2daa52</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>One more small cleanup, forgotten yesterday.</title>
<updated>2021-04-07T08:09:01Z</updated>
<author>
<name>Mathieu Arnold</name>
<email>mat@FreeBSD.org</email>
</author>
<published>2021-04-07T08:06:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=cf118ccf875508b9a1c570044c93cfcc82bd455c'/>
<id>urn:sha1:cf118ccf875508b9a1c570044c93cfcc82bd455c</id>
<content type='text'>
Reported by:	lwhsu
</content>
</entry>
<entry>
<title>Remove # $FreeBSD$ from Makefiles.</title>
<updated>2021-04-06T14:31:07Z</updated>
<author>
<name>Mathieu Arnold</name>
<email>mat@FreeBSD.org</email>
</author>
<published>2021-04-06T11:55:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=305f148f482daf30dcf728039d03d019f88344eb'/>
<id>urn:sha1:305f148f482daf30dcf728039d03d019f88344eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net/norm: don't set -mcpu=power7 on powerpc64 anymore</title>
<updated>2020-04-21T00:14:42Z</updated>
<author>
<name>Piotr Kubaj</name>
<email>pkubaj@FreeBSD.org</email>
</author>
<published>2020-04-21T00:14:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=a84974d4266f941d2614cddeba28635baa902a53'/>
<id>urn:sha1:a84974d4266f941d2614cddeba28635baa902a53</id>
<content type='text'>
After head r360134, clang can compile this port with default -mcpu=ppc970.
</content>
</entry>
<entry>
<title>net/norm: fix build on powerpc64 elfv2</title>
<updated>2020-01-23T21:09:43Z</updated>
<author>
<name>Piotr Kubaj</name>
<email>pkubaj@FreeBSD.org</email>
</author>
<published>2020-01-23T21:09:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=66d6287179dac2fa2522d718c0ced1655e9a1a48'/>
<id>urn:sha1:66d6287179dac2fa2522d718c0ced1655e9a1a48</id>
<content type='text'>
On ELFv2 ABI Clang can't build this port by default and throws assertion (already reported):
Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT || Subtarget.hasFPCVT()) &amp;&amp; "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp, line 7281.
Stack dump:
0.	Program arguments: /usr/bin/c++ -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name protoDispatcher.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/protoDispatcher.cpp.1.gcno -resource-dir /usr/lib/clang/9.0.1 -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include/unix -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include/unix -D UNIX -D HAVE_DIRFD -D HAVE_IPV6 -D HAVE_ASSERT -D HAVE_GETLOGIN -D HAVE_FLOCK -D NDEBUG -internal-isystem /usr/include/c++/v1 -O3 -fdeprecated-macro -fdebug-compilation-dir /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/protoDispatcher.cpp.1.o -x c++ ../protolib/src/common/protoDispatcher.cpp
1.	&lt;eof&gt; parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../protolib/src/common/protoDispatcher.cpp'.
4.	Running pass 'PowerPC DAG-&gt;DAG Pattern Instruction Selection' on function '@_ZN15ProtoDispatcher4WaitEv'
#0 0x000000001371df18 (/usr/bin/c+++0x1371df18)
#1 0x000000001371e594 (/usr/bin/c+++0x1371e594)
#2 0x000000001371b858 (/usr/bin/c+++0x1371b858)
#3 0x000000001371ed0c (/usr/bin/c+++0x1371ed0c)
#4 0x000000081520176c (/lib/libthr.so.3+0x1b76c)
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg:

The workaround is to optimize for POWER7, which supports necessary features in hardware. This will break run-time for older CPU's, but at least we can get this port running on POWER7 and newer.

PR:		243227
Approved by:	hd@oc.dk (maintainer timeout)
</content>
</entry>
<entry>
<title>Allow building with a recent version of python</title>
<updated>2020-01-19T17:33:14Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2020-01-19T17:33:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=40a2cd07478800dd048e7d77cc613e8837424acf'/>
<id>urn:sha1:40a2cd07478800dd048e7d77cc613e8837424acf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch version of python used in USES=waf to default version of python</title>
<updated>2020-01-14T09:27:18Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2020-01-14T09:27:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=5c0f583393e53a6817e69d070b1bd88c7f93a3f1'/>
<id>urn:sha1:5c0f583393e53a6817e69d070b1bd88c7f93a3f1</id>
<content type='text'>
Reviewed by:	bapt
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D23143
</content>
</entry>
</feed>
