Bug 205020

Summary: [PATCH] games/blobwars: Fix the build after upgrade to 2.00.
Product: Ports & Packages Reporter: Raphael Kubo da Costa <rakuco>
Component: Individual Port(s)Assignee: Rusmir Dusko <nemysis>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (nemysis)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Proposed patch none

Description Raphael Kubo da Costa freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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