From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BD4D113888F for ; Tue, 6 Oct 2015 22:53:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D76B021C002; Tue, 6 Oct 2015 22:53:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6EAC021C002 for ; Tue, 6 Oct 2015 22:53:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAE343408E5 for ; Tue, 6 Oct 2015 22:53:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3700B2A for ; Tue, 6 Oct 2015 22:53:26 +0000 (UTC) From: "Michael Sterrett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Sterrett" Message-ID: <1444169682.730007d33d8249af97817dd38d369e82d6bb5f3e.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/s25rttr/files/, games-strategy/s25rttr/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/s25rttr/files/s25rttr-0.8.1-fpic.patch games-strategy/s25rttr/s25rttr-0.8.1.ebuild X-VCS-Directories: games-strategy/s25rttr/ games-strategy/s25rttr/files/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: 730007d33d8249af97817dd38d369e82d6bb5f3e X-VCS-Branch: master Date: Tue, 6 Oct 2015 22:53:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6cc7226d-20cd-4aa8-bc6d-ac9cce288a10 X-Archives-Hash: a02b19e0362fa46def617cd74b4a90a2 commit: 730007d33d8249af97817dd38d369e82d6bb5f3e Author: Michael Sterrett gentoo org> AuthorDate: Tue Oct 6 22:14:22 2015 +0000 Commit: Michael Sterrett gentoo org> CommitDate: Tue Oct 6 22:14:42 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=730007d3 add patch to fix building shared libraries with patch from tt_1(bug #553746) Package-Manager: portage-2.2.20.1 .../s25rttr/files/s25rttr-0.8.1-fpic.patch | 38 ++++++++++++++++++++++ games-strategy/s25rttr/s25rttr-0.8.1.ebuild | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/games-strategy/s25rttr/files/s25rttr-0.8.1-fpic.patch b/games-strategy/s25rttr/files/s25rttr-0.8.1-fpic.patch new file mode 100644 index 0000000..4a1d11e --- /dev/null +++ b/games-strategy/s25rttr/files/s25rttr-0.8.1-fpic.patch @@ -0,0 +1,38 @@ +From 2b4f956263864cebb1b9c5ce120c7cd30f512bdb Mon Sep 17 00:00:00 2001 +From: nE0sIghT +Date: Sat, 18 Jul 2015 19:03:05 +0300 +Subject: [PATCH] Fixed build of sdl drivers + +--- + driver/audio/SDL/src/CMakeLists.txt | 1 + + driver/video/SDL/src/CMakeLists.txt | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/driver/audio/SDL/src/CMakeLists.txt b/driver/audio/SDL/src/CMakeLists.txt +index 5ad3f02..5a91cd5 100644 +--- a/driver/audio/SDL/src/CMakeLists.txt ++++ b/driver/audio/SDL/src/CMakeLists.txt +@@ -20,6 +20,7 @@ IF (SDL_FOUND) + + ADD_LIBRARY(audioSDL SHARED SDL.cpp SDL.h main.h SoundSDL_Music.cpp SoundSDL_Music.h SoundSDL_Effect.cpp SoundSDL_Effect.h ${PROJECT_SOURCE_DIR}/build_version.cpp ../../../src/DriverInterface.cpp ../../../src/tempname.cpp ../../../src/tempname.h) + ++ ADD_DEFINITIONS(-fPIC) + ADD_FLAGS(CMAKE_C_FLAGS -I${SDL_INCLUDE_DIR} -I${SDLMIXER_INCLUDE_DIR}) + ADD_FLAGS(CMAKE_CXX_FLAGS -I${SDL_INCLUDE_DIR} -I${SDLMIXER_INCLUDE_DIR}) + +diff --git a/driver/video/SDL/src/CMakeLists.txt b/driver/video/SDL/src/CMakeLists.txt +index 83d10cf..ca67573 100644 +--- a/driver/video/SDL/src/CMakeLists.txt ++++ b/driver/video/SDL/src/CMakeLists.txt +@@ -16,6 +16,7 @@ IF (SDL_FOUND) + + ADD_LIBRARY(videoSDL SHARED SDL.cpp SDL.h main.h ../../../../build_version.cpp ../../../src/DriverInterface.cpp) + ++ ADD_DEFINITIONS(-fPIC) + ADD_FLAGS(CMAKE_C_FLAGS -I${SDL_INCLUDE_DIR}) + ADD_FLAGS(CMAKE_CXX_FLAGS -I${SDL_INCLUDE_DIR}) + +-- +2.3.6 + + diff --git a/games-strategy/s25rttr/s25rttr-0.8.1.ebuild b/games-strategy/s25rttr/s25rttr-0.8.1.ebuild index 0643f3a..202ecbc 100644 --- a/games-strategy/s25rttr/s25rttr-0.8.1.ebuild +++ b/games-strategy/s25rttr/s25rttr-0.8.1.ebuild @@ -30,7 +30,8 @@ DEPEND="${RDEPEND} src_prepare() { epatch "${FILESDIR}"/${P}-cmake.patch \ - "${FILESDIR}"/${P}-soundconverter.patch + "${FILESDIR}"/${P}-soundconverter.patch \ + "${FILESDIR}"/${P}-fpic.patch } src_configure() {