summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/mercurial/files/mercurial-4.8.1-unbundle_zstd.patch')
-rw-r--r--dev-vcs/mercurial/files/mercurial-4.8.1-unbundle_zstd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-vcs/mercurial/files/mercurial-4.8.1-unbundle_zstd.patch b/dev-vcs/mercurial/files/mercurial-4.8.1-unbundle_zstd.patch
new file mode 100644
index 000000000000..075645b28457
--- /dev/null
+++ b/dev-vcs/mercurial/files/mercurial-4.8.1-unbundle_zstd.patch
@@ -0,0 +1,15 @@
+--- mercurial-4.8.1/setup.py
++++ mercurial-4.8.1/setup.py
+@@ -983,12 +983,6 @@
+ ['hgext/fsmonitor/pywatchman/bser.c']),
+ ]
+
+-sys.path.insert(0, 'contrib/python-zstandard')
+-import setup_zstd
+-extmodules.append(setup_zstd.get_c_extension(
+- name='mercurial.zstd',
+- root=os.path.abspath(os.path.dirname(__file__))))
+-
+ try:
+ from distutils import cygwinccompiler
+