[26196] trunk/dports/www/varnish
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jun 15 11:44:19 PDT 2007
Revision: 26196
http://trac.macosforge.org/projects/macports/changeset/26196
Author: pmq at macports.org
Date: 2007-06-15 11:44:19 -0700 (Fri, 15 Jun 2007)
Log Message:
-----------
Patch stolen from Florian Schulze on the Varnish ML. Will fix VCL compiling.
Modified Paths:
--------------
trunk/dports/www/varnish/Portfile
Added Paths:
-----------
trunk/dports/www/varnish/files/patch-mgt_vcc.c
Modified: trunk/dports/www/varnish/Portfile
===================================================================
--- trunk/dports/www/varnish/Portfile 2007-06-15 18:42:29 UTC (rev 26195)
+++ trunk/dports/www/varnish/Portfile 2007-06-15 18:44:19 UTC (rev 26196)
@@ -4,6 +4,7 @@
name varnish
version 1.0.4
+revision 1
categories www
maintainers pmq at macports.org
@@ -17,7 +18,7 @@
checksums sha1 121e6a195e27d553b27cf288922b0fde99363e9a \
rmd160 e6613a585382735c00ffb64f9df57be282339da3
-patchfiles patch-autogen.sh
+patchfiles patch-autogen.sh patch-mgt_vcc.c
post-patch {
reinplace "s|__dev_t|dev_t|g" ${worksrcpath}/lib/libvarnish/vpf.c
}
Added: trunk/dports/www/varnish/files/patch-mgt_vcc.c
===================================================================
--- trunk/dports/www/varnish/files/patch-mgt_vcc.c (rev 0)
+++ trunk/dports/www/varnish/files/patch-mgt_vcc.c 2007-06-15 18:44:19 UTC (rev 26196)
@@ -0,0 +1,13 @@
+Index: bin/varnishd/mgt_vcc.c
+===================================================================
+--- bin/varnishd/mgt_vcc.c (revision 1503)
++++ bin/varnishd/mgt_vcc.c (working copy)
+@@ -164,7 +164,7 @@
+ /* Attempt to open a pipe to the system C-compiler */
+ sprintf(buf,
+ "ln -f %s /tmp/_.c ;" /* XXX: for debugging */
+- "exec cc -fpic -shared -Wl,-x -o %s -x c - < %s 2>&1",
++ "exec cc -dynamiclib -Wl,-flat_namespace,-undefined,suppress -o %s -x c - < %s 2>&1",
+ sf, of, sf);
+
+ fo = popen(buf, "r");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070615/b16f5307/attachment.html
More information about the macports-changes
mailing list