summaryrefslogtreecommitdiffstats
path: root/www/midori/files/patch-wscript
diff options
context:
space:
mode:
Diffstat (limited to 'www/midori/files/patch-wscript')
-rw-r--r--www/midori/files/patch-wscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/midori/files/patch-wscript b/www/midori/files/patch-wscript
new file mode 100644
index 000000000..ccab30837
--- /dev/null
+++ b/www/midori/files/patch-wscript
@@ -0,0 +1,12 @@
+--- wscript.orig 2010-05-26 12:34:09.000000000 +0200
++++ wscript 2010-05-26 12:35:30.000000000 +0200
+@@ -267,8 +267,7 @@
+ if not conf.env['HAVE_UNIQUE']:
+ if Options.platform == 'win32':
+ conf.check (lib='ws2_32')
+- check_pkg ('openssl', mandatory=False)
+- conf.define ('USE_SSL', [0,1][conf.env['HAVE_OPENSSL'] == 1])
++ conf.define ('HAVE_OPENSSL', [0,1][conf.check (header_name='openssl/opensslv.h')])
+ conf.define ('HAVE_NETDB_H', [0,1][conf.check (header_name='netdb.h')])
+ conf.check (header_name='sys/wait.h')
+ conf.check (header_name='sys/select.h')