Commit 395cbcad authored by Jonas Smedegaard's avatar Jonas Smedegaard
Browse files

Add patch 1001 to fix allow example namespace. Closes: Bug#922878. Thanks to Gregor Herrmann.

parent 81a43d9e
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
Description: Revert upstream hack to allow example namespace
Author: Jonas Smedegaard <dr@jones.dk>
Bug: https://github.com/nichtich/RDF-NS/issues/24
Bug-Debian: https://bugs.debian.org/922878
Last-Update: 2019-02-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/lib/RDF/NS.pm
+++ b/lib/RDF/NS.pm
@@ -49,7 +49,6 @@
         chomp;
         next if /^#/;
         my ($prefix, $namespace, $date) = split "\t", $_;
-		  next if ($namespace =~ m|^https?://example\.\w+?/|);
         last if $date and $at ne 'any' and $date > $at;
 
         $self->SET( $prefix => $namespace, $warn );
--- a/t/history.t
+++ b/t/history.t
@@ -5,15 +5,15 @@
 use RDF::NS;
 
 my %counts = ( # excluding prefix 'uri'
-    20111028 => 696,
-    20111031 => 698,
-    20111102 => 699,
-    20111124 => 707,
-    20111208 => 714,
-    20120124 => 731,
-    20120426 => 778,
-    20120521 => 789,
-    20120827 => 828,
+    20111028 => 698,
+    20111031 => 700,
+    20111102 => 701,
+    20111124 => 709,
+    20111208 => 716,
+    20120124 => 733,
+    20120426 => 780,
+    20120521 => 791,
+    20120827 => 830,
 );
 
 while ( my ($date,$number) = each(%counts) ) {

debian/patches/series

0 → 100644
+1 −0
Original line number Diff line number Diff line
1001_permit_example_namespace.patch