freebsd-ports/www/cgicc/files/patch-warnings
Mikhail Teterin 18492fd79a 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
2013-01-14 17:55:58 +00:00

21 lines
749 B
Text

--- 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");