summaryrefslogtreecommitdiffstats
path: root/www/midori/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/midori/files')
-rw-r--r--www/midori/files/patch-data_search16
-rw-r--r--www/midori/files/patch-wscript12
2 files changed, 28 insertions, 0 deletions
diff --git a/www/midori/files/patch-data_search b/www/midori/files/patch-data_search
new file mode 100644
index 000000000..4fafcf236
--- /dev/null
+++ b/www/midori/files/patch-data_search
@@ -0,0 +1,16 @@
+--- data/search.orig 2010-05-26 12:31:56.000000000 +0200
++++ data/search 2010-05-26 12:34:03.000000000 +0200
+@@ -6,6 +6,13 @@
+ icon=
+ token=g
+
++[FreshPorts]
++name=FreshPorts
++text=The changes made to the FreeBSD ports tree
++uri=http://www.freshports.org/search.php?query=%s
++icon=
++token=fp
++
+ [Wikipedia]
+ name=Wikipedia
+ text=The free encyclopedia
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')