Patch 1 (PeterT).
Commented out the 6 lines in sigil-0.7.2/src/src/Xerces/xercesc/util/Xerces_autoconf_config.hpp and nothing else.
This installed OK, but would not run. Illegal instruction error.
Patch 2 (DiapDealer).
Got an error when I ran:
patch -p1 < sigil-0.7.2-no-sse2.patch
patching file src/Xerces/CMakeLists.txt
Hunk #1 FAILED at 165.
1 out of 1 hunk FAILED -- saving rejects to file src/Xerces/CMakeLists.txt.rej
patching file src/Xerces/xercesc/util/Xerces_autoconf_config.hpp
The alteration to src/Xerces/CMakeLists.txt failed. So I'm checking to find out what is wrong with this patch before trying to install or manually altering the code in src/Xerces/CMakeLists.txt
Is the problem the added line:
add_definitions( -mno-sse2 )
I'm guessing, should it be:
add_definitions( -mnosse2 )