New patch for cgi-lib

Robert Watson rwatson at FreeBSD.org
Sun Apr 2 15:08:10 UTC 2006


Recent versions of gcc are more picky than older versions, especially with 
warnings on.  The attached minor patch to cgi-lib.h allows it to play more 
nicely in more recent C development environments.

BTW, I notice there is a new web site and distributor for cgi-lib, who in 
return for fixing a minor bug or two (apparently) has decided to convert it 
from public domain to GPL.  I assume that the choice to not upgrade has long 
since been made, and trust it will remain that way. :-)

Robert N M Watson

--- cgi-lib.h.orig	Sun Apr  2 15:24:31 2006
+++ cgi-lib.h	Sun Apr  2 15:24:38 2006
@@ -78,7 +78,7 @@
  						empty so we don't waste time by calling the cgi_input_parse()
  						function.
  */
-int is_form_empty();
+int is_form_empty(void);

  /*
  	cgi_env() -	This function will print out the current environment variables on the


More information about the freebsd-ports mailing list