From db745590d0bfa768013880dc275528df821d66ef Mon Sep 17 00:00:00 2001 From: krion Date: Mon, 3 Nov 2003 19:26:41 +0000 Subject: - Fix build on -current PR: 58877 Submitted by: Ports Fury --- graphics/qslim/Makefile | 10 +------- graphics/qslim/files/patch-mixkit::src::MxAsp.cxx | 31 +++++++++++++++++++++++ 2 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 graphics/qslim/files/patch-mixkit::src::MxAsp.cxx (limited to 'graphics/qslim') diff --git a/graphics/qslim/Makefile b/graphics/qslim/Makefile index d86774640eca..c7357ff843bc 100644 --- a/graphics/qslim/Makefile +++ b/graphics/qslim/Makefile @@ -33,15 +33,7 @@ CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include \ -I${X11BASE}/include/X11 ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} -.include - -.if ${OSVERSION} > 500034 CFLAGS+= -DMIX_ANSI_IOSTREAMS -fpermissive -.endif - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile on FreeBSD ${OSVERSION}" -.endif post-extract: @${RM} -f ${WRKSRC}/mixkit/src/getopt.h @@ -61,4 +53,4 @@ do-install: @${MKDIR} ${PREFIX}/include/mixkit ${INSTALL_DATA} ${WRKSRC}/mixkit/src/*.h ${PREFIX}/include/mixkit -.include +.include diff --git a/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx b/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx new file mode 100644 index 000000000000..f2e842142240 --- /dev/null +++ b/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx @@ -0,0 +1,31 @@ +--- mixkit/src/MxAsp.cxx.orig Sat Jan 23 06:50:45 1999 ++++ mixkit/src/MxAsp.cxx Mon Nov 3 22:09:45 2003 +@@ -53,8 +53,8 @@ + } + + #define asprint(V)\ +-out<< *as##.##V##_var; \ +-for(i=1; i