aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/x48
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-05-06 09:14:55 +0800
committerdanfe <danfe@FreeBSD.org>2013-05-06 09:14:55 +0800
commit9388834b976e786e743709779929bd72258dab0b (patch)
treeac0c61538a0ebac6901c20d61ae3b18ac457be1e /emulators/x48
parent24279efceebffef31c706770f786608fd7a33a46 (diff)
downloadfreebsd-ports-gnome-9388834b976e786e743709779929bd72258dab0b.tar.gz
freebsd-ports-gnome-9388834b976e786e743709779929bd72258dab0b.tar.zst
freebsd-ports-gnome-9388834b976e786e743709779929bd72258dab0b.zip
Fix the build against Clang.
Diffstat (limited to 'emulators/x48')
-rw-r--r--emulators/x48/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/emulators/x48/Makefile b/emulators/x48/Makefile
index 8a28451c6f55..14b863743ec1 100644
--- a/emulators/x48/Makefile
+++ b/emulators/x48/Makefile
@@ -47,6 +47,9 @@ post-patch:
s+rom\.dump+${DATADIR}/gxrom-r+' ${WRKSRC}/src/X48.ad.h
# Force correct type per what comment says
@${REINPLACE_CMD} -e '/timer1/s+char+signed &+' ${WRKSRC}/src/hp48.h
+# Fix the build against Clang (lots of warnings remain)
+ @${REINPLACE_CMD} -e '1531s+char \*+void+' ${WRKSRC}/src/debugger.c
+ @${REINPLACE_CMD} -e '698s+^+static +' ${WRKSRC}/src/emulate.c
do-install:
.for p in x48 dump2rom checkrom mkcard