net-libs/ldns-1.6.8 does not compile with dev-lang/swig-2.0.2 Reproducible: Always Actual Results: cat ./ldns/*.h | ./doc/doxyparse.pl -m ./doc/function_manpages 2>&1 | \ grep -v ^doxygen | grep -v ^cat > doc/ldns_manpages /usr/bin/swig -python -o contrib/python/ldns_wrapper.c -I. -DHAVE_CONFIG_H -I/usr/include/python2.7 contrib/python/ldns.i contrib/python/ldns.i:117: Error: Syntax error in input(1). will attach patches (emulates upstream fix in trunk)
Created attachment 264185 [details, diff] patch to fix ldns.i removes some comments that swig-2.0.2 doesn't like
Created attachment 264187 [details, diff] ldns-1.6.8.ebuild patch patch to the ebuild to apply the ldns.i patch
Can you provide a link to the upstream patch?
Here's a link to the revised ldns.i in trunk (to eventually be 1.6.9): http://www.nlnetlabs.nl/svn/ldns/trunk/contrib/python/ldns.i Was updated in svn revision 3441. My patch only removes the comments that cause swig-2.0.2 to croak and does not apply any other changes that exist between the the 1.6.8 version and trunk. Essentially the same diff as one would find in ldns.i between svn 3440 and svn 3441.
positive feedback: applied patch, works for me. thanks.
in cvs. thanks.