File: 0002-Use-Debian-s-Unicode-data.patch

package info (click to toggle)
re2 20170101%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,748 kB
  • ctags: 2,620
  • sloc: cpp: 19,513; makefile: 294; python: 281; sh: 228; perl: 224; ansic: 9
file content (26 lines) | stat: -rw-r--r-- 746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 538090a89c40ddb12ff1c3368aa746b53559d58f Mon Sep 17 00:00:00 2001
From: Stefano Rivera <stefanor@debian.org>
Date: Sat, 4 Jul 2015 13:12:36 -0700
Subject: Use Debian's Unicode data

The Unicode data on the local system should be used, rather than
downloading from unicode.org.

Forwarded: not-needed
---
 re2/unicode.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/re2/unicode.py b/re2/unicode.py
index 4b2240c..25fa1fb 100644
--- a/re2/unicode.py
+++ b/re2/unicode.py
@@ -9,7 +9,7 @@ import re
 import urllib2
 
 # Directory or URL where Unicode tables reside.
-_UNICODE_DIR = "http://www.unicode.org/Public/8.0.0/ucd"
+_UNICODE_DIR = "/usr/share/unicode"
 
 # Largest valid Unicode code value.
 _RUNE_MAX = 0x10FFFF