~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to debian/patches/01_64bits_stupidity.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 01_64bits_fix by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: Well, Blender coders (cf. #blendercoders/freenode) consider that 64 bits
6
 
## DP: are not that important, and won't be releasing a 64 bits-safe version
7
 
## DP: before 2.50. They want us to explicitly define that we are aware of
8
 
## DP: possible problems with 64 bits. Further comments in NEWS.Debian.
9
 
 
10
 
@DPATCH@
11
 
 
12
 
--- blender-2.43~/source/creator/creator.c      2007-01-28 05:45:58.000000000 +0000
13
 
+++ blender-2.43/source/creator/creator.c       2007-02-19 18:35:34.000000000 +0000
14
 
@@ -29,6 +29,9 @@
15
 
  *
16
 
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
17
 
  */
18
 
+
19
 
+#define YESIAMSTUPID 1
20
 
+
21
 
 #include <stdlib.h>
22
 
 #include <string.h>
23
 
 
24
 
@@ -245,6 +248,9 @@
25
 
        }
26
 
 #else
27
 
        if(sizeof(void *)==8) {
28
 
+               printf("The following warning messages come from the Blender coders. The Debian \n"
29
 
+                      "maintainers would like to point to the following file for rationales: \n"
30
 
+                      "  /usr/share/doc/blender/NEWS.Debian.gz\n\n");
31
 
                printf("64 bits compiles will give incorrectly saved .blend files. Do not use it.\n\n"
32
 
        "*** If you continue to run this executable, you really are quite stupid ***\n\n"); 
33