From 9388834b976e786e743709779929bd72258dab0b Mon Sep 17 00:00:00 2001 From: danfe Date: Mon, 6 May 2013 01:14:55 +0000 Subject: Fix the build against Clang. --- emulators/x48/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emulators/x48') 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 -- cgit