summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb14
-rw-r--r--ports-mgmt/portupgrade/files/patch-pkgtools.rb14
-rw-r--r--sysutils/portupgrade-devel/files/patch-pkgtools.rb14
-rw-r--r--sysutils/portupgrade/files/patch-pkgtools.rb14
4 files changed, 56 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb b/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb
new file mode 100644
index 0000000..8caf4b3
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb
@@ -0,0 +1,14 @@
+Index: lib/pkgtools.rb
+===================================================================
+RCS file: /home/cvs/pkgtools/lib/pkgtools.rb,v
+retrieving revision 1.100
+diff -u -1 -r1.100 pkgtools.rb
+--- lib/pkgtools.rb 19 Nov 2002 04:53:50 -0000 1.100
++++ lib/pkgtools.rb 20 Nov 2002 06:01:28 -0000
+@@ -649,4 +649,4 @@
+
+- filter_file(shelljoin('sed', '-E',
+- "s|^(@comment[[:space:]]+ORIGIN:).*$|\\1#{origin}|"),
++ filter_file(shelljoin('sed',
++ "s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|"),
+ contents_file)
diff --git a/ports-mgmt/portupgrade/files/patch-pkgtools.rb b/ports-mgmt/portupgrade/files/patch-pkgtools.rb
new file mode 100644
index 0000000..8caf4b3
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-pkgtools.rb
@@ -0,0 +1,14 @@
+Index: lib/pkgtools.rb
+===================================================================
+RCS file: /home/cvs/pkgtools/lib/pkgtools.rb,v
+retrieving revision 1.100
+diff -u -1 -r1.100 pkgtools.rb
+--- lib/pkgtools.rb 19 Nov 2002 04:53:50 -0000 1.100
++++ lib/pkgtools.rb 20 Nov 2002 06:01:28 -0000
+@@ -649,4 +649,4 @@
+
+- filter_file(shelljoin('sed', '-E',
+- "s|^(@comment[[:space:]]+ORIGIN:).*$|\\1#{origin}|"),
++ filter_file(shelljoin('sed',
++ "s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|"),
+ contents_file)
diff --git a/sysutils/portupgrade-devel/files/patch-pkgtools.rb b/sysutils/portupgrade-devel/files/patch-pkgtools.rb
new file mode 100644
index 0000000..8caf4b3
--- /dev/null
+++ b/sysutils/portupgrade-devel/files/patch-pkgtools.rb
@@ -0,0 +1,14 @@
+Index: lib/pkgtools.rb
+===================================================================
+RCS file: /home/cvs/pkgtools/lib/pkgtools.rb,v
+retrieving revision 1.100
+diff -u -1 -r1.100 pkgtools.rb
+--- lib/pkgtools.rb 19 Nov 2002 04:53:50 -0000 1.100
++++ lib/pkgtools.rb 20 Nov 2002 06:01:28 -0000
+@@ -649,4 +649,4 @@
+
+- filter_file(shelljoin('sed', '-E',
+- "s|^(@comment[[:space:]]+ORIGIN:).*$|\\1#{origin}|"),
++ filter_file(shelljoin('sed',
++ "s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|"),
+ contents_file)
diff --git a/sysutils/portupgrade/files/patch-pkgtools.rb b/sysutils/portupgrade/files/patch-pkgtools.rb
new file mode 100644
index 0000000..8caf4b3
--- /dev/null
+++ b/sysutils/portupgrade/files/patch-pkgtools.rb
@@ -0,0 +1,14 @@
+Index: lib/pkgtools.rb
+===================================================================
+RCS file: /home/cvs/pkgtools/lib/pkgtools.rb,v
+retrieving revision 1.100
+diff -u -1 -r1.100 pkgtools.rb
+--- lib/pkgtools.rb 19 Nov 2002 04:53:50 -0000 1.100
++++ lib/pkgtools.rb 20 Nov 2002 06:01:28 -0000
+@@ -649,4 +649,4 @@
+
+- filter_file(shelljoin('sed', '-E',
+- "s|^(@comment[[:space:]]+ORIGIN:).*$|\\1#{origin}|"),
++ filter_file(shelljoin('sed',
++ "s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|"),
+ contents_file)
OpenPOWER on IntegriCloud