summaryrefslogtreecommitdiff
path: root/dev-python/cangjie/files/cangjie-1.2-cython-022.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/cangjie/files/cangjie-1.2-cython-022.patch')
-rw-r--r--dev-python/cangjie/files/cangjie-1.2-cython-022.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/cangjie/files/cangjie-1.2-cython-022.patch b/dev-python/cangjie/files/cangjie-1.2-cython-022.patch
new file mode 100644
index 00000000000..ac2695c9e13
--- /dev/null
+++ b/dev-python/cangjie/files/cangjie-1.2-cython-022.patch
@@ -0,0 +1,25 @@
+diff --git a/Makefile.am b/Makefile.am
+index 6762b97..c0cc699 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -47,19 +47,19 @@ pkgpyexecdir = $(pyexecdir)/cangjie
+
+ src/cangjie/_core.c: src/cangjie/_core.pyx src/cangjie/_core.pxd
+ $(MKDIR_P) src/cangjie
+- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/_core.pyx
++ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/_core.pyx
+
+ src/cangjie/errors.c: src/cangjie/errors.pyx src/cangjie/_core.pxd
+ $(MKDIR_P) src/cangjie
+- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/errors.pyx
++ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/errors.pyx
+
+ src/cangjie/filters.c: src/cangjie/filters.pyx src/cangjie/_core.pxd
+ $(MKDIR_P) src/cangjie
+- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/filters.pyx
++ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/filters.pyx
+
+ src/cangjie/versions.c: src/cangjie/versions.pyx src/cangjie/_core.pxd
+ $(MKDIR_P) src/cangjie
+- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/versions.pyx
++ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/versions.pyx