From 7edffea967fabf425052a6a9b9dee940d08fa046 Mon Sep 17 00:00:00 2001 From: sem Date: Wed, 17 Nov 2004 09:20:41 +0000 Subject: - Unbreak on 5.3+ --- devel/mico/Makefile | 8 ++----- devel/mico/files/patch-include::mico::os-math.h | 28 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 devel/mico/files/patch-include::mico::os-math.h (limited to 'devel/mico') diff --git a/devel/mico/Makefile b/devel/mico/Makefile index 28a8dcc16c85..69308322d7b6 100644 --- a/devel/mico/Makefile +++ b/devel/mico/Makefile @@ -22,7 +22,7 @@ INSTALLS_SHLIB= yes GNU_CONFIGURE= yes USE_REINPLACE= yes USE_GMAKE= yes -USE_AUTOCONF_VER= 253 +USE_AUTOCONF_VER= 259 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} OPTIONS= SERVICES "Build with all services, not only ORB" on \ @@ -61,7 +61,7 @@ CONFIGURE_ARGS+= --disable-coss MICO_SERVICE= "@comment " .endif -CONFIGURE_ENV+= CXXFLAGS=${CPPFLAGS} +CONFIGURE_ENV+= CXXFLAGS="${CPPFLAGS} -Wno-unused" .if defined(WITH_X11) USE_XLIB= yes @@ -110,10 +110,6 @@ MAN8= ird.8 micod.8 nsd.8 .include -.if ${OSVERSION} >= 502125 -BROKEN= Does not build with gcc 3.4 -.endif - post-extract: @${TAR} xzf ${DISTDIR}/doc-html.tar.gz -C ${WRKDIR} diff --git a/devel/mico/files/patch-include::mico::os-math.h b/devel/mico/files/patch-include::mico::os-math.h new file mode 100644 index 000000000000..4d36f7a4e764 --- /dev/null +++ b/devel/mico/files/patch-include::mico::os-math.h @@ -0,0 +1,28 @@ +--- include/mico/os-math.h.orig Tue Nov 16 22:31:18 2004 ++++ include/mico/os-math.h Tue Nov 16 21:07:40 2004 +@@ -291,6 +291,25 @@ + #define isnan(x) (fpclassify(x) == FP_NAN) + #endif + #endif ++ ++#ifndef asinl ++#define asinl asin ++#endif ++#ifndef ldexpl ++#define ldexpl ldexp ++#endif ++#ifndef frexpl ++#define frexpl frexp ++#endif ++#ifndef fmodl ++#define fmodl fmod ++#endif ++#ifndef ceill ++#define ceill ceil ++#endif ++#ifndef floorl ++#define floorl floor ++#endif + #endif // __FreeBSD__ + + #include -- cgit