~ubuntu-branches/ubuntu/warty/freetype/warty

« back to all changes in this revision

Viewing changes to debian/patches/t1load-eexec.diff

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-07-28 15:45:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040728154535-dg5mq3p3gflfiyup
Tags: 2.1.7-2.1ubuntu1
Add backwards compatability API fixes (Closes: #417)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
===================================================================
 
2
RCS file: /home/freetype/cvs/cvs/freetype/freetype2/src/type1/t1load.c,v
 
3
retrieving revision 1.88
 
4
retrieving revision 1.89
 
5
diff -u -r1.88 -r1.89
 
6
--- freetype2/src/type1/t1load.c        2003/12/12 15:38:39     1.88
 
7
+++ freetype2/src/type1/t1load.c        2003/12/22 11:35:36     1.89
 
8
@@ -1527,6 +1527,11 @@
 
9
         parser->root.cursor = cur2;
 
10
       }
 
11
 
 
12
+      /* look for `eexec' */
 
13
+      else if ( *cur == 'e' && cur + 5 < limit &&
 
14
+                ft_strncmp( (char*)cur, "eexec", 5 ) == 0 )
 
15
+        break;
 
16
+
 
17
       /* look for `closefile' which ends the eexec section */
 
18
       else if ( *cur == 'c' && cur + 9 < limit &&
 
19
                 ft_strncmp( (char*)cur, "closefile", 9 ) == 0 )