Revision
80067
Author
pixilla@macports.org
Date
2011-07-03 12:22:50 -0700 (Sun, 03 Jul 2011)

Log Message

benchmarks/polygraph: Fix build failure on Mac OS X 10.5. Remove unused patch file.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/dports/benchmarks/polygraph/Portfile (80066 => 80067)


--- trunk/dports/benchmarks/polygraph/Portfile	2011-07-03 19:01:55 UTC (rev 80066)
+++ trunk/dports/benchmarks/polygraph/Portfile	2011-07-03 19:22:50 UTC (rev 80067)
@@ -36,6 +36,8 @@
 
 distfiles               ${name}-${version}-src.tgz
 
+patchfiles              patch-src-xstd-Select.h.diff
+
 livecheck.type          regex
 livecheck.url           ${homepage}downloads/srcs/
 livecheck.regex         ${name}-(\[0-9\\.\]+)-src.tgz

Added: trunk/dports/benchmarks/polygraph/files/patch-src-xstd-Select.h.diff (0 => 80067)


--- trunk/dports/benchmarks/polygraph/files/patch-src-xstd-Select.h.diff	                        (rev 0)
+++ trunk/dports/benchmarks/polygraph/files/patch-src-xstd-Select.h.diff	2011-07-03 19:22:50 UTC (rev 80067)
@@ -0,0 +1,13 @@
+--- src/xstd/Select.h.orig	2011-05-18 16:32:28.000000000 -0700
++++ src/xstd/Select.h	2011-05-18 16:33:26.000000000 -0700
+@@ -30,8 +30,8 @@
+ 		bool isReady(int fd) const { return FD_ISSET(fd, &theReadySet) != 0; }
+ 
+ 	protected:
+-		fd_set theSet;
+-		fd_set theReadySet;
++		mutable fd_set theSet;
++		mutable fd_set theReadySet;
+ 
+ 		int theMaxFD;
+ 		int theResCount;

Deleted: trunk/dports/benchmarks/polygraph/files/patch-src-xstd-Ssl.cc.diff (80066 => 80067)


--- trunk/dports/benchmarks/polygraph/files/patch-src-xstd-Ssl.cc.diff	2011-07-03 19:01:55 UTC (rev 80066)
+++ trunk/dports/benchmarks/polygraph/files/patch-src-xstd-Ssl.cc.diff	2011-07-03 19:22:50 UTC (rev 80067)
@@ -1,11 +0,0 @@
---- src/xstd/Ssl.cc.orig	2010-12-07 15:03:45.000000000 +0100
-+++ src/xstd/Ssl.cc	2010-12-07 15:04:47.000000000 +0100
-@@ -23,7 +23,7 @@
- 
- SslCtx::SslCtx(SslProtocol protocol, const String &cipher): theCtx(0) {
- #if OPENSSL_ENABLED
--	SSL_METHOD *method;
-+	const SSL_METHOD *method;
- 	switch(protocol) {
- 		case SSLv2:
- 			method = ::SSLv2_method();