<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bcfdfc78689bc1f4303353af3cb5fd7349bea9df">https://github.com/macports/macports-ports/commit/bcfdfc78689bc1f4303353af3cb5fd7349bea9df</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new bcfdfc7 hedgewars: new port
</span>bcfdfc7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bcfdfc78689bc1f4303353af3cb5fd7349bea9df
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Wed Jun 21 14:04:34 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> hedgewars: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> popular open-source game
</span><span style='display:block; white-space:pre;color:#404040;'> have updated download site
</span><span style='display:block; white-space:pre;color:#404040;'> debugged and repaired an odd hard-coded linkage issue
</span><span style='display:block; white-space:pre;color:#404040;'> and fixed all mentioned issues with previous submit on trac
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/53325
</span>---
games/hedgewars/Portfile | 85 ++++++++++++++++++++++
.../patch-0001-avwrapper-avframealloc-fix.diff | 29 ++++++++
.../files/patch-0002-LibavInteraction-fix.diff | 13 ++++
...0003-proj-hwc-CMakeLists-proper-link-flags.diff | 11 +++
...move-hardcoded-stdlib-and-iokit-QTfrontend.diff | 21 ++++++
.../patch-0005-remove-haskell-spec-constr.diff | 12 +++
.../patch-0006-CMakeLists-delete-clang-search.diff | 22 ++++++
7 files changed, 193 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/hedgewars/Portfile b/games/hedgewars/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ba1b0cda
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/hedgewars/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,85 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name hedgewars
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.9.22
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories games
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail:ken.cunningham.webuse @kencu} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Funny turn-based artillery game, featuring fighting Hedgehogs!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.hedgewars.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://www.hedgewars.org/download/releases/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 359fd026643e69446121b94ba301646812353c19 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.out_of_source yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ghc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-vector \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-bytestring-show \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-network \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-dataenc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-hslogger \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-utf8-string \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-sha \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-entropy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hs-random
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append path:bin/ffmpeg:ffmpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libogg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl_image \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl_ttf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl_mixer \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl_net \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glew \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:qt4-mac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# don't use the sparkle selfupdate mechanism; use macports update process instead
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DNOAUTOUPDATE=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# don't add all of the macports support libraries into the app bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DSKIPBUNDLE:BOOL=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DQT_QMAKE_EXECUTABLE:FILEPATH=${prefix}/libexec/qt4/bin/qmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# use the pas2c converter to compile the pascal portions rather than fpc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DBUILD_ENGINE_C:BOOL=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# update two source files to enable building against the current ffmpeg variable and procedure names
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-0001-avwrapper-avframealloc-fix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-0002-LibavInteraction-fix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the authours of this game have hardcoded the c++ library in several places and this needs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# to be deleted for proper linking to the supporting dependencies on macports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# replace the hard-coded link to libstdc++ in the hwc engine build script with proper link flags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-0003-proj-hwc-CMakeLists-proper-link-flags.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# remove the hard-coded link to libstdc++ in QTfrontend build script with proper link flags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# lan server build fails unless this haskell optimization flag is disabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# probably due to excessive recursion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-0005-remove-haskell-spec-constr.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# remove clang search and compiler ID override which overrides cmake's compiler declarations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-0006-CMakeLists-delete-clang-search.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${workpath}/build/Hedgewars.app ${destroot}${applications_dir}/Hedgewars.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/man/hedgewars.6 ${destroot}${prefix}/share/man/man6/hedgewars.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/hedgewars/files/patch-0001-avwrapper-avframealloc-fix.diff b/games/hedgewars/files/patch-0001-avwrapper-avframealloc-fix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..92249c3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/hedgewars/files/patch-0001-avwrapper-avframealloc-fix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./hedgewars/avwrapper/avwrapper.c.orig 2017-01-09 19:45:35.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./hedgewars/avwrapper/avwrapper.c 2017-01-09 19:53:26.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -158,7 +158,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_NumSamples = g_pAudio->frame_size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_pSamples = (int16_t*)av_malloc(g_NumSamples*g_Channels*sizeof(int16_t));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- g_pAFrame = avcodec_alloc_frame();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ g_pAFrame = av_frame_alloc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!g_pAFrame)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Log("Could not allocate frame\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -241,7 +241,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_pVideo->time_base.den = g_Framerate.num;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_pVideo->time_base.num = g_Framerate.den;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //g_pVideo->gop_size = 12; /* emit one intra frame every twelve frames at most */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- g_pVideo->pix_fmt = PIX_FMT_YUV420P;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ g_pVideo->pix_fmt = AV_PIX_FMT_YUV420P;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // set quality
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (g_VQuality > 100)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -299,7 +299,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return FatalError("Could not open video codec %s", g_pVCodec->long_name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- g_pVFrame = avcodec_alloc_frame();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ g_pVFrame = av_frame_alloc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!g_pVFrame)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return FatalError("Could not allocate frame");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/hedgewars/files/patch-0002-LibavInteraction-fix.diff b/games/hedgewars/files/patch-0002-LibavInteraction-fix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..edf8e5c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/hedgewars/files/patch-0002-LibavInteraction-fix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./QTfrontend/util/LibavInteraction.cpp.orig 2015-10-31 13:36:07.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./QTfrontend/util/LibavInteraction.cpp 2017-01-09 19:54:54.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -106,8 +106,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!pCodec->pix_fmts)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bool yuv420Supported = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for (const PixelFormat* pfmt = pCodec->pix_fmts; *pfmt != -1; pfmt++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (*pfmt == PIX_FMT_YUV420P)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for (const AVPixelFormat* pfmt = pCodec->pix_fmts; *pfmt != -1; pfmt++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (*pfmt == AV_PIX_FMT_YUV420P)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ yuv420Supported = true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/hedgewars/files/patch-0003-proj-hwc-CMakeLists-proper-link-flags.diff b/games/hedgewars/files/patch-0003-proj-hwc-CMakeLists-proper-link-flags.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d29744c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/hedgewars/files/patch-0003-proj-hwc-CMakeLists-proper-link-flags.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./project_files/hwc/CMakeLists.txt.orig 2017-01-12 10:18:31.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./project_files/hwc/CMakeLists.txt 2017-01-12 10:18:39.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -95,7 +95,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #TODO: add other libraries
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- target_link_libraries(hwengine IOKit SDLmain)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ target_link_libraries(hwengine ${CMAKE_CXX_FLAGS})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/hwengine${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_binary_install_dir})
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/hedgewars/files/patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff b/games/hedgewars/files/patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..957c621
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/hedgewars/files/patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./QTfrontend/CMakeLists.txt.orig 2017-01-12 08:51:40.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./QTfrontend/CMakeLists.txt 2017-01-12 08:52:31.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -171,7 +171,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ find_library(iokit_framework NAMES IOKit)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- list(APPEND HW_LINK_LIBS ${iokit_framework})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list(APPEND hwfr_src util/platform/CocoaInitializer.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ util/platform/InstallController.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ util/platform/M3Panel.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -221,10 +220,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if(CMAKE_CXX_COMPILER MATCHES "clang*")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- list(APPEND HW_LINK_LIBS stdc++ m)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ target_link_libraries(hedgewars ${HW_LINK_LIBS})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/hedgewars/files/patch-0005-remove-haskell-spec-constr.diff b/games/hedgewars/files/patch-0005-remove-haskell-spec-constr.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ec5366f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/hedgewars/files/patch-0005-remove-haskell-spec-constr.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./gameServer/CMakeLists.txt.orig 2017-01-14 18:02:03.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./gameServer/CMakeLists.txt 2017-01-14 18:03:02.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -61,7 +61,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -o ${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -odir ${CMAKE_CURRENT_BINARY_DIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -hidir ${CMAKE_CURRENT_BINARY_DIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${haskell_flags})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${haskell_flags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -fno-spec-constr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_custom_command(OUTPUT "${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND "${GHC_EXECUTABLE}"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/hedgewars/files/patch-0006-CMakeLists-delete-clang-search.diff b/games/hedgewars/files/patch-0006-CMakeLists-delete-clang-search.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ffda570
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/hedgewars/files/patch-0006-CMakeLists-delete-clang-search.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2017-06-20 19:46:55.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2017-06-20 19:47:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -126,19 +126,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#build engine without freepascal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if(BUILD_ENGINE_C)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- find_package(Clang REQUIRED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if(${CLANG_VERSION} VERSION_LESS "3.0")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- message(FATAL_ERROR "LLVM/Clang compiler required version is 3.0 but version ${CLANG_VERSION} was found!")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_C_COMPILER ${CLANG_EXECUTABLE})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_COMPILER ${CLANG_EXECUTABLE})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(NOT NOSERVER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_subdirectory(gameServer)
</span></pre><pre style='margin:0'>
</pre>