summaryrefslogtreecommitdiff
path: root/games/freeorion/freeorion.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-02-17 16:37:37 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-21 00:05:07 +0700
commit9752325add790d3b2e308c485b5559e0dc76ae51 (patch)
treece755cae94b1f6b160f811cce1aa68d869f693a1 /games/freeorion/freeorion.SlackBuild
parenta89d7445920d7adb48df2b6daec1fcbaf986c095 (diff)
downloadslackbuilds-9752325add790d3b2e308c485b5559e0dc76ae51.tar.gz
games/freeorion: Fix build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/freeorion/freeorion.SlackBuild')
-rw-r--r--games/freeorion/freeorion.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/freeorion/freeorion.SlackBuild b/games/freeorion/freeorion.SlackBuild
index 2277787124..550b76c64c 100644
--- a/games/freeorion/freeorion.SlackBuild
+++ b/games/freeorion/freeorion.SlackBuild
@@ -22,9 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20210217 bkw: modified by SlackBuilds.org: add compilefix.diff. I
+# have no idea how this build passed QA, since it was broken all
+# along.
+
PRGNAM=freeorion
VERSION=${VERSION:-0.4.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,6 +77,8 @@ find -L . \
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
+patch -p1 < $CWD/compilefix.diff
+
mkdir -p build
cd build
cmake \