svn commit: r317453 - head/emulators/x48

Alexey Dokuchaev danfe at FreeBSD.org
Mon May 6 01:14:56 UTC 2013


Author: danfe
Date: Mon May  6 01:14:55 2013
New Revision: 317453
URL: http://svnweb.freebsd.org/changeset/ports/317453

Log:
  Fix the build against Clang.

Modified:
  head/emulators/x48/Makefile

Modified: head/emulators/x48/Makefile
==============================================================================
--- head/emulators/x48/Makefile	Mon May  6 00:44:22 2013	(r317452)
+++ head/emulators/x48/Makefile	Mon May  6 01:14:55 2013	(r317453)
@@ -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


More information about the svn-ports-all mailing list