summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/blender/files/blender-2.31a-plugins.patch')
-rw-r--r--media-gfx/blender/files/blender-2.31a-plugins.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-gfx/blender/files/blender-2.31a-plugins.patch b/media-gfx/blender/files/blender-2.31a-plugins.patch
new file mode 100644
index 0000000..c6212e6
--- /dev/null
+++ b/media-gfx/blender/files/blender-2.31a-plugins.patch
@@ -0,0 +1,20 @@
+--- blender-2.31a.orig/release/plugins/bmake 2003-12-04 21:12:20.000000000 +1300
++++ blender-2.31a/release/plugins/bmake 2003-12-04 21:13:12.000000000 +1300
+@@ -60,7 +60,7 @@
+ LDFLAGS="-Bshareable";
+ elif ( test $UNAME = "Linux" ) then
+ CC="gcc";
+- CFLAGS="-fPIC -funsigned-char -O2";
++# CFLAGS="-fPIC -funsigned-char -O2";
+
+ LD="ld";
+ LDFLAGS="-Bshareable";
+@@ -112,6 +112,8 @@
+ INCLUDES=-I..;
+ elif ( test -f "../include/plugin.h" ) then
+ INCLUDES=-I../include
++elif ( test -f "../../../source/blender/blenpluginapi/plugin.h" ) then
++ INCLUDES=-I../../../source/blender/blenpluginapi
+ else
+ echo "Couldn't find plugin.h";
+ exit;