[22983] trunk/dports/www/cgilib
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 20 19:42:34 PDT 2007
Revision: 22983
http://trac.macosforge.org/projects/macports/changeset/22983
Author: markd at macports.org
Date: 2007-03-20 19:42:34 -0700 (Tue, 20 Mar 2007)
Log Message:
-----------
Applied patch that removes the need for a dummy malloc.h file. Related to #11093.
Modified Paths:
--------------
trunk/dports/www/cgilib/Portfile
Added Paths:
-----------
trunk/dports/www/cgilib/files/
trunk/dports/www/cgilib/files/patch-cgi.c
Modified: trunk/dports/www/cgilib/Portfile
===================================================================
--- trunk/dports/www/cgilib/Portfile 2007-03-21 02:15:50 UTC (rev 22982)
+++ trunk/dports/www/cgilib/Portfile 2007-03-21 02:42:34 UTC (rev 22983)
@@ -4,8 +4,8 @@
name cgilib
version 0.5
-revision 2
-categories www devel
+revision 3
+categories www devel
maintainers markd at macports.org
description CGI Library
@@ -22,21 +22,17 @@
master_sites http://www.infodrom.org/projects/cgilib/download/ \
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs/
-
checksums md5 5187ba11b2ec165b6c5b6629087733b0
-
+patchfiles patch-cgi.c
use_configure no
-pre-build {
- system "touch ${worksrcpath}/malloc.h"
-}
build.target ""
build.args CFLAGS="-O3 -fPIC -I."
post-build {
system "ranlib ${worksrcpath}/libcgi.a"
}
-destroot.args INSTALL_OPTS_LIB='-m 644 -p'
+destroot.args INSTALL_OPTS_LIB='-m 644 -p'
destroot {
xinstall -d -m 755 ${destroot}${prefix}/include \
${destroot}${prefix}/lib ${destroot}${prefix}/man/man3
@@ -44,4 +40,3 @@
eval xinstall -m 755 [glob ${worksrcpath}/libcgi*] ${destroot}${prefix}/lib
eval xinstall -m 755 [glob ${worksrcpath}/*.3] ${destroot}${prefix}/man/man3
}
-
Added: trunk/dports/www/cgilib/files/patch-cgi.c
===================================================================
--- trunk/dports/www/cgilib/files/patch-cgi.c (rev 0)
+++ trunk/dports/www/cgilib/files/patch-cgi.c 2007-03-21 02:42:34 UTC (rev 22983)
@@ -0,0 +1,11 @@
+--- cgi.c.orig Sat Aug 21 01:14:07 1999
++++ cgi.c Sun May 8 22:42:30 2005
+@@ -31,7 +31,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <cgi.h>
+
+ int cgiDebugLevel = 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070320/e18dd07a/attachment.html
More information about the macports-changes
mailing list