diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2023-02-20 13:46:34 +0100 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-02-24 09:50:04 +0100 |
commit | ffba4d2517e856df64248f66fed326a1742a1e3c (patch) | |
tree | 37e9fffcf9b8eb3393b08cc9b06b383c989fb0d0 /security/0d1n/files/patch-src_mem__ops.c | |
parent | games/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_mem__ops.c')
-rw-r--r-- | security/0d1n/files/patch-src_mem__ops.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/0d1n/files/patch-src_mem__ops.c b/security/0d1n/files/patch-src_mem__ops.c new file mode 100644 index 000000000000..6eaea0440ca3 --- /dev/null +++ b/security/0d1n/files/patch-src_mem__ops.c @@ -0,0 +1,11 @@ +--- src/mem_ops.c.orig 2023-02-20 12:57:16 UTC ++++ src/mem_ops.c +@@ -17,7 +17,7 @@ static void * + xmalloc_fatal(size_t size) + { + +- DEBUG("\n Memory FAILURE...\n size dbg: %lu\n",size); ++ DEBUG("\n Memory FAILURE...\n size dbg: %zu\n",size); + + exit(0); + } |