diff options
author | reinoud <reinoud> | 2005-02-26 20:34:43 +0000 |
---|---|---|
committer | reinoud <reinoud> | 2005-02-26 20:34:43 +0000 |
commit | 0942cf7e4600e4ce32428d43c3c8885517e4fc89 (patch) | |
tree | 7e1c116addb3098a12c2e5c26ffb3eb89b54fb76 /graphics/blender/patches | |
parent | ef31c8ec6d9137fd704724dd67983b8c85528f29 (diff) | |
download | pkgsrc-0942cf7e4600e4ce32428d43c3c8885517e4fc89.tar.gz |
Big bugfix release fixing at least a 200 outstanding bugs and its
game-engine is finally working now.
Dynamic loading of python `import'ed modules finally work now too.
Diffstat (limited to 'graphics/blender/patches')
-rw-r--r-- | graphics/blender/patches/patch-aa | 13 | ||||
-rw-r--r-- | graphics/blender/patches/patch-ac | 21 | ||||
-rw-r--r-- | graphics/blender/patches/patch-ad | 25 | ||||
-rw-r--r-- | graphics/blender/patches/patch-ae | 107 | ||||
-rw-r--r-- | graphics/blender/patches/patch-af | 12 | ||||
-rw-r--r-- | graphics/blender/patches/patch-ag | 11 |
6 files changed, 176 insertions, 13 deletions
diff --git a/graphics/blender/patches/patch-aa b/graphics/blender/patches/patch-aa deleted file mode 100644 index 866d1d54d31..00000000000 --- a/graphics/blender/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2004/02/17 20:39:01 jschauma Exp $ - ---- Makefile.in.orig 2004-02-17 15:13:03.000000000 -0500 -+++ Makefile.in 2004-02-17 15:13:17.000000000 -0500 -@@ -974,7 +974,7 @@ - exit 1; } >&2 - check-am: all-am - check: check-recursive --all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) config.h all-local -+all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) config.h - install-binPROGRAMS: install-libLTLIBRARIES - - installdirs: installdirs-recursive diff --git a/graphics/blender/patches/patch-ac b/graphics/blender/patches/patch-ac new file mode 100644 index 00000000000..6e2b5723870 --- /dev/null +++ b/graphics/blender/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1 2005/02/26 20:34:43 reinoud Exp $ + +--- source/nan_warn.mk.orig 2004-09-01 14:09:22.000000000 +0200 ++++ source/nan_warn.mk +@@ -35,11 +35,11 @@ + # + + # Force the correct redefinition +-LEVEL_1_C_WARNINGS = -FIX_NAN_WARN +-LEVEL_1_CPP_WARNINGS = -FIX_NAN_WARN +-LEVEL_2_C_WARNINGS = -FIX_NAN_WARN +-LEVEL_2_CPP_WARNINGS = -FIX_NAN_WARN +-FIX_STUBS_WARNINGS = -FIX_NAN_WARN ++LEVEL_1_C_WARNINGS = -DFIX_NAN_WARN ++LEVEL_1_CPP_WARNINGS = -DFIX_NAN_WARN ++LEVEL_2_C_WARNINGS = -DFIX_NAN_WARN ++LEVEL_2_CPP_WARNINGS = -DFIX_NAN_WARN ++FIX_STUBS_WARNINGS = -DFIX_NAN_WARN + + ######################################################################## + # Level 1: basic C warnings. diff --git a/graphics/blender/patches/patch-ad b/graphics/blender/patches/patch-ad new file mode 100644 index 00000000000..8bd82bc1f86 --- /dev/null +++ b/graphics/blender/patches/patch-ad @@ -0,0 +1,25 @@ +$NetBSD: patch-ad,v 1.1 2005/02/26 20:34:43 reinoud Exp $ + +--- source/nan_compile.mk.orig 2004-12-08 15:12:46.000000000 +0100 ++++ source/nan_compile.mk +@@ -159,6 +159,20 @@ ifeq ($(OS),openbsd) + ARFLAGSQUIET = ru + endif + ++ifeq ($(OS),netbsd) ++ CC = gcc ++ CCC = g++ ++ CFLAGS += -pipe -fPIC ++ CCFLAGS += -pipe -fPIC ++ REL_CFLAGS += -O2 ++ REL_CCFLAGS += -O2 ++ NAN_DEPEND = true ++ OPENGL_HEADERS = /usr/X11R6/include ++ AR = ar ++ ARFLAGS = ruv ++ ARFLAGSQUIET = ru ++endif ++ + ifeq ($(OS),solaris) + CC = gcc + CCC = g++ diff --git a/graphics/blender/patches/patch-ae b/graphics/blender/patches/patch-ae new file mode 100644 index 00000000000..4f4b819fc98 --- /dev/null +++ b/graphics/blender/patches/patch-ae @@ -0,0 +1,107 @@ +$NetBSD: patch-ae,v 1.1 2005/02/26 20:34:43 reinoud Exp $ + +--- SConstruct.orig 2004-12-21 18:00:25.000000000 +0100 ++++ SConstruct +@@ -50,7 +50,92 @@ sdl_env = Environment () + freetype_env = Environment () + env = Environment () + +-if sys.platform == 'linux2' or sys.platform == 'linux-i386': ++# pkgsrc patch ++# ++sys.platform = 'pkgsrc' ++if sys.platform == 'pkgsrc': ++ print "Building for pkgsrc systems" ++ use_international = 'false' ++ use_gameengine = 'true' ++ use_openal = 'false' ++ use_fmod = 'false' ++ use_quicktime = 'false' ++ use_sumo = 'false' # TODO ++ use_ode = 'false' ++ use_buildinfo = 'true' ++ build_blender_dynamic = 'true' ++ build_blender_static = 'false' ++ build_blender_player = 'false' ++ build_blender_plugin = 'false' ++ release_flags = ['-O2'] ++ debug_flags = ['-O2', '-g'] ++ extra_flags = ['-pipe', '-fPIC', '-funsigned-char'] ++ cxxflags = [] ++ defines = [] ++ warn_flags = ['-Wall','-W'] ++ window_system = 'X11' ++ platform_libs = ['m', 'stdc++', 'pthread', 'util'] ++ platform_libpath = [] ++ platform_linkflags = [] ++ extra_includes = [] ++ z_lib = ['z'] ++ z_libpath = [] ++ z_include = [] ++ # png library information ++ png_lib = ['png'] ++ png_libpath = os.environ[ 'ADD_C_LIB_DIRS' ].split(",") ++ png_include = os.environ[ 'ADD_C_INCLUDE_DIRS' ].split(",") ++ # jpeg library information ++ jpeg_lib = ['jpeg'] ++ jpeg_libpath = os.environ[ 'ADD_C_LIB_DIRS' ].split(",") ++ jpeg_include = os.environ[ 'ADD_C_INCLUDE_DIRS' ].split(",") ++ # OpenGL library information ++ opengl_lib = ['GL', 'GLU'] ++ opengl_libpath = os.environ[ 'ADD_C_LIB_DIRS' ].split(",") ++ opengl_include = os.environ[ 'ADD_C_INCLUDE_DIRS' ].split(",") ++ opengl_static = ['libGL.a', 'libGLU.a'] ++ # SDL library information ++ sdl_env.ParseConfig ('sdl-config --cflags --libs') ++ sdl_cflags = sdl_env.Dictionary()['CCFLAGS'] ++ sdl_include = sdl_env.Dictionary()['CPPPATH'] ++ sdl_libpath = sdl_env.Dictionary()['LIBPATH'] ++ sdl_lib = sdl_env.Dictionary()['LIBS'] ++ # SOLID library information ++ solid_lib = [] # TODO ++ solid_libpath = [] # TODO ++ solid_include = ['#extern/solid'] ++ qhull_lib = [] # TODO ++ qhull_libpath = [] # TODO ++ qhull_include = ['#extern/qhull/include'] ++ # ODE library information ++ ode_lib = ['ode'] ++ ode_libpath = ['#../lib/linux-glibc2.2.5-i386/ode/lib'] ++ ode_include = ['#../lib/linux-glibc2.2.5-i386/ode/include'] ++ # Python library information ++ python_lib = ['python%d.%d' % sys.version_info[0:2]] ++ python_libpath = [sysconfig.get_python_lib (0, 1) + '/config'] ++ python_include = [sysconfig.get_python_inc ()] ++ python_linkflags = Split (sysconfig.get_config_var('LINKFORSHARED')) ++ # International support information ++ ftgl_lib = ['ftgl'] ++ ftgl_libpath = ['#../lib/linux-glibc2.2.5-i386/ftgl/lib'] ++ ftgl_include = ['#../lib/linux-glibc2.2.5-i386/ftgl/include'] ++ freetype_env.ParseConfig('pkg-config --cflags --libs freetype2') ++ freetype_lib = freetype_env.Dictionary()['LIBS'] ++ freetype_libpath = freetype_env.Dictionary()['LIBPATH'] ++ freetype_include = freetype_env.Dictionary()['CPPPATH'] ++ gettext_lib = [] ++ gettext_libpath = [] ++ gettext_include = [] ++ # OpenAL library information ++ openal_lib = ['openal'] ++ openal_libpath = [] ++ openal_include = [] ++ ++elif sys.platform=='freebsd4' or sys.platform=='freebsd5': ++ print "Building for FreeBSD" ++ ++elif sys.platform == 'linux2' or sys.platform == 'linux-i386': + use_international = 'false' + use_gameengine = 'true' + use_openal = 'false' +@@ -591,7 +676,7 @@ elif sys.platform=='openbsd3': + use_openal = 'false' + use_fmod = 'false' + use_quicktime = 'false' +- use_sumo = 'false' ++ use_sumo = 'true' + use_ode = 'false' + use_buildinfo = 'true' + build_blender_dynamic = 'true' diff --git a/graphics/blender/patches/patch-af b/graphics/blender/patches/patch-af new file mode 100644 index 00000000000..3b924849cbb --- /dev/null +++ b/graphics/blender/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.1 2005/02/26 20:34:43 reinoud Exp $ + +--- source/gameengine/BlenderRoutines/SConscript.orig 2004-05-16 15:07:17.000000000 +0200 ++++ source/gameengine/BlenderRoutines/SConscript +@@ -46,6 +46,7 @@ kx_blenderhook_env.Append (CPPPATH=['.', + + kx_blenderhook_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE']) + kx_blenderhook_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE']) ++kx_blenderhook_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE']) + + if sys.platform=='win32': + kx_blenderhook_env.Append (CXXFLAGS = ['/GR']) diff --git a/graphics/blender/patches/patch-ag b/graphics/blender/patches/patch-ag new file mode 100644 index 00000000000..55afa7877e7 --- /dev/null +++ b/graphics/blender/patches/patch-ag @@ -0,0 +1,11 @@ +$NetBSD: patch-ag,v 1.1 2005/02/26 20:34:43 reinoud Exp $ + +--- source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript.orig 2004-05-16 15:07:16.000000000 +0200 ++++ source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript +@@ -14,5 +14,6 @@ ras_openglrasterizer_env.Append (CPPPATH + '#intern/moto/include', + '#source/gameengine/Rasterizer' + ]) ++ras_openglrasterizer_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE']) + + ras_openglrasterizer_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_OpenGLRasterizer', source=source_files) |