From 6a173f14b98bb9eb4bbd912deaf7ced91129072c Mon Sep 17 00:00:00 2001 From: danfe Date: Fri, 15 Jun 2007 21:03:03 +0000 Subject: Fix the build with recent GCC. [1] Reported by: pointyhat (logs) --- astro/orsa/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'astro') diff --git a/astro/orsa/Makefile b/astro/orsa/Makefile index 1c1cc7d14d0b..04d4dcaf760d 100644 --- a/astro/orsa/Makefile +++ b/astro/orsa/Makefile @@ -29,4 +29,17 @@ GNU_CONFIGURE= yes USE_GMAKE= yes USE_LDCONFIG= yes +post-patch: + @${REINPLACE_CMD} -e 's,Body::,,' \ + ${WRKSRC}/src/liborsa/orsa_body.h + @${REINPLACE_CMD} -E 's,[[:alnum:]]+::(compare\(),\1,' \ + ${WRKSRC}/src/libxorsa/xorsa_analysis.h \ + ${WRKSRC}/src/libxorsa/xorsa_import_astorb_objects.h \ + ${WRKSRC}/src/libxorsa/xorsa_object_selector.cc \ + ${WRKSRC}/src/orsa/xorsa.h + @${REINPLACE_CMD} -e 's,^extern,& "C",' \ + ${WRKSRC}/src/libxorsa/xorsa_plot_area.h + @${REINPLACE_CMD} -e '/nprintf/s,std::,,' \ + ${WRKSRC}/src/libxorsa/xorsa_wrapper.cc + .include -- cgit