• Florian Weimer's avatar
    unarr: Fix build on s390x · 0e700196
    Florian Weimer authored
    On some big-endian arches (where MY_CPU_NAME doesn't get set),
    there is a preprocessor syntax error. It results in build failures
    like this:
    
    In file included from rar/../lzmasdk/Ppmd.h:8:0,
                     from rar/../lzmasdk/Ppmd7.h:12,
                     from rar/rar.h:10,
                     from rar/rar.c:4:
    rar/../lzmasdk/CpuArch.h:177:18: error: #elif with no expression
       #elif MY_CPU_BE
                      ^
    In file included from rar/../lzmasdk/Ppmd.h:8:0,
                     from rar/../lzmasdk/Ppmd7.h:12,
                     from rar/rar.h:10,
                     from rar/uncompress-rar.c:7:
    rar/../lzmasdk/CpuArch.h:177:18: error: #elif with no expression
       #elif MY_CPU_BE
                      ^
    
    With help from Iain Lane <iain@orangesquash.org.uk>
    
    See https://sourceforge.net/p/sevenzip/patches/317/
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787248
    0e700196
Name
Last commit
Last update
backend Loading commit data...
browser-plugin Loading commit data...
cut-n-paste Loading commit data...
data Loading commit data...
help Loading commit data...
libdocument Loading commit data...
libmisc Loading commit data...
libview Loading commit data...
po Loading commit data...
previewer Loading commit data...
properties Loading commit data...
shell Loading commit data...
thumbnailer Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.pre-git Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NOTES Loading commit data...
README Loading commit data...
README.commits Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
evince-document.h Loading commit data...
evince-document.pc.in Loading commit data...
evince-view.h Loading commit data...
evince-view.pc.in Loading commit data...
evince.appdata.xml.in Loading commit data...
evince.doap Loading commit data...
git.mk Loading commit data...