Index: head/devel/libuta/Makefile =================================================================== --- head/devel/libuta/Makefile (revision 116209) +++ head/devel/libuta/Makefile (revision 116210) @@ -1,61 +1,61 @@ # New ports collection makefile for: libuta # Date created: 29 March 2001 # Whom: Oliver Lehmann # # $FreeBSD$ # PORTNAME= libuta PORTVERSION= 0.4.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= oliver@FreeBSD.org COMMENT= A Graphical User Interface library for C++ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ sigc.1:${PORTSDIR}/devel/libsigc++ OPTIONS= SDL_MIXER "music and sound support" off USE_FREETYPE= yes USE_INC_LIBTOOL_VER= 13 USE_SDL= sdl GNU_CONFIGURE= yes USE_REINPLACE= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" WANT_SDL= yes SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \ uta/pixelformat.h uta/rect.h uta/sge_blib.cc uta/sge_blib.h \ uta/sge_draw.cc uta/sge_draw.h uta/sound.h uta/surface_io.cc \ uta/surface.h uta/timer.cc .include .if ${HAVE_SDL:Mmixer}!="" WITH_SDL_MIXER= yes .endif .if defined(WITH_SDL_MIXER) USE_SDL+= mixer .endif post-patch: .for i in ${SDL11_FILES} @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/$i .endfor pre-configure: @${REINPLACE_CMD} -e '\ s|||g; \ s|-lpthread||g; \ s|-lc_r|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure ${WRKSRC}/uta/font.h .include Property changes on: head/devel/libuta/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.26 \ No newline at end of property +1.27 \ No newline at end of property Index: head/devel/libuta/files/patch-uta::blitters.cc =================================================================== --- head/devel/libuta/files/patch-uta::blitters.cc (revision 116209) +++ head/devel/libuta/files/patch-uta::blitters.cc (revision 116210) @@ -1,46 +1,46 @@ ---- /usr/obj/mnt/files/freebsd-cvs/ports/devel/libuta/work/libuta-0.4.4/uta/blitters.cc.orig Sat Oct 12 23:11:07 2002 -+++ /usr/obj/mnt/files/freebsd-cvs/ports/devel/libuta/work/libuta-0.4.4/uta/blitters.cc Thu Aug 12 20:58:40 2004 +--- uta/blitters.cc.orig Sat Oct 12 23:11:07 2002 ++++ uta/blitters.cc Thu Aug 12 20:58:40 2004 @@ -20,6 +20,7 @@ #include "blitters.h" #include +#include namespace uta { @@ -28,6 +29,8 @@ #endif #if !defined(X86_ASSEMBLER) +using namespace std; + /** Apply const gamma value. Blit just copies alpha value of the source to the destination surface. */ @@ -163,7 +166,7 @@ only using the lower 16bits of result ... this is somehow dumb, but only executed once per scanline, so I do not care */ - movd_r2m(mm1,(unsigned int*)dPtr); + movd_r2m(mm1,*(mmx_t*)dPtr); sPtr += 4; dPtr += 4; } @@ -211,7 +214,7 @@ only using the lower 16bits of result ... this is somehow dumb, but only executed once per scanline, so I do not care */ - movd_r2m(mm1,(unsigned int*)dPtr); + movd_r2m(mm1,*(mmx_t*)dPtr); sPtr += 4; dPtr += 4; } @@ -960,7 +963,7 @@ only using the lower 16bits of result ... this is somehow dumb, but only executed once per scanline, so I do not care */ - movd_r2m(mm1,(unsigned int*)dPtr); + movd_r2m(mm1,*(mmx_t*)dPtr); sPtr += 4; dPtr += 4; } Property changes on: head/devel/libuta/files/patch-uta::blitters.cc ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/devel/wftk/Makefile =================================================================== --- head/devel/wftk/Makefile (revision 116209) +++ head/devel/wftk/Makefile (revision 116210) @@ -1,61 +1,61 @@ # New ports collection makefile for: libuta # Date created: 29 March 2001 # Whom: Oliver Lehmann # # $FreeBSD$ # PORTNAME= libuta PORTVERSION= 0.4.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= oliver@FreeBSD.org COMMENT= A Graphical User Interface library for C++ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ sigc.1:${PORTSDIR}/devel/libsigc++ OPTIONS= SDL_MIXER "music and sound support" off USE_FREETYPE= yes USE_INC_LIBTOOL_VER= 13 USE_SDL= sdl GNU_CONFIGURE= yes USE_REINPLACE= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" WANT_SDL= yes SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \ uta/pixelformat.h uta/rect.h uta/sge_blib.cc uta/sge_blib.h \ uta/sge_draw.cc uta/sge_draw.h uta/sound.h uta/surface_io.cc \ uta/surface.h uta/timer.cc .include .if ${HAVE_SDL:Mmixer}!="" WITH_SDL_MIXER= yes .endif .if defined(WITH_SDL_MIXER) USE_SDL+= mixer .endif post-patch: .for i in ${SDL11_FILES} @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/$i .endfor pre-configure: @${REINPLACE_CMD} -e '\ s|||g; \ s|-lpthread||g; \ s|-lc_r|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure ${WRKSRC}/uta/font.h .include Property changes on: head/devel/wftk/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.26 \ No newline at end of property +1.27 \ No newline at end of property Index: head/devel/wftk/files/patch-uta::blitters.cc =================================================================== --- head/devel/wftk/files/patch-uta::blitters.cc (revision 116209) +++ head/devel/wftk/files/patch-uta::blitters.cc (revision 116210) @@ -1,46 +1,46 @@ ---- /usr/obj/mnt/files/freebsd-cvs/ports/devel/libuta/work/libuta-0.4.4/uta/blitters.cc.orig Sat Oct 12 23:11:07 2002 -+++ /usr/obj/mnt/files/freebsd-cvs/ports/devel/libuta/work/libuta-0.4.4/uta/blitters.cc Thu Aug 12 20:58:40 2004 +--- uta/blitters.cc.orig Sat Oct 12 23:11:07 2002 ++++ uta/blitters.cc Thu Aug 12 20:58:40 2004 @@ -20,6 +20,7 @@ #include "blitters.h" #include +#include namespace uta { @@ -28,6 +29,8 @@ #endif #if !defined(X86_ASSEMBLER) +using namespace std; + /** Apply const gamma value. Blit just copies alpha value of the source to the destination surface. */ @@ -163,7 +166,7 @@ only using the lower 16bits of result ... this is somehow dumb, but only executed once per scanline, so I do not care */ - movd_r2m(mm1,(unsigned int*)dPtr); + movd_r2m(mm1,*(mmx_t*)dPtr); sPtr += 4; dPtr += 4; } @@ -211,7 +214,7 @@ only using the lower 16bits of result ... this is somehow dumb, but only executed once per scanline, so I do not care */ - movd_r2m(mm1,(unsigned int*)dPtr); + movd_r2m(mm1,*(mmx_t*)dPtr); sPtr += 4; dPtr += 4; } @@ -960,7 +963,7 @@ only using the lower 16bits of result ... this is somehow dumb, but only executed once per scanline, so I do not care */ - movd_r2m(mm1,(unsigned int*)dPtr); + movd_r2m(mm1,*(mmx_t*)dPtr); sPtr += 4; dPtr += 4; } Property changes on: head/devel/wftk/files/patch-uta::blitters.cc ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property