swig-1.3.14 has introduced a source-level incompatibility. I've updated sys-libs/libcap-1.10-r4 to use a new python patch.
Created attachment 39675 [details, diff] Patch against libcap-1.10-r5.ebuild
Created attachment 39676 [details, diff] updated static patch (now applies before python patch)
Created attachment 39677 [details, diff] updated python patch
now in libcap-1.10-r5, thanks
I still cannot see sys-libs/libcap-1.10-r5. The updated python patch is in the files directory (libcap-1.10-python-2.patch), but does not get used by libcap-1.10-r[34].ebuild. Maybe you forgot to "cvs add" the updated ebuild?
no, i deleted it the patch doesnt seem to do anything useful/new
The new patch is needed for >=swig-1.3.14. Old patch (on a system with >=swig-1.3.14): sascha@caravan:~$ python Python 2.3.4 (#1, Oct 20 2004, 14:40:08) [GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import libcap Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: dynamic module does not define init function (initlibcap) >>> New patch (on a system with >=swig-1.3.14): sascha@caravan:~$ python Python 2.3.4 (#1, Oct 20 2004, 14:40:08) [GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import libcap >>>
well can you update the patch that is being used by -r4 instead of writing a pretty different version ? the patch in -r5 re-introduced bugs that -r4 fixed from earlier versions
No response from user...