public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/blender/files: 08-blender-2.71-gflags.patch
@ 2014-07-16 15:31 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2014-07-16 15:31 UTC (permalink / raw
  To: gentoo-commits

hasufell    14/07/16 15:31:42

  Added:                08-blender-2.71-gflags.patch
  Log:
  fix opencolorio dep wrt #515606, fix building with gflags-2.1.1 and adjust dep wrt #517134, add epatch_user
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)

Revision  Changes    Path
1.1                  media-gfx/blender/files/08-blender-2.71-gflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/blender/files/08-blender-2.71-gflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/blender/files/08-blender-2.71-gflags.patch?rev=1.1&content-type=text/plain

Index: 08-blender-2.71-gflags.patch
===================================================================
--- ./CMakeLists.txt	2014-07-15 17:30:36.608718963 -0400
+++ ./CMakeLists.txt	2014-07-15 17:25:24.940615350 -0400
@@ -116,6 +116,7 @@
 # Check for some modules
 if(UNIX)
   find_package(PkgConfig)
+  find_package(gflags REQUIRED)
   pkg_check_modules(_PC_EIGEN3 eigen3)
   pkg_check_modules(_PC_GFLAGS libgflags)
   pkg_check_modules(_PC_GLOG libglog)
--- extern/libmv/CMakeLists.txt	2014-07-15 17:30:36.565719500 -0400
+++ extern/libmv/CMakeLists.txt	2014-07-15 17:25:06.388847279 -0400
@@ -208,7 +208,7 @@
 
 include_directories(${_PC_GFLAGS_INCLUDE_DIRS} ${_PC_GLOG_INCLUDE_DIRS})
 blender_add_lib(extern_libmv "${SRC}" "${INC}" "${INC_SYS}")
-target_link_libraries(extern_libmv ${_PC_GFLAGS_LIBRARIES} ${_PC_GLOG_LIBRARIES})
+target_link_libraries(extern_libmv ${gflags_LIBRARIES} ${_PC_GLOG_LIBRARIES})
 

 if(WITH_LIBMV)
--- extern/libmv/libmv-capi.cc	2014-06-25 16:43:52.000000000 -0400
+++ extern/libmv/libmv-capi.cc	2014-07-15 09:29:04.332922116 -0400
@@ -112,18 +112,18 @@
 	         google::GLOG_FATAL);
 
 	google::InitGoogleLogging(argv0);
-	google::SetCommandLineOption("logtostderr", "1");
-	google::SetCommandLineOption("v", "0");
-	google::SetCommandLineOption("stderrthreshold", severity_fatal);
-	google::SetCommandLineOption("minloglevel", severity_fatal);
+	gflags::SetCommandLineOption("logtostderr", "1");
+	gflags::SetCommandLineOption("v", "0");
+	gflags::SetCommandLineOption("stderrthreshold", severity_fatal);
+	gflags::SetCommandLineOption("minloglevel", severity_fatal);
 }
 
 void libmv_startDebugLogging(void)
 {
-	google::SetCommandLineOption("logtostderr", "1");
-	google::SetCommandLineOption("v", "2");
-	google::SetCommandLineOption("stderrthreshold", "1");
-	google::SetCommandLineOption("minloglevel", "0");
+	gflags::SetCommandLineOption("logtostderr", "1");
+	gflags::SetCommandLineOption("v", "2");
+	gflags::SetCommandLineOption("stderrthreshold", "1");
+	gflags::SetCommandLineOption("minloglevel", "0");
 }
 
 void libmv_setLoggingVerbosity(int verbosity)
@@ -131,7 +131,7 @@
 	char val[10];
 	snprintf(val, sizeof(val), "%d", verbosity);
 
-	google::SetCommandLineOption("v", val);
+	gflags::SetCommandLineOption("v", val);
 }
 
 /* ************ Planar tracker ************ */





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-16 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 15:31 [gentoo-commits] gentoo-x86 commit in media-gfx/blender/files: 08-blender-2.71-gflags.patch Julian Ospald (hasufell)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox