notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: textproc/p5-SGML-Parser-OpenSP/files/patch-OpenSP.xs

Number of commits found: 3

Wednesday, 5 Jul 2023
00:28 Yasuhiro Kimura (yasu) search for other commits by this committer
textproc/p5-SGML-Parser-OpenSP: Fix build with Perl 5.38

When 5.38 is default perl5 version, build of this port fails as
following.

--- OpenSP.c ---
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT'
section. in OpenSP.xs, line 1178
mv OpenSP.xsc OpenSP.c
--- OpenSP.o ---
c++ -c  -I/usr/local/include  -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   
-DVERSION=\"0.994\"  -DXS_VERSION=\"0.994\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.38/mach/CORE"  -DSP_MULTI_BYTE=1 OpenSP.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is
deprecated [-Wdeprecated]
OpenSP.xs:165:17: error: use of undeclared identifier 'uvuni_to_utf8_flags'
            d = uvuni_to_utf8_flags(d, s.ptr[i], 0);
                ^
OpenSP.xs:174:17: error: use of undeclared identifier 'uvuni_to_utf8_flags'
            d = uvuni_to_utf8_flags(d + SvCUR(result), s.ptr[i], 0);
                ^
2 errors generated.
*** [OpenSP.o] Error code 1

make[1]: stopped in
/usr0/freebsd/ports/work/usr/ports/textproc/p5-SGML-Parser-OpenSP/work/SGML-Parser-OpenSP-0.994
1 error

make[1]: stopped in
/usr0/freebsd/ports/work/usr/ports/textproc/p5-SGML-Parser-OpenSP/work/SGML-Parser-OpenSP-0.994
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/p5-SGML-Parser-OpenSP

In the perlintern(1) man pages of perl 5.36.1, there are sentences as
following.

"uvuni_to_utf8_flags"
   "DEPRECATED!"  It is	planned	to remove "uvuni_to_utf8_flags"	from a
   future release of Perl.  Do not use it for new code;	remove it from
   existing code.

   Instead you almost certainly	want to	use "uvchr_to_utf8" in perlapi
   or "uvchr_to_utf8_flags" in perlapi.

   This	function is a deprecated synonym for "uvoffuni_to_utf8_flags",
   which itself, while not deprecated, should be used only in isolated
   circumstances.  These functions were	useful for code	that wanted to
   handle both EBCDIC and ASCII	platforms with Unicode properties, but
   starting in Perl v5.20, the distinctions between the	platforms have
   mostly been made invisible to most code, so this function is	quite
   unlikely to be what you want.

   U8*	 uvuni_to_utf8_flags(U8	*d, UV uv, UV flags)

So it seems planned removal finally happend with 5.38.

There are two occurrences of uvuni_to_utf8_flags in OpenSP.xs. So fix
build by replacing them with uvchr_to_utf8_flags.

PR:		272364
Approved by:	maintainer
MFH:		2023Q3
commit hash: c279190b7d49bd4d74a2a637eb6d277424f791ce commit hash: c279190b7d49bd4d74a2a637eb6d277424f791ce commit hash: c279190b7d49bd4d74a2a637eb6d277424f791ce commit hash: c279190b7d49bd4d74a2a637eb6d277424f791ce c279190
Friday, 21 Dec 2007
12:35 miwi search for other commits by this committer
- Update to 0.991

PR:             118892
Submitted by:   Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Original commit
Saturday, 28 Jul 2007
19:31 chinsan search for other commits by this committer
Add p5-SGML-Parser-OpenSP 0.100r1, parse SGML documents using OpenSP.

PR:             ports/114975
Submitted by:   Naram Qashat <cyberbotx at cyberbotx.com>
Approved by:    rafan (mentor, implicit)
Original commit

Number of commits found: 3