From ffba4d2517e856df64248f66fed326a1742a1e3c Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Mon, 20 Feb 2023 13:46:34 +0100 Subject: security/0d1n: fix build - convert static REINPLACE_CMD to patch files as per policy - remove remaining 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: 88dd085ff7851bb2906039d97a81857fe6d8b2e3 Approved by: portmgr (build fix blanket) Approved by: flo (mentor) Differential Revision: https://reviews.freebsd.org/D38725 --- security/0d1n/files/patch-src_headers_spider.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 security/0d1n/files/patch-src_headers_spider.h (limited to 'security/0d1n/files/patch-src_headers_spider.h') diff --git a/security/0d1n/files/patch-src_headers_spider.h b/security/0d1n/files/patch-src_headers_spider.h new file mode 100644 index 000000000000..7a9907e410c4 --- /dev/null +++ b/security/0d1n/files/patch-src_headers_spider.h @@ -0,0 +1,10 @@ +--- src/headers/spider.h.orig 2023-02-20 12:36:07 UTC ++++ src/headers/spider.h +@@ -4,7 +4,6 @@ + #include + #include + #include +-#include + #include + #include + #include -- cgit v1.2.3