Bug 205020 - [PATCH] games/blobwars: Fix the build after upgrade to 2.00.
Summary: [PATCH] games/blobwars: Fix the build after upgrade to 2.00.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-12-04 16:34 UTC by Raphael Kubo da Costa
Modified: 2015-12-05 14:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (nemysis)


Attachments
Proposed patch (1.50 KB, patch)
2015-12-04 16:34 UTC, Raphael Kubo da Costa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa freebsd_committer 2015-12-04 16:34:32 UTC
Created attachment 163848 [details]
Proposed patch

* Add USES=pkgconfig to unbreak all builds. From pkg-fallout:
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=0 -DUSEPAK=1 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/local/share/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/local/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/local/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -pipe -fstack-protector -fno-strict-aliasing -c src/CAudio.cpp
pkg-config: not found

* Add a patch (sent to one of the upstream committers) to fix the build on 32-bit platforms, which was still failing after the above change.
Comment 1 Raphael Kubo da Costa freebsd_committer 2015-12-05 01:12:19 UTC
> * Add a patch (sent to one of the upstream committers) to fix the build on 32-bit platforms, which was still failing after the above change.

This has since been integrated upstream: http://sourceforge.net/p/blobwars/code/ci/7611c488c2d06a6bdbe5f7b26a47e15f1bd55eb8/
Comment 2 commit-hook freebsd_committer 2015-12-05 14:56:21 UTC
A commit references this bug:

Author: nemysis
Date: Sat Dec  5 14:56:05 UTC 2015
New revision: 403068
URL: https://svnweb.freebsd.org/changeset/ports/403068

Log:
  - Add USES= pkgconfig, forgotten in previous commit
  - Add patch, fix build with 32-bit platforms

  PR:		205020
  Submitted by:	rakuco

Changes:
  head/games/blobwars/Makefile
  head/games/blobwars/files/patch-src-CReplayDataHeader.h