diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-20 01:32:43 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-26 01:20:06 +0700 |
commit | 0045d6bf5050dce58bb4f075e87c6721fb1bef85 (patch) | |
tree | 4598dc5971bc7cccea149b1fc0aece700a0327f5 /games/hedgewars | |
parent | 19f6fe2887c8cad7114974f47d96be639ab95442 (diff) | |
download | slackbuilds-0045d6bf5050dce58bb4f075e87c6721fb1bef85.tar.gz |
games/hedgewars: Document different dep on 32-bit.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/hedgewars')
-rw-r--r-- | games/hedgewars/README | 4 | ||||
-rw-r--r-- | games/hedgewars/hedgewars.SlackBuild | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/games/hedgewars/README b/games/hedgewars/README index d32c07bf3f..6d54b8b29f 100644 --- a/games/hedgewars/README +++ b/games/hedgewars/README @@ -10,3 +10,7 @@ excessive thinking or moving. This SlackBuild packages only the game itself. If you want to compile the server, you will need to provide additional dependencies. Please, refer to the documentation in the source tarball. + +Note for 32-bit users: on x86, ignore the fpc in the .info file's +REQUIRES. For 32-bit builds, hedgewars requires ghc, not fpc. Yes, +this is weird, but it's true. diff --git a/games/hedgewars/hedgewars.SlackBuild b/games/hedgewars/hedgewars.SlackBuild index 70ea97aafa..ffe8c54181 100644 --- a/games/hedgewars/hedgewars.SlackBuild +++ b/games/hedgewars/hedgewars.SlackBuild @@ -22,6 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220320 bkw: Modified by SlackBuilds.org: fix 32-bit build. +# The deps are different on 32-bit and 64-bit; see README. + # 20210905 bkw: Modified by SlackBuilds.org: # - add fpc-3.2.0.patch for recent fpc upgrade # - add include.qpainterpath.diff to fix compile on -current @@ -86,6 +89,8 @@ find -L . \ patch -p1 < $CWD/fpc-3.2.0.patch patch -p1 < $CWD/include.qpainterpath.diff +SLKCFLAGS+=" -fcommon" + mkdir -p build cd build cmake \ |