aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-11-05 04:41:34 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-11-05 04:41:34 +0000
commit2c5c67015f56e2f8b1eea91702add2a230d35586 (patch)
tree1b909f86e0e1f88250d6fbc28d22177140d646df /www
parent12382b2fede49c3e548e8bb7159bff3943c416e3 (diff)
downloadports-2c5c67015f56e2f8b1eea91702add2a230d35586.tar.gz
ports-2c5c67015f56e2f8b1eea91702add2a230d35586.zip
Tweak patch to have a better way of fix, took from its CVS.
https://sourceforge.net/support/tracker.php?aid=1590573 Submitted by: Masao Mutoh (developer)
Notes
Notes: svn path=/head/; revision=176407
Diffstat (limited to 'www')
-rw-r--r--www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb b/www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb
index 9c9564d4e0a9..7bc6ab9e3026 100644
--- a/www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb
+++ b/www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb
@@ -4,8 +4,8 @@
def make_version_header(app_name, pkgname, dir = "src")
version = PKGConfig.modversion(pkgname).split(/\./)
-+ if "#{version[2]}" == ""
-+ version[2] = 0
++ (0..2).each do |v|
++ version[v] = "0" unless version[v]
+ end
+
filename = "rb#{app_name.downcase}version.h"