Skip to content

Making build more robust under older systems (here SLES11) #6

@blais

Description

@blais

Original report by dirkbaechle (Bitbucket: dirkbaechle, GitHub: dirkbaechle).


Hi Martin,

and first of all "Many thanks!" for providing and maintaining xxdiff. It's currently my last hope, literally, on a SLES 11 system behind a very strict web proxy (strict security regulations).
I successfully downloaded the repo as ZIP-archive from bitbucket.org, built the tool, and it's running fine (so I have to start with my real work now, sigh)...but I had to patch it at two places:

1.) The file scrollView.cpp uses the QElapsedTimer class in several places for updating lastWheelEvent. This class was introduced in Qt 4.7, which I don't have...so I simply commented the offending lines (basically rendering lastWheelEvent support useless completely).
2.) My version of bison doesn't understand the "%define api.pure" directive in resParser.y, l. 40. I had to change it to "%pure_parser".

Maybe you can integrate these patches into the build for one of the next releases. Sorry that I can't offer any direct pull requests...I can't clone directly from here. :(

By the way, if you should ever be interested in switching your build system to SCons (www.scons.org), just let us know. I'm one of the core developers there. ;)

Best regards,

Dirk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions