diff options
Diffstat (limited to 'games/roccat-tools/roccat-tools.SlackBuild')
-rw-r--r-- | games/roccat-tools/roccat-tools.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/games/roccat-tools/roccat-tools.SlackBuild b/games/roccat-tools/roccat-tools.SlackBuild index a545a0a235..18bc84dbb9 100644 --- a/games/roccat-tools/roccat-tools.SlackBuild +++ b/games/roccat-tools/roccat-tools.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20170603 bkw: Modified by B. Watson <yalhcru@gmail.com>: +# 20170603 bkw: Modified by B. Watson <urchlay@slackware.uk>: # - update for latest version (5.6.0), since the old version won't build # with modern libgaminggear. # - i486 => i586. @@ -112,11 +112,14 @@ fi LUAVERSION="$( lua -e 'print(_VERSION)' | cut -d' ' -f2 )" LUA="-DWITH_LUA='$LUAVERSION'" +patch -p1 < $CWD/fix-multiple-definitions.patch + mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -isystem /usr/include/harfbuzz" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS="$(pkg-config --cflags harfbuzz)" \ $HW \ $LUA \ -DCMAKE_BUILD_TYPE=Release .. |