kanarip / rpms / blender

Forked from rpms/blender 5 years ago
Clone
bd8ed04
diff -Naur blender-2.79.old/intern/ghost/intern/GHOST_SystemPathsUnix.cpp blender-2.79/intern/ghost/intern/GHOST_SystemPathsUnix.cpp
bd8ed04
--- blender-2.79.old/intern/ghost/intern/GHOST_SystemPathsUnix.cpp	2017-09-12 14:49:10.055232962 +0200
bd8ed04
+++ blender-2.79/intern/ghost/intern/GHOST_SystemPathsUnix.cpp	2017-09-12 14:50:46.149035501 +0200
bb631d1
@@ -61,6 +61,9 @@
bb631d1
 
bb631d1
 const GHOST_TUns8 *GHOST_SystemPathsUnix::getSystemDir(int, const char *versionstr) const
bb631d1
 {
bb631d1
+	/* ignore versionstr when building the system path */
bb631d1
+	versionstr = "";
bb631d1
+
bb631d1
 	/* no prefix assumes a portable build which only uses bundled scripts */
bb631d1
 	if (static_path) {
bb631d1
 		static string system_path = string(static_path) + "/blender/" + versionstr;
bd8ed04
diff -Naur blender-2.79.old/source/creator/CMakeLists.txt blender-2.79/source/creator/CMakeLists.txt
bd8ed04
--- blender-2.79.old/source/creator/CMakeLists.txt	2017-09-12 14:49:10.243236700 +0200
bd8ed04
+++ blender-2.79/source/creator/CMakeLists.txt	2017-09-12 14:50:46.149035501 +0200
bd8ed04
@@ -295,7 +295,7 @@
bb631d1
 		if(WITH_INSTALL_PORTABLE)
bb631d1
 			set(TARGETDIR_VER ${BLENDER_VERSION})
bb631d1
 		else()
bb631d1
-			set(TARGETDIR_VER share/blender/${BLENDER_VERSION})
bb631d1
+			set(TARGETDIR_VER share/blender)
bb631d1
 		endif()
bb631d1
 	endif()
bb631d1