Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-efl for openSUSE:Factory checked in at 2022-02-25 21:25:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-efl (Old) and /work/SRC/openSUSE:Factory/.python-efl.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-efl" Fri Feb 25 21:25:02 2022 rev:6 rq:957462 version:1.25.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-efl/python-efl.changes 2021-02-25 18:26:44.318153249 +0100 +++ /work/SRC/openSUSE:Factory/.python-efl.new.1958/python-efl.changes 2022-02-25 21:25:28.291642587 +0100 @@ -1,0 +2,5 @@ +Mon Jan 10 14:29:25 UTC 2022 - Andreas Schwab <[email protected]> + +- memory-allocation-error.patch: fix a memory allocation error + +------------------------------------------------------------------- New: ---- memory-allocation-error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-efl.spec ++++++ --- /var/tmp/diff_new_pack.vFLohh/_old 2022-02-25 21:25:31.411643145 +0100 +++ /var/tmp/diff_new_pack.vFLohh/_new 2022-02-25 21:25:31.415643145 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-efl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Group: Development/Libraries/Python URL: http://enlightenment.org Source: https://download.enlightenment.org/rel/bindings/python/%{name}-%{version}.tar.xz +Patch0: memory-allocation-error.patch BuildRequires: %{python_module devel} BuildRequires: dbus-1-python3-devel BuildRequires: pkgconfig @@ -60,6 +61,7 @@ %if 0%{?suse_version} %python_subpackages %else + %package -n python3-efl Summary: Python bindings of evas Group: Development/Languages/Python @@ -94,6 +96,7 @@ %prep %setup -q +%patch0 -p1 # drop build date from doc to fix build-compare sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" ./doc/conf.py ++++++ memory-allocation-error.patch ++++++ Index: python-efl-1.25.0/efl/evas/efl.evas.c =================================================================== --- python-efl-1.25.0.orig/efl/evas/efl.evas.c +++ python-efl-1.25.0/efl/evas/efl.evas.c @@ -83766,15 +83766,15 @@ static int __pyx_pf_3efl_4evas_18SmartCb /* "efl/evas/efl.evas_object_smart.pxi":70 * def __init__(self, name, types): * cdef Evas_Smart_Cb_Description *tmp - * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description*)) # <<<<<<<<<<<<<< + * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description)) # <<<<<<<<<<<<<< * if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name) * tmp.name = strdup(name) */ - __pyx_v_tmp = ((Evas_Smart_Cb_Description *)malloc((sizeof(Evas_Smart_Cb_Description *)))); + __pyx_v_tmp = ((Evas_Smart_Cb_Description *)malloc((sizeof(Evas_Smart_Cb_Description)))); /* "efl/evas/efl.evas_object_smart.pxi":71 * cdef Evas_Smart_Cb_Description *tmp - * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description*)) + * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description)) * if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name) # <<<<<<<<<<<<<< * tmp.name = strdup(name) * if isinstance(types, unicode): types = PyUnicode_AsUTF8String(types) @@ -83789,7 +83789,7 @@ static int __pyx_pf_3efl_4evas_18SmartCb } /* "efl/evas/efl.evas_object_smart.pxi":72 - * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description*)) + * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description)) * if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name) * tmp.name = strdup(name) # <<<<<<<<<<<<<< * if isinstance(types, unicode): types = PyUnicode_AsUTF8String(types) @@ -83838,7 +83838,7 @@ static int __pyx_pf_3efl_4evas_18SmartCb * * def __init__(self, name, types): # <<<<<<<<<<<<<< * cdef Evas_Smart_Cb_Description *tmp - * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description*)) + * tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description)) */ /* function exit code */ Index: python-efl-1.25.0/efl/evas/efl.evas_object_smart.pxi =================================================================== --- python-efl-1.25.0.orig/efl/evas/efl.evas_object_smart.pxi +++ python-efl-1.25.0/efl/evas/efl.evas_object_smart.pxi @@ -67,7 +67,7 @@ cdef class SmartCbDescription: def __init__(self, name, types): cdef Evas_Smart_Cb_Description *tmp - tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description*)) + tmp = <Evas_Smart_Cb_Description *>malloc(sizeof(Evas_Smart_Cb_Description)) if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name) tmp.name = strdup(name) if isinstance(types, unicode): types = PyUnicode_AsUTF8String(types)
