summaryrefslogtreecommitdiff
path: root/net/foreman-proxy/files/patch-bin-smart-proxy
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2014-09-27 17:23:35 +0000
committerMartin Matuska <mm@FreeBSD.org>2014-09-27 17:23:35 +0000
commitcaf96f1f375e455a7844d956ea3bf2694a39195a (patch)
tree582c93b278e6d1b7beafd89b275ae488b3d6d7ad /net/foreman-proxy/files/patch-bin-smart-proxy
parentgraphics/py-pivy: Python binding for Coin (diff)
Update foreman-proxy to 1.6.0
Notes
Notes: svn path=/head/; revision=369405
Diffstat (limited to 'net/foreman-proxy/files/patch-bin-smart-proxy')
-rw-r--r--net/foreman-proxy/files/patch-bin-smart-proxy10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/foreman-proxy/files/patch-bin-smart-proxy b/net/foreman-proxy/files/patch-bin-smart-proxy
new file mode 100644
index 000000000000..d0f879569bad
--- /dev/null
+++ b/net/foreman-proxy/files/patch-bin-smart-proxy
@@ -0,0 +1,10 @@
+--- bin/smart-proxy.orig 2014-09-27 09:46:43.550292207 +0200
++++ bin/smart-proxy 2014-09-27 09:46:48.536355156 +0200
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env ruby
+
+-$LOAD_PATH.unshift *Dir[File.expand_path("../../lib", __FILE__), File.expand_path("../../modules", __FILE__)]
++$LOAD_PATH.unshift *Dir["%%DATADIR%%/lib", "%%DATADIR%%/modules"]
+
+ require 'smart_proxy'
+ Proxy::Launcher.launch