python-imagecodecs/zopfli-headers.patch
Tomáš Chvátal c232204244 - Add patch to enforce cythonization:
* always-cythonize.patch
- Add patch to locate zopfli headers properly:
  * zopfli-headers.patch

- Update to 2020.5.30:
  * pythhon3 only
  * add support for more codecs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=9
2020-08-28 09:00:57 +00:00

14 lines
466 B
Diff

Index: imagecodecs-2020.5.30/imagecodecs/zopfli.pxd
===================================================================
--- imagecodecs-2020.5.30.orig/imagecodecs/zopfli.pxd
+++ imagecodecs-2020.5.30/imagecodecs/zopfli.pxd
@@ -4,7 +4,7 @@
# Cython declarations for the `Zopfli 1.0.3` library.
# https://github.com/google/zopfli
-cdef extern from 'zopfli/zopfli.h':
+cdef extern from 'zopfli.h':
ctypedef struct ZopfliOptions:
int verbose