|Import older changes to upstream source These changes have been carried by prior versions of the Debian package
for a long time and have not been split out into separate patches.
|Check if topmsg was initialized before accessing it.
Without this, Hercules reproducibly fails to start when you type in
a command before the text UI is up, crashing in do_panel_command.
|Activate OPTION_STRICT_ALIGNMENT to avoid segfault
Access is not always aligned when gcc thinks it is, causing a segfault
when MOVDQA accesses a memory address that is not 16 byte aligned.
Upstream spinhawk commit:
|Don't list -l flags in Makefile dependencies. hercules fails to cross build from source, because an upstream
Makefile.am includes -lltdl in a Makefile dependency. This triggers
architecture-specific behaviour in make. It looks up the flag using the
built-in library search path (for the build architecture). However
libltdl is only installed for the host architecture, so the library
isn't found and make gives up. One shouldn't list such flags in
dependencies. Please consider applying the attached patch to make
hercules cross buildable.
diff -u hercules-3.13/Makefile.am hercules-3.13/Makefile.am
|Helmut Grohne <email@example.com>
|<short summary of the patch> TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
hercules (3.13-5) unstable; urgency=medium
* Properly purge all Makefiles in the build output.
|Philipp Kern <firstname.lastname@example.org>