Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 17:55:58 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310397 - in head/www/cgicc: . files
Message-ID:  <201301141755.r0EHtwxL072364@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mi
Date: Mon Jan 14 17:55:58 2013
New Revision: 310397
URL: http://svnweb.freebsd.org/changeset/ports/310397

Log:
  Upgrade from 3.2.9 to 3.2.10. Fix a couple of warnings and an actual
  error introduced in the new version by the developers.
  
  Remove the library's .la file in post-install (no other way to suppress
  the junk, apparently). Turn on parallel-building (MAKE_JOBS_SAFE).
  
  Notified by: portscout

Added:
  head/www/cgicc/files/
  head/www/cgicc/files/patch-Cgicc   (contents, props changed)
  head/www/cgicc/files/patch-warnings   (contents, props changed)
Modified:
  head/www/cgicc/Makefile   (contents, props changed)
  head/www/cgicc/distinfo   (contents, props changed)
  head/www/cgicc/pkg-plist   (contents, props changed)

Modified: head/www/cgicc/Makefile
==============================================================================
--- head/www/cgicc/Makefile	Mon Jan 14 16:46:55 2013	(r310396)
+++ head/www/cgicc/Makefile	Mon Jan 14 17:55:58 2013	(r310397)
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	cgicc
-PORTVERSION=	3.2.9
-PORTREVISION=	2
+PORTVERSION=	3.2.10
 CATEGORIES=	www devel
 MASTER_SITES=	GNU
 
@@ -22,6 +21,8 @@ MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="$
 USE_LDCONFIG=	yes
 
 PORTDOCS=	*
+CXXFLAGS+=	-Wno-unknown-pragmas
+MAKE_JOBS_SAFE=	yes
 
 .if !defined(NOPORTDOCS)
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
@@ -42,5 +43,6 @@ post-install:
 	@${MKDIR} ${DOCSDIR}
 	@(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR})
 .endif
+	${RM} -f ${PREFIX}/lib/libcgicc.la
 
 .include <bsd.port.mk>

Modified: head/www/cgicc/distinfo
==============================================================================
--- head/www/cgicc/distinfo	Mon Jan 14 16:46:55 2013	(r310396)
+++ head/www/cgicc/distinfo	Mon Jan 14 17:55:58 2013	(r310397)
@@ -1,2 +1,2 @@
-SHA256 (cgicc-3.2.9.tar.gz) = 7bf392da75787e848ddf04395a5ed08fc472411deaa07cbae2c3edbea8fbeed4
-SIZE (cgicc-3.2.9.tar.gz) = 2087796
+SHA256 (cgicc-3.2.10.tar.gz) = 87680cb303e65bee2816b9f0e3d0a3c3258efc4f908ec3cad620d01f0b597ce0
+SIZE (cgicc-3.2.10.tar.gz) = 2385130

Added: head/www/cgicc/files/patch-Cgicc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/cgicc/files/patch-Cgicc	Mon Jan 14 17:55:58 2013	(r310397)
@@ -0,0 +1,9 @@
+--- cgicc/Cgicc.cpp	2013-01-12 06:48:13.000000000 -0500
++++ cgicc/Cgicc.cpp	2013-01-14 12:33:56.000000000 -0500
+@@ -388,5 +388,5 @@
+       
+       // Find the '&' or ';' separating subsequent name/value pairs
+-      pos = data.find_first_of(';&', oldPos);
++      pos = data.find_first_of(";&", oldPos);
+       
+       // Even if an '&' wasn't found the rest of the string is a value

Added: head/www/cgicc/files/patch-warnings
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/cgicc/files/patch-warnings	Mon Jan 14 17:55:58 2013	(r310397)
@@ -0,0 +1,21 @@
+--- demo/cardgame.cpp	2013-01-12 06:48:14.000000000 -0500
++++ demo/cardgame.cpp	2013-01-14 12:48:50.000000000 -0500
+@@ -350,5 +350,5 @@
+ 		string actualCard;
+ 		bool isPlaying=false;
+-		int points;
++		int points = -1;
+ 		
+ 		int vNBCardsQueue1=0;
+@@ -1483,8 +1483,8 @@
+       Cgicc cgi;
+       
+-       // Get the name and value of the cookie to set
+-       const_form_iterator name = cgi.getElement("name");
++       // Get the name and value of the cookie to set XXX unused
++       // const_form_iterator name = cgi.getElement("name"); 
+        
+-       const_form_iterator value = cgi.getElement("value");
++       // const_form_iterator value = cgi.getElement("value");
+        
+        const_form_iterator actionIn = cgi.getElement("actionner");

Modified: head/www/cgicc/pkg-plist
==============================================================================
--- head/www/cgicc/pkg-plist	Mon Jan 14 16:46:55 2013	(r310396)
+++ head/www/cgicc/pkg-plist	Mon Jan 14 17:55:58 2013	(r310397)
@@ -28,8 +28,8 @@ include/cgicc/XHTMLDoctype.h
 include/cgicc/XMLDeclaration.h
 include/cgicc/XMLPI.h
 lib/libcgicc.a
-lib/libcgicc.la
 lib/libcgicc.so
 lib/libcgicc.so.5
+lib/pkgconfig/cgicc.pc
 share/aclocal/cgicc.m4
 @dirrm include/cgicc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301141755.r0EHtwxL072364>