aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-07-01 20:14:59 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-07-01 20:14:59 +0000
commit92eb4b206a0d5faf3f21997a97d1c24a0ce2571a (patch)
tree73e02c331125a56c85ee0364a3b52e2557710d5e /graphics/blender
parentd3b785758baf32e0fc1797f4d72af8ff46fa8928 (diff)
- Update to 2.67b
Notes
Notes: svn path=/head/; revision=322145
Diffstat (limited to 'graphics/blender')
-rw-r--r--graphics/blender/Makefile2
-rw-r--r--graphics/blender/distinfo4
-rw-r--r--graphics/blender/files/patch-source_blender_freestyle_intern_system_PseudoNoise.cpp20
3 files changed, 23 insertions, 3 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index def58200ef7d..d31b8b6e6f6b 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= blender
-PORTVERSION= 2.67
+PORTVERSION= 2.67b
CATEGORIES= graphics games
MASTER_SITES= http://download.blender.org/source/ \
http://mirror.cs.umn.edu/blender.org/source/ \
diff --git a/graphics/blender/distinfo b/graphics/blender/distinfo
index 411cda1373bb..16da8778ca7e 100644
--- a/graphics/blender/distinfo
+++ b/graphics/blender/distinfo
@@ -1,2 +1,2 @@
-SHA256 (blender-2.67.tar.gz) = 14a9d4be5e4f4d6982202ba4039c7182b588a11cb9af83827ea590826ae6d418
-SIZE (blender-2.67.tar.gz) = 41381712
+SHA256 (blender-2.67b.tar.gz) = 7d6701d92ee7e3923771de10f610a3f8cca8b6d14b488d3044f8329878187d67
+SIZE (blender-2.67b.tar.gz) = 41368150
diff --git a/graphics/blender/files/patch-source_blender_freestyle_intern_system_PseudoNoise.cpp b/graphics/blender/files/patch-source_blender_freestyle_intern_system_PseudoNoise.cpp
new file mode 100644
index 000000000000..0802bbcffbea
--- /dev/null
+++ b/graphics/blender/files/patch-source_blender_freestyle_intern_system_PseudoNoise.cpp
@@ -0,0 +1,20 @@
+--- source/blender/freestyle/intern/system/PseudoNoise.cpp.orig 2013-06-30 12:59:00.000000000 +0200
++++ source/blender/freestyle/intern/system/PseudoNoise.cpp 2013-06-30 13:03:36.000000000 +0200
+@@ -46,7 +46,7 @@
+ real PseudoNoise::linearNoise(real x)
+ {
+ real tmp;
+- int i = abs(modf(x, &tmp)) * NB_VALUE_NOISE;
++ int i = (int)(fabs(modf(x, &tmp)) * NB_VALUE_NOISE);
+ real x1 = _values[i], x2 = _values[(i + 1) % NB_VALUE_NOISE];
+ real t = modf(x * NB_VALUE_NOISE, &tmp);
+ return x1 * (1 - t) + x2 * t;
+@@ -64,7 +64,7 @@
+ real PseudoNoise::smoothNoise(real x)
+ {
+ real tmp;
+- int i = abs(modf(x, &tmp)) * NB_VALUE_NOISE;
++ int i = (int)(fabs(modf(x, &tmp)) * NB_VALUE_NOISE);
+ int h = i - 1;
+ if (h < 0) {
+ h = NB_VALUE_NOISE + h;