security/0d1n: fix build - convert static REINPLACE_CMD to patch files as per policy - remove remaining <alloca.h> uses - patch getopt_long use on targets where char is unsigned - work around missing __GNUC_PREREQ macro - fix other missing includes - update pkg-plist to what the maintainer intended to pack - patch /opt/0d1n to ${DATADIR} in the relevant files PR: 269717 Fixes: 88dd085ff7851bb2906039d97a81857fe6d8b2e3 Approved by: portmgr (build fix) Approved by: ... (mentor)
A fix for a botched patch, incorporating bits of a maintainer patch
that were omitted from the commit by accident most likely. These
bits were however changed and expanded to improve policy compliance
and to fix some more problems.