summaryrefslogtreecommitdiff
path: root/security/0d1n/files/patch-src_headers_spider.h
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-02-20 13:46:34 +0100
committerRobert Clausecker <fuz@FreeBSD.org>2023-02-24 09:50:04 +0100
commitffba4d2517e856df64248f66fed326a1742a1e3c (patch)
tree37e9fffcf9b8eb3393b08cc9b06b383c989fb0d0 /security/0d1n/files/patch-src_headers_spider.h
parentgames/dobutsu: update to 5 (diff)
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 - 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
Diffstat (limited to 'security/0d1n/files/patch-src_headers_spider.h')
-rw-r--r--security/0d1n/files/patch-src_headers_spider.h10
1 files changed, 10 insertions, 0 deletions
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 <string.h>
+ #include <stdlib.h>
+ #include <stdbool.h>
+-#include <alloca.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <time.h>