From a22c16c35260233a9c1c406618579d7999e0bd60 Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: May 26 2010 15:36:21 +0000 Subject: Add large file support for 32-bit plattforms --- diff --git a/blender-2.49-scons.patch b/blender-2.49-scons.patch index 88d8d6d..a75f381 100644 --- a/blender-2.49-scons.patch +++ b/blender-2.49-scons.patch @@ -1,10 +1,16 @@ -diff -up blender-2.49/config/linux2-config.py.org blender-2.49/config/linux2-config.py ---- blender-2.49/config/linux2-config.py.org 2009-05-18 21:13:48.000000000 +0200 -+++ blender-2.49/config/linux2-config.py 2009-06-01 20:16:59.000000000 +0200 -@@ -181,6 +181,12 @@ CCFLAGS = ['-pipe','-fPIC','-funsigned-c +diff -up blender-2.49b/config/linux2-config.py.org blender-2.49b/config/linux2-config.py +--- blender-2.49b/config/linux2-config.py.org 2009-09-01 17:23:25.000000000 +0200 ++++ blender-2.49b/config/linux2-config.py 2010-05-19 20:08:30.599484197 +0200 +@@ -177,10 +177,16 @@ CXX = 'g++' + ##ifeq ($CPU),alpha) + ## CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee + +-CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing'] ++CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] CPPFLAGS = ['-DXP_UNIX'] - CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing'] +-CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing'] ++CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + +import os +RPM_OPT_FLAGS = os.environ['RPM_OPT_FLAGS'].split() @@ -14,9 +20,9 @@ diff -up blender-2.49/config/linux2-config.py.org blender-2.49/config/linux2-con REL_CFLAGS = ['-O2'] REL_CCFLAGS = ['-O2'] ##BF_DEPEND = True -diff -up blender-2.49/extern/SConscript.org blender-2.49/extern/SConscript ---- blender-2.49/extern/SConscript.org 2009-02-26 15:21:17.000000000 +0100 -+++ blender-2.49/extern/SConscript 2009-06-01 20:20:48.000000000 +0200 +diff -up blender-2.49b/extern/SConscript.org blender-2.49b/extern/SConscript +--- blender-2.49b/extern/SConscript.org 2009-09-01 17:23:25.000000000 +0200 ++++ blender-2.49b/extern/SConscript 2010-05-19 20:01:52.052609611 +0200 @@ -2,8 +2,6 @@ Import('env') @@ -26,9 +32,9 @@ diff -up blender-2.49/extern/SConscript.org blender-2.49/extern/SConscript if env['WITH_BF_GAMEENGINE']: if env['WITH_BF_SOLID']: SConscript(['qhull/SConscript', 'solid/SConscript']) -diff -up blender-2.49/SConstruct.org blender-2.49/SConstruct ---- blender-2.49/SConstruct.org 2009-04-21 21:06:24.000000000 +0200 -+++ blender-2.49/SConstruct 2009-06-01 20:18:42.000000000 +0200 +diff -up blender-2.49b/SConstruct.org blender-2.49b/SConstruct +--- blender-2.49b/SConstruct.org 2009-09-01 17:23:49.000000000 +0200 ++++ blender-2.49b/SConstruct 2010-05-19 20:01:52.053609534 +0200 @@ -223,7 +223,7 @@ if env['OURPLATFORM'] == 'linux2' : def CheckFreeAlut(context,env): diff --git a/blender.spec b/blender.spec index 6d84fbf..932fecf 100644 --- a/blender.spec +++ b/blender.spec @@ -5,7 +5,7 @@ Name: blender Version: 2.49b -Release: 6%{?dist} +Release: 8%{?Dist} Summary: 3D modeling, animation, rendering and post-production @@ -56,7 +56,6 @@ BuildRequires: libGLU-devel BuildRequires: freetype-devel BuildRequires: OpenEXR-devel BuildRequires: glew-devel -BuildRequires: fontpackages-devel BuildRequires: fftw-devel BuildRequires: ftgl-devel @@ -246,6 +245,12 @@ fi || : %{_bindir}/blenderplayer.bin %changelog +* Wed May 26 2010 Jochen Schmitt 2.49b-8 +- Add large file support for 32-bit plattforms (#585668) + +* Thu Apr 8 2010 Jochen Schmitt 2.49b-7 +- Remove unused BR fontpackages-devel + * Sun Mar 28 2010 Jochen Schmitt 2.49b-6 - Try to fix copy of userid into files.owner (#572186)