Author: nobrakal
Update of /cvs/free/rpms/openmw/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19419
Modified Files:
openmw.spec
Added Files:
openmw.use_position_independent_for_library.patch
Removed Files:
openmw.use_fpic_flag.patch
Log Message:
* Wed Aug 05 2015 Alexandre Moine <nobrakal(a)gmail.com> 0.36.1-3
- Use a more generic option to force independent code position for the library.
openmw.use_position_independent_for_library.patch:
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE openmw.use_position_independent_for_library.patch ---
--- openmw-openmw-0.36.1.orig/plugins/mygui_resource_plugin/CMakeLists.txt 2015-05-31
14:21:21.000000000 +0200
+++ openmw-openmw-0.36.1/plugins/mygui_resource_plugin/CMakeLists.txt 2015-08-05
14:58:23.061338391 +0200
@@ -9,6 +9,7 @@
)
add_definitions("-D_USRDLL -DMYGUI_BUILD_DLL")
+set_target_properties(${MYGUI_RESOURCE_PLUGIN_LIBRARY} PROPERTY POSITION_INDEPENDENT_CODE
TRUE)
add_library(${MYGUI_RESOURCE_PLUGIN_LIBRARY}
SHARED
Index: openmw.spec
===================================================================
RCS file: /cvs/free/rpms/openmw/devel/openmw.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- openmw.spec 5 Aug 2015 12:47:13 -0000 1.17
+++ openmw.spec 5 Aug 2015 13:06:01 -0000 1.18
@@ -1,6 +1,6 @@
Name: openmw
Version: 0.36.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Unofficial open source engine re-implementation of the game Morrowind
License: GPLv3 and MIT and zlib
@@ -9,8 +9,8 @@
Source0:
https://github.com/OpenMW/openmw/archive/%{name}-%{version}.tar.gz
Source1: %{name}.appdata.xml
-# Use the -fPIC option to build the library
-Patch0: openmw.use_fpic_flag.patch
+# Use independent code position for the library (see #3614) (equal to the -fPIC flag with
gcc)
+Patch0: openmw.use_position_independent_for_library.patch
BuildRequires: cmake
BuildRequires: boost-devel
@@ -116,6 +116,9 @@
%changelog
+* Wed Aug 05 2015 Alexandre Moine <nobrakal(a)gmail.com> 0.36.1-3
+- Use a more generic option to force independent code position for the library.
+
* Wed Aug 05 2015 Alexandre Moine <nobrakal(a)gmail.com> 0.36.1-2
- Specify the -fPIC flag in the right CMakeLists.txt
--- openmw.use_fpic_flag.patch DELETED ---