summaryrefslogtreecommitdiff
path: root/graphics/aqsis
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-02 00:40:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-02 00:40:52 +0000
commit769d192c0cf316a96afea42b2f6e7687afc82c59 (patch)
treecf163e5a3956c04df2372afe45c00874e681a836 /graphics/aqsis
parentUpdate to 2.6.7 (diff)
- Update to 1.0.1
PR: ports/88345 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=146974
Diffstat (limited to 'graphics/aqsis')
-rw-r--r--graphics/aqsis/Makefile11
-rw-r--r--graphics/aqsis/distinfo4
-rw-r--r--graphics/aqsis/files/patch-render::ri.cpp11
3 files changed, 6 insertions, 20 deletions
diff --git a/graphics/aqsis/Makefile b/graphics/aqsis/Makefile
index 634264984e05..69025726c1b2 100644
--- a/graphics/aqsis/Makefile
+++ b/graphics/aqsis/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= aqsis
-PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTVERSION= 1.0.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -20,7 +19,7 @@ BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
-USE_GCC= 3.4
+USE_GCC= 3.4+
USE_GNOME= gnometarget
USE_BISON= yes
USE_REINPLACE= yes
@@ -32,8 +31,8 @@ INSTALLS_SHLIB= yes
MAN1= aqsis.1
-CFLAGS+= -O0
-CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -fPIC
+CFLAGS+= -fPIC
+CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
@@ -44,7 +43,5 @@ BROKEN= "Does not compile on ${MACHINE_ARCH} (needs -fPIC)"
post-patch:
@${REINPLACE_CMD} -e 's|PLUGIN_FLAGS=|#PLUGIN_FLAGS=|g' ${WRKSRC}/configure
- @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
- 's|malloc\.h|stdlib.h|g'
.include <bsd.port.post.mk>
diff --git a/graphics/aqsis/distinfo b/graphics/aqsis/distinfo
index e88cf4e50947..5c20dd3fe255 100644
--- a/graphics/aqsis/distinfo
+++ b/graphics/aqsis/distinfo
@@ -1,2 +1,2 @@
-MD5 (aqsis-1.0.0.tar.gz) = 1d144d49cda08aa8e1f6c83291e4812b
-SIZE (aqsis-1.0.0.tar.gz) = 2667965
+MD5 (aqsis-1.0.1.tar.gz) = 17e58818ab647f002c642c8abe591e35
+SIZE (aqsis-1.0.1.tar.gz) = 2788459
diff --git a/graphics/aqsis/files/patch-render::ri.cpp b/graphics/aqsis/files/patch-render::ri.cpp
deleted file mode 100644
index f092bdeb5995..000000000000
--- a/graphics/aqsis/files/patch-render::ri.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- render/ri.cpp.orig Mon Apr 12 13:49:57 2004
-+++ render/ri.cpp Mon Apr 12 13:51:26 2004
-@@ -3608,7 +3608,7 @@
- TqInt iElem;
- for( iElem = 0; iElem < fvcount; ++iElem )
- {
-- const unsigned char* pval = static_cast<const unsigned char*>( values[ iUserParam ] ) + ( aFVList[ iElem ] * elem_size );
-+ unsigned char* pval = static_cast<unsigned char*>( values[ iUserParam ] ) + ( aFVList[ iElem ] * elem_size );
- memcpy( pNew, pval, elem_size );
- pNew += elem_size;
- }