summaryrefslogtreecommitdiff
path: root/graphics/Blender/buildinfo-2.76b.diff
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/Blender/buildinfo-2.76b.diff')
-rw-r--r--graphics/Blender/buildinfo-2.76b.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/Blender/buildinfo-2.76b.diff b/graphics/Blender/buildinfo-2.76b.diff
new file mode 100644
index 0000000000..ccb7c2380e
--- /dev/null
+++ b/graphics/Blender/buildinfo-2.76b.diff
@@ -0,0 +1,18 @@
+--- build_files/cmake/buildinfo.cmake.orig 2015-07-28 11:59:14.020100604 +0000
++++ build_files/cmake/buildinfo.cmake 2015-07-28 12:18:20.021045004 +0000
+@@ -138,11 +138,12 @@
+ execute_process(COMMAND cmd /c time /t OUTPUT_VARIABLE BUILD_TIME OUTPUT_STRIP_TRAILING_WHITESPACE)
+ endif()
+
++# Timestamp from $(date --date='TZ="UTC" 10:59 04-Nov-15' +%s) - time & date of commit
+ # Write a file with the BUILD_HASH define
+ file(WRITE buildinfo.h.txt
+- "#define BUILD_HASH \"${MY_WC_HASH}\"\n"
+- "#define BUILD_COMMIT_TIMESTAMP ${MY_WC_COMMIT_TIMESTAMP}\n"
+- "#define BUILD_BRANCH \"${MY_WC_BRANCH}\"\n"
++ "#define BUILD_HASH \"rBf337feaf5a1d\"\n"
++ "#define BUILD_COMMIT_TIMESTAMP 1446634740\n"
++ "#define BUILD_BRANCH \"master\"\n"
+ "#define BUILD_DATE \"${BUILD_DATE}\"\n"
+ "#define BUILD_TIME \"${BUILD_TIME}\"\n"
+ )