diff options
Diffstat (limited to 'sysutils/portupgrade-devel/files/patch-pkgversion.rb')
-rw-r--r-- | sysutils/portupgrade-devel/files/patch-pkgversion.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/portupgrade-devel/files/patch-pkgversion.rb b/sysutils/portupgrade-devel/files/patch-pkgversion.rb new file mode 100644 index 000000000000..9a644935fbcd --- /dev/null +++ b/sysutils/portupgrade-devel/files/patch-pkgversion.rb @@ -0,0 +1,9 @@ +--- lib/pkgversion.rb.orig Mon Mar 29 07:35:38 2004 ++++ lib/pkgversion.rb Mon Mar 29 07:36:10 2004 +@@ -62,4 +62,4 @@ + # ignore padded 0's +- n1.gsub!(/(^|\D)0+(\d)/, "\\1\\2") +- n2.gsub!(/(^|\D)0+(\d)/, "\\1\\2") ++ n1 = n1.gsub(/(^|\D)0+(\d)/, "\\1\\2") ++ n2 = n2.gsub(/(^|\D)0+(\d)/, "\\1\\2") + |