summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-11-05 04:41:34 +0000
committermezz <mezz@FreeBSD.org>2006-11-05 04:41:34 +0000
commit89e3451dc07fa2c4a4be8d03546872d1aff03db9 (patch)
tree7bfc23ab2f2c0b22d6b25e74bfce734f13eaaefe /www
parentadf4502c695cc67dbe860f7df927085679fc9518 (diff)
downloadFreeBSD-ports-89e3451dc07fa2c4a4be8d03546872d1aff03db9.zip
FreeBSD-ports-89e3451dc07fa2c4a4be8d03546872d1aff03db9.tar.gz
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)
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 9c9564d..7bc6ab9 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"
OpenPOWER on IntegriCloud