aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Mynott <steve.mynott@gmail.com>2016-11-19 20:00:20 +0000
committerSteve Mynott <steve.mynott@gmail.com>2016-11-19 20:00:20 +0000
commit095b9f39954a618e1f28cbc0573a877c04613e28 (patch)
tree14905a98691cb5d615f11fdeb58926c634582775
parentc48de654522468a04bbafc20dda800456fdbf930 (diff)
Patch a url in one module test
-rw-r--r--patches/README3
-rw-r--r--patches/perl6-pod-to-bigpage.patch11
-rw-r--r--tools/star/Makefile5
3 files changed, 18 insertions, 1 deletions
diff --git a/patches/README b/patches/README
new file mode 100644
index 0000000..9e041e3
--- /dev/null
+++ b/patches/README
@@ -0,0 +1,3 @@
+Temporary patches which should be submitted upstream ASAP.
+
+This mechanism should not be overused.
diff --git a/patches/perl6-pod-to-bigpage.patch b/patches/perl6-pod-to-bigpage.patch
new file mode 100644
index 0000000..8a30c5b
--- /dev/null
+++ b/patches/perl6-pod-to-bigpage.patch
@@ -0,0 +1,11 @@
+--- ../modules/perl6-pod-to-bigpage/t/P.t
++++ ../modules/perl6-pod-to-bigpage/t/P.t
+@@ -6,7 +6,7 @@
+
+ =begin pod
+ P<./t/hello-camelia.txt>
+-P<http://perl6.org/robots.txt>
++P<http://http.perl6.org/robots.txt>
+ =end pod
+
+ my $ok-result = q:to/EOH/;
diff --git a/tools/star/Makefile b/tools/star/Makefile
index 38039b4..0582a67 100644
--- a/tools/star/Makefile
+++ b/tools/star/Makefile
@@ -63,7 +63,10 @@ manifest: modules/DBIish/lib
sort -o MANIFEST MANIFEST
rm MANIFEST.1
-tarball: manifest
+patch:
+ patch -p1 < patches/perl6-pod-to-bigpage.patch
+
+tarball: manifest patch
[ -n "$(VERSION)" ] || ( echo "\nTry '$(MAKE) release VERSION=yyyy.mm'\n\n"; exit 1 )
[ -d $(STAR_REL) ] || ln -s . $(STAR_REL)
$(PREFIX) $(STAR_REL)/ MANIFEST | \