whilst emerging kdelibs the build of libxslt-1.1.28 fails Line 1898 of %KDEROOT%\build\win32libs\libxslt-1.1.26-1\work\libxslt-1.1.28\libxslt\xsltutils.c is: #elif HAVE_GETTIMEOFDAY which causes a syntax error changing the line to: #elif defined(HAVE_GETTIMEOFDAY) resolved the issue for me. Reproducible: Always Steps to Reproduce: 1. emerge kdelibs Actual Results: During the build of libxslt-1.1.28 an error stating that: #elif with no conditional detected appears, the build then halts Expected Results: libxslt-1.1.28 should have been built correctly and the emerge process should have continued to the next package
Created attachment 82976 [details] Patch against: emerge\portage\win32libs\libxslt\libxslt-1.1.26-20101102.diff Patch that fixes the malformed pre-processor command
thank you for the fix - I'll integrate it next week-end (unless someone has done so by then) which compiler are you using anyway? did all my latest changes (updated packages) to the best of my knowledge but only with msvc2010
I'm building with mingw, I'll make sure to mention it in future reports
Fixed in commit: a3f18e16cb9fffa406de70c84b855843e10e98a7