[mygui] Need to add the patch file not just change the spec.

Bruno Wolff III bruno at fedoraproject.org
Tue Jan 4 08:49:43 UTC 2011


commit 77e79c61ab2dd4e74ee3f5f142923be12840d719
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Tue Jan 4 02:48:55 2011 -0600

    Need to add the patch file not just change the spec.

 mygui-ogrethreadlibs.patch |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/mygui-ogrethreadlibs.patch b/mygui-ogrethreadlibs.patch
new file mode 100644
index 0000000..bde162d
--- /dev/null
+++ b/mygui-ogrethreadlibs.patch
@@ -0,0 +1,35 @@
+--- CMake/Packages/FindOGRE.cmake.orig	2011-01-04 02:41:08.000000000 -0600
++++ CMake/Packages/FindOGRE.cmake	2011-01-04 02:42:16.000000000 -0600
+@@ -259,6 +259,12 @@
+ 	endif ()
+   endif ()
+   
++  if (NOT OGRE_DEPS_FOUND)
++    pkg_message(OGRE "Could not find all required dependencies for the Ogre package.")
++    set(OGRE_FOUND FALSE)
++  endif ()
++endif ()
++
+   if (OGRE_CONFIG_THREADS)
+     if (OGRE_CONFIG_THREAD_PROVIDER EQUAL 1)
+       find_package(Boost COMPONENTS thread QUIET)
+@@ -284,12 +290,6 @@
+     endif ()
+   endif ()
+   
+-  if (NOT OGRE_DEPS_FOUND)
+-    pkg_message(OGRE "Could not find all required dependencies for the Ogre package.")
+-    set(OGRE_FOUND FALSE)
+-  endif ()
+-endif ()
+-
+ if (NOT OGRE_FOUND)
+   return()
+ endif ()
+@@ -485,4 +485,4 @@
+ find_path(OGRE_MEDIA_DIR NAMES packs/OgreCore.zip HINTS ${OGRE_MEDIA_SEARCH_PATH}
+   PATHS ${OGRE_PREFIX_PATH} PATH_SUFFIXES ${OGRE_MEDIA_SEARCH_SUFFIX})
+ 
+-endif () # if from line 51-56
+\ No newline at end of file
++endif () # if from line 51-56


More information about the scm-commits mailing list