ffba4d2517
- 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
- note that project is dual licensed (upstream has since
removed the GPLv3 license)
- define LICENSE_FILE_{GPLv3,BSD3CLAUSE}
PR: 269717
Fixes: 88dd085ff7
Approved by: portmgr (build fix blanket)
Approved by: flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38725
16 lines
463 B
C
16 lines
463 B
C
--- src/strsec.c.orig 2023-02-20 12:39:57 UTC
|
|
+++ src/strsec.c
|
|
@@ -16,11 +16,11 @@
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
+#include "strsec.h"
|
|
|
|
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && \
|
|
!defined(__bsdi__) && !defined(__APPLE__)
|
|
|
|
-#include "strsec.h"
|
|
/*
|
|
* Copy src to string dst of size siz. At most siz-1 characters
|
|
* will be copied. Always NUL terminates (unless siz == 0).
|