ports/58877: Update port: graphics/qslim

KATO Tsuguru tkato at prontomail.com
Mon Nov 3 15:20:28 UTC 2003


>Number:         58877
>Category:       ports
>Synopsis:       Update port: graphics/qslim
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 03 07:20:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build on -current

New file:
files/patch-mixkit::src::MxAsp.cxx

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/qslim/Makefile graphics/qslim/Makefile
--- /usr/ports/graphics/qslim/Makefile	Wed Oct 29 10:27:35 2003
+++ graphics/qslim/Makefile	Mon Nov  3 22:18:58 2003
@@ -33,15 +33,7 @@
 		-I${X11BASE}/include/X11 ${PTHREAD_CFLAGS}
 LDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
 
-.include <bsd.port.pre.mk>
-
-.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 @@
 	@${MKDIR} ${PREFIX}/include/mixkit
 	${INSTALL_DATA} ${WRKSRC}/mixkit/src/*.h ${PREFIX}/include/mixkit
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx graphics/qslim/files/patch-mixkit::src::MxAsp.cxx
--- /usr/ports/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx	Thu Jan  1 09:00:00 1970
+++ graphics/qslim/files/patch-mixkit::src::MxAsp.cxx	Mon Nov  3 22:10:33 2003
@@ -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<size; i++) out << " " << as##.##V##_var[i]
++out<< *as.V##_var; \
++for(i=1; i<size; i++) out << " " << as.V##_var[i]
+ 
+ ostream& MxAspVar::print(ostream& out) const
+ {
+@@ -79,7 +79,7 @@
+ #define defset(V, T) \
+ bool MxAspVar::set_##V(V val, uint i) \
+ {\
+-     if( type==T && i<size ) { as##.##V##_var[i]=val; return true; } \
++     if( type==T && i<size ) { as.V##_var[i]=val; return true; } \
+      else  return false; \
+ }
+ 
+@@ -94,7 +94,7 @@
+ #define defget(V, T) \
+ V *MxAspVar::get_##V(V *out, uint i) \
+ {\
+-     if( type==T && i<size ) { *out = as##.##V##_var[i]; return out; } \
++     if( type==T && i<size ) { *out = as.V##_var[i]; return out; } \
+      else  return NULL; \
+ } 
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list