aboutsummaryrefslogtreecommitdiff
path: root/emulators/x48
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-06 01:14:55 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-06 01:14:55 +0000
commit6bce7a6b11ef091768cc6e2e6dd31bf8c0302fe7 (patch)
treeac0c61538a0ebac6901c20d61ae3b18ac457be1e /emulators/x48
parent139838ce1dace9d35cb8d660e6e591b3fb19f34e (diff)
downloadports-6bce7a6b11ef091768cc6e2e6dd31bf8c0302fe7.tar.gz
ports-6bce7a6b11ef091768cc6e2e6dd31bf8c0302fe7.zip
Fix the build against Clang.
Notes
Notes: svn path=/head/; revision=317453
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