mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
devel/z88dk: correct the previous build fix (mea culpa)
Type mismatch was caused by the missing structure field, not that `patchdata' is `int', it is `char *' actually.
This commit is contained in:
parent
cde2b20596
commit
d187b7420b
@ -56,8 +56,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS =/s,$$, -I../../../include,' \
|
||||
${WRKSRC}/test/suites/make.config
|
||||
# Fix the build against Clang 15
|
||||
@${REINPLACE_CMD} -e '/patchdata/s,NULL,0,' \
|
||||
${WRKSRC}/src/appmake/zxn.c
|
||||
@${REINPLACE_CMD} -e '/, ifs/s,move,std::&,' \
|
||||
${WRKSRC}/src/z80asm/src/cpp/preproc.cpp
|
||||
|
||||
|
10
devel/z88dk/files/patch-src_appmake_zxn.c
Normal file
10
devel/z88dk/files/patch-src_appmake_zxn.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/appmake/zxn.c.orig 2020-08-15 03:00:06 UTC
|
||||
+++ src/appmake/zxn.c
|
||||
@@ -31,6 +31,7 @@ static struct zx_tape zxt = {
|
||||
NULL, // merge
|
||||
-1, // patchpos
|
||||
-1, // clear_address
|
||||
+ -1, // usr_address
|
||||
NULL, // patchdata
|
||||
NULL, // screen
|
||||
0, // audio
|
Loading…
Reference in New Issue
Block a user