[ogre] Fix for rcapsdump DSO issue
Bruno Wolff III
bruno at fedoraproject.org
Sun Jan 2 16:32:58 UTC 2011
commit 3d3d42ce9793e21f49b43f2d76c70773c15c6d3b
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sun Jan 2 10:25:46 2011 -0600
Fix for rcapsdump DSO issue
ogre-1.7.2-rcapsdump-DSO-fix.patch | 6 ++++++
ogre.spec | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ogre-1.7.2-rcapsdump-DSO-fix.patch b/ogre-1.7.2-rcapsdump-DSO-fix.patch
new file mode 100644
index 0000000..fc754d8
--- /dev/null
+++ b/ogre-1.7.2-rcapsdump-DSO-fix.patch
@@ -0,0 +1,6 @@
+--- /dev/null 2010-12-22 19:33:04.813000034 -0600
++++ Tools/rcapsdump/CMakeLists.txt 2011-01-02 10:19:18.000000000 -0600
+@@ -0,0 +1,3 @@
++# Configure rcapsdump
++
++target_link_libraries(${OGRE_LIBRARIES} -lPocoFoundation)
diff --git a/ogre.spec b/ogre.spec
index 0aba291..ec31ad1 100644
--- a/ogre.spec
+++ b/ogre.spec
@@ -26,6 +26,7 @@ Patch1: ogre-1.6.0rc1-glew.patch
Patch2: ogre-1.7.2-system-tinyxml.patch
Patch3: ogre-1.7.2-fix-ppc-build.patch
Patch4: ogre-1.7.2-fix-pkgconfig-libdir.patch
+Patch5: ogre-1.7.2-rcapsdump-DSO-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cegui-devel zziplib-devel freetype-devel
BuildRequires: libXaw-devel libXrandr-devel libXxf86vm-devel libGLU-devel
@@ -84,6 +85,7 @@ with the wrapper script called "Ogre-Samples".
%patch2 -p1 -z .sys-tinyxml
%patch3 -p1 -z .ppc
%patch4 -p1 -z .pkgconfig
+%patch5 -p0 -z .rcapsdump-DSO
# remove execute bits from src-files for -debuginfo package
chmod -x `find RenderSystems/GL -type f` \
`find Samples/DeferredShading -type f` Samples/DynTex/src/DynTex.cpp
More information about the scm-commits
mailing list