diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-19 01:10:36 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-19 01:45:45 -0300 |
commit | 70740c8bfbb20b09897b5086eb957ef4425919f5 (patch) | |
tree | 60b60f3ebc98705d59ecc880c2ecbf9a8fb26d43 /community/py3-augeas/dlopen-libc-explicitly.patch | |
parent | 292b81b13867d8ad9674e0157ab4ff7716a5fca5 (diff) | |
download | aports-70740c8bfbb20b09897b5086eb957ef4425919f5.tar.bz2 aports-70740c8bfbb20b09897b5086eb957ef4425919f5.tar.xz |
community/py3-augeas: upgrade to 1.1.0
Diffstat (limited to 'community/py3-augeas/dlopen-libc-explicitly.patch')
-rw-r--r-- | community/py3-augeas/dlopen-libc-explicitly.patch | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/community/py3-augeas/dlopen-libc-explicitly.patch b/community/py3-augeas/dlopen-libc-explicitly.patch index c7aa05a2b8..1a7ff29dd6 100644 --- a/community/py3-augeas/dlopen-libc-explicitly.patch +++ b/community/py3-augeas/dlopen-libc-explicitly.patch @@ -1,15 +1,17 @@ +diff --git a/augeas/__init__.py b/augeas/__init__.py +index 9bd97bf..c295228 100644 --- a/augeas/__init__.py +++ b/augeas/__init__.py -@@ -42,7 +42,7 @@ +@@ -32,7 +32,7 @@ format and the transformation into a tree. + + from sys import version_info as _pyver - import cffi - import types -from augeas.ffi import ffi, lib +from augeas.ffi import ffi, lib, c89 - PY3 = _pyver >= (3,) - AUGENC = 'utf8' -@@ -421,8 +421,8 @@ + __author__ = "Nathaniel McCallum <nathaniel@natemccallum.com>" + __credits__ = """Jeff Schroeder <jeffschroeder@computer.org> +@@ -540,8 +540,8 @@ class Augeas(object): # Create a python string and append it to our matches list item = ffi.string(array[i]) matches.append(dec(item)) @@ -20,9 +22,11 @@ return matches def span(self, path): +diff --git a/augeas/ffi.py b/augeas/ffi.py +index a24daf5..9cfcd02 100644 --- a/augeas/ffi.py +++ b/augeas/ffi.py -@@ -40,6 +40,7 @@ +@@ -45,6 +45,7 @@ void free(void *); """) lib = ffi.dlopen("augeas") |