Commit 1639c7948231b4dcba4e00b6b9db1bbc3fb929e9

Werner Lemberg 2006-05-06T16:44:58

* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. * builds/unix/configure.ac (version_info): Set to 9:10:3. * builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj, builds/freetype.mk (refdoc), Jamfile (RefDoc), README: s/220/221/, s/2.2.0/2.2.1/. Minor updates. * docs/CHANGES, docs/VERSION.DLL, docs/PROBLEMS, README.CVS: Updated. * builds/unix/install-sh: Updated from `texinfo' CVS module at savannah.gnu.org. * devel/ftoption.h: Synchronize with include/freetype/config/ftoption.h.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
diff --git a/ChangeLog b/ChangeLog
index 399ebb4..6675199 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2006-05-06  Werner Lemberg  <wl@gnu.org>
+
+	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
+
+	* builds/unix/configure.ac (version_info): Set to 9:10:3.
+
+	* builds/win32/visualc/index.html,
+	builds/win32/visualc/freetype.dsp,
+	builds/win32/visualc/freetype.vcproj, builds/freetype.mk (refdoc),
+	Jamfile (RefDoc), README: s/220/221/, s/2.2.0/2.2.1/.
+	Minor updates.
+
+	* docs/CHANGES, docs/VERSION.DLL, docs/PROBLEMS, README.CVS:
+	Updated.
+
+	* builds/unix/install-sh: Updated from `texinfo' CVS module at
+	savannah.gnu.org.
+
+	* devel/ftoption.h: Synchronize with
+	include/freetype/config/ftoption.h.
+
 2006-05-04  Werner Lemberg  <wl@gnu.org>
 
 	* src/lzw/ftlzw2.c: Renamed to...
diff --git a/Jamfile b/Jamfile
index e99d4cf..35c98fe 100644
--- a/Jamfile
+++ b/Jamfile
@@ -193,7 +193,7 @@ rule RefDoc
 
 actions RefDoc
 {
-  python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 --title=FreeType-2.2 --output=$(DOC_DIR)  $(FT2_INCLUDE)/freetype/*.h  $(FT2_INCLUDE)/freetype/config/*.h  $(FT2_INCLUDE)/freetype/cache/*.h
+  python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 --title=FreeType-2.2.1 --output=$(DOC_DIR) $(FT2_INCLUDE)/freetype/*.h $(FT2_INCLUDE)/freetype/config/*.h
 }
 
 RefDoc  refdoc ;
diff --git a/README b/README
index dd8c291..65164ea 100644
--- a/README
+++ b/README
@@ -9,8 +9,8 @@
   is called `libttf'.  They are *not* compatible!
 
 
-  FreeType 2.2
-  ============
+  FreeType 2.2.1
+  ==============
 
   Please   read   the  docs/CHANGES   file,   it  contains   IMPORTANT
   INFORMATION.
@@ -24,9 +24,9 @@
 
   and download one of the following files.
 
-    freetype-doc-2.2.tar.bz2
-    freetype-doc-2.2.tar.gz
-    ftdoc22.zip
+    freetype-doc-2.2.1.tar.bz2
+    freetype-doc-2.2.1.tar.gz
+    ftdoc221.zip
 
 
   Bugs
diff --git a/README.CVS b/README.CVS
index b1de1ba..bde3a15 100644
--- a/README.CVS
+++ b/README.CVS
@@ -1,19 +1,19 @@
-The CVS archive doesn't contain pre-built configuration scripts for
+The CVS  archive doesn't  contain pre-built configuration  scripts for
 UNIXish platforms.  To generate them say
 
   sh autogen.sh
 
 which in turn depends on the following packages:
 
-  automake (1.9.4)
-  libtool (1.5.16)
-  autoconf (2.59b)
+  automake (1.9.6)
+  libtool (1.5.22)
+  autoconf (2.59c)
 
-The versions given in parentheses are known to work.  Note that autogen.sh
-also sets up proper file permissions for the configure and auxiliary
-scripts.
+The  versions given  in  parentheses  are known  to  work.  Note  that
+autogen.sh also sets up proper  file permissions for the configure and
+auxiliary scripts.
 
-For static builds which don't use platform specific optimizations no
+For static builds which  don't use platform specific optimizations, no
 configure script is necessary at all; saying
 
   make setup ansi
diff --git a/builds/freetype.mk b/builds/freetype.mk
index 40c361b..84da09b 100644
--- a/builds/freetype.mk
+++ b/builds/freetype.mk
@@ -270,7 +270,7 @@ dll: $(PROJECT_LIBRARY) exported_symbols
 refdoc:
 	python $(SRC_DIR)/tools/docmaker/docmaker.py \
                --prefix=ft2                          \
-               --title=FreeType-2.2                  \
+               --title=FreeType-2.2.1                \
                --output=$(DOC_DIR)                   \
                $(PUBLIC_DIR)/*.h                     \
                $(PUBLIC_DIR)/config/*.h              \
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index aab0fd1..48a454c 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -17,18 +17,18 @@
 #
 # It works as follows:
 #
-# - When invoked for the first time, this Makefile will include the rules
-#   found in `PROJECT/builds/detect.mk'.  They are in charge of detecting
-#   the current platform.
+# - When invoked for the first time, this Makefile includes the rules found
+#   in `PROJECT/builds/detect.mk'.  They are in charge of detecting the
+#   current platform.
 #
-#   A summary of the detection will be displayed, and the file `config.mk'
-#   will be created in the current directory.
+#   A summary of the detection is displayed, and the file `config.mk' is
+#   created in the current directory.
 #
-# - When invoked later, this Makefile will include the rules found in
-#   `config.mk'.  This sub-Makefile will define some system-specific
-#   variables (like compiler, compilation flags, object suffix, etc.), then
-#   include the rules found in `PROJECT/builds/PROJECT.mk', used to build
-#   the library.
+# - When invoked later, this Makefile includes the rules found in
+#   `config.mk'.  This sub-Makefile defines some system-specific variables
+#   (like compiler, compilation flags, object suffix, etc.), then includes
+#   the rules found in `PROJECT/builds/PROJECT.mk', used to build the
+#   library.
 #
 # See the comments in `builds/detect.mk' and `builds/PROJECT.mk' for more
 # details on host platform detection and library builds.
@@ -56,7 +56,7 @@ endif
 
 
 # FTMODULE_H, as its name suggests, indicates where the FreeType module
-# classes resides.
+# class file resides.
 #
 FTMODULE_H ?= $(OBJ_DIR)/ftmodule.h
 
diff --git a/builds/unix/configure.ac b/builds/unix/configure.ac
index 22ad65f..24c36f3 100644
--- a/builds/unix/configure.ac
+++ b/builds/unix/configure.ac
@@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR([ftconfig.in])
 
 # Don't forget to update docs/VERSION.DLL!
 
-version_info='9:9:3'
+version_info='9:10:3'
 AC_SUBST([version_info])
 ft_version=`echo $version_info | tr : .`
 AC_SUBST([ft_version])
diff --git a/builds/unix/install-sh b/builds/unix/install-sh
index fd2e75a..220d664 100644
--- a/builds/unix/install-sh
+++ b/builds/unix/install-sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2006-01-12.21
+scriptversion=2006-04-25.22
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -109,7 +109,7 @@ Environment variables override the default commands:
   CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
 "
 
-while test -n "$1"; do
+while test $# -ne 0; do
   case $1 in
     -c) shift
         continue;;
@@ -150,25 +150,33 @@ while test -n "$1"; do
 
     --version) echo "$0 $scriptversion"; exit $?;;
 
-    *)  # When -d is used, all remaining arguments are directories to create.
-	# When -t is used, the destination is already specified.
-	test -n "$dir_arg$dstarg" && break
-        # Otherwise, the last argument is the destination.  Remove it from $@.
-	for arg
-	do
-          if test -n "$dstarg"; then
-	    # $@ is not empty: it contains at least $arg.
-	    set fnord "$@" "$dstarg"
-	    shift # fnord
-	  fi
-	  shift # arg
-	  dstarg=$arg
-	done
+    --)	shift
 	break;;
+
+    -*)	echo "$0: invalid option: $1" >&2
+	exit 1;;
+
+    *)  break;;
   esac
 done
 
-if test -z "$1"; then
+if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
+  # When -d is used, all remaining arguments are directories to create.
+  # When -t is used, the destination is already specified.
+  # Otherwise, the last argument is the destination.  Remove it from $@.
+  for arg
+  do
+    if test -n "$dstarg"; then
+      # $@ is not empty: it contains at least $arg.
+      set fnord "$@" "$dstarg"
+      shift # fnord
+    fi
+    shift # arg
+    dstarg=$arg
+  done
+fi
+
+if test $# -eq 0; then
   if test -z "$dir_arg"; then
     echo "$0: no input file specified." >&2
     exit 1
@@ -230,8 +238,7 @@ do
 	expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 	     X"$dst" : 'X\(//\)[^/]' \| \
 	     X"$dst" : 'X\(//\)$' \| \
-	     X"$dst" : 'X\(/\)' \| \
-	     .       : '\(.\)' 2>/dev/null ||
+	     X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
 	echo X"$dst" |
 	    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 		   s//\1/
diff --git a/builds/win32/visualc/freetype.dsp b/builds/win32/visualc/freetype.dsp
index 5e56c8e..7eacc51 100644
--- a/builds/win32/visualc/freetype.dsp
+++ b/builds/win32/visualc/freetype.dsp
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype220.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype221.lib"
 
 !ELSEIF  "$(CFG)" == "freetype - Win32 Debug"
 
@@ -78,7 +78,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype220_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype221_D.lib"
 
 !ELSEIF  "$(CFG)" == "freetype - Win32 Debug Multithreaded"
 
@@ -103,7 +103,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo /out:"lib\freetype200b8_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype220MT_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype221MT_D.lib"
 
 !ELSEIF  "$(CFG)" == "freetype - Win32 Release Multithreaded"
 
@@ -127,7 +127,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo /out:"lib\freetype200b8.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype220MT.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype221MT.lib"
 
 !ELSEIF  "$(CFG)" == "freetype - Win32 Release Singlethreaded"
 
@@ -152,7 +152,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype206.lib"
-# ADD LIB32 /out:"..\..\..\objs\freetype220ST.lib"
+# ADD LIB32 /out:"..\..\..\objs\freetype221ST.lib"
 # SUBTRACT LIB32 /nologo
 
 !ELSEIF  "$(CFG)" == "freetype - Win32 Debug Singlethreaded"
@@ -178,7 +178,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype206_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype220ST_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype221ST_D.lib"
 
 !ENDIF 
 
diff --git a/builds/win32/visualc/freetype.vcproj b/builds/win32/visualc/freetype.vcproj
index 18f7b31..fe98180 100644
--- a/builds/win32/visualc/freetype.vcproj
+++ b/builds/win32/visualc/freetype.vcproj
@@ -41,7 +41,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLibrarianTool"
-				OutputFile="..\..\..\objs\freetype220.lib"
+				OutputFile="..\..\..\objs\freetype221.lib"
 				SuppressStartupBanner="TRUE"/>
 			<Tool
 				Name="VCMIDLTool"/>
@@ -94,7 +94,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLibrarianTool"
-				OutputFile="..\..\..\objs\freetype220MT.lib"
+				OutputFile="..\..\..\objs\freetype221MT.lib"
 				SuppressStartupBanner="TRUE"/>
 			<Tool
 				Name="VCMIDLTool"/>
@@ -147,7 +147,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLibrarianTool"
-				OutputFile="..\..\..\objs\freetype220ST.lib"/>
+				OutputFile="..\..\..\objs\freetype221ST.lib"/>
 			<Tool
 				Name="VCMIDLTool"/>
 			<Tool
@@ -197,7 +197,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLibrarianTool"
-				OutputFile="..\..\..\objs\freetype220_D.lib"
+				OutputFile="..\..\..\objs\freetype221_D.lib"
 				SuppressStartupBanner="TRUE"/>
 			<Tool
 				Name="VCMIDLTool"/>
@@ -248,7 +248,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLibrarianTool"
-				OutputFile="..\..\..\objs\freetype220ST_D.lib"
+				OutputFile="..\..\..\objs\freetype221ST_D.lib"
 				SuppressStartupBanner="TRUE"/>
 			<Tool
 				Name="VCMIDLTool"/>
@@ -300,7 +300,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLibrarianTool"
-				OutputFile="..\..\..\objs\freetype220MT_D.lib"
+				OutputFile="..\..\..\objs\freetype221MT_D.lib"
 				SuppressStartupBanner="TRUE"/>
 			<Tool
 				Name="VCMIDLTool"/>
diff --git a/builds/win32/visualc/index.html b/builds/win32/visualc/index.html
index f76669f..89aad78 100644
--- a/builds/win32/visualc/index.html
+++ b/builds/win32/visualc/index.html
@@ -12,14 +12,14 @@
 
 <p>This directory contains project files for Visual C++, named
 <tt>freetype.dsp</tt>, and Visual Studio, called <tt>freetype.sln</tt>.  It
-will compile the following libraries from the FreeType 2.2.0 sources:</p>
+will compile the following libraries from the FreeType 2.2.1 sources:</p>
 
 <ul>
   <pre>
-    freetype220.lib     - release build; single threaded
-    freetype220_D.lib   - debug build;   single threaded
-    freetype220MT.lib   - release build; multi-threaded
-    freetype220MT_D.lib - debug build;   multi-threaded</pre>
+    freetype221.lib     - release build; single threaded
+    freetype221_D.lib   - debug build;   single threaded
+    freetype221MT.lib   - release build; multi-threaded
+    freetype221MT_D.lib - debug build;   multi-threaded</pre>
 </ul>
 
 <p>Be sure to extract the files with the Windows (CR+LF) line endings.  ZIP
diff --git a/devel/ftoption.h b/devel/ftoption.h
index 5435f84..a7a3d0b 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -582,20 +582,6 @@ FT_BEGIN_HEADER
 
 
   /*
-   * This temporary macro is used to control whether we are going to compile
-   * certain functions like ft_mem_alloc in a way that prevents recent GCC
-   * releases from emitting zillions of `strict aliasing' warning messages
-   * each time a memory-management function is called.
-   *
-   * Note that it shouldn't be activated when building the library with
-   * a C++ compiler.
-   */
-#ifndef __cplusplus
-#define FT_STRICT_ALIASING
-#endif
-
-
-  /*
    * Define this variable if you want to keep the layout of internal
    * structures that was used prior to FreeType 2.2.  This also compiles in
    * a few obsolete functions to avoid linking problems on typical Unix
diff --git a/docs/CHANGES b/docs/CHANGES
index 7b1146f..18109f6 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -1,5 +1,19 @@
+LATEST CHANGES BETWEEN 2.2.1 and 2.2
+
+  I. IMPORTANT BUG FIXES
+
+    - Various integer overflows have been fixed.
+
+    - PFB fonts with MacOS resource fork weren't  handled correctly on
+      non-MacOS platforms.
+
+
+======================================================================
+
 LATEST CHANGES BETWEEN 2.2 and 2.1.10
 
+(not released officially)
+
   I. IMPORTANT BUG FIXES
 
     - Vertical metrics for SFNT fonts were incorrect sometimes.
@@ -128,7 +142,8 @@ LATEST CHANGES BETWEEN 2.2 and 2.1.10
       the face.
 
     - The demo programs  `ftview' and  `ftstring' have been  rewritten
-      for better readability.
+      for better readability.   `ftview' has a new switch `-p' to test
+      FT_New_Memory_Face (instead of FT_New_Face).
 
     - FreeType now honours bit 1 in the `head' table of TrueType fonts
       (meaning `left sidebearing point at x=0').  This helps with some
diff --git a/docs/PROBLEMS b/docs/PROBLEMS
index 90d0e81..fadd9c5 100644
--- a/docs/PROBLEMS
+++ b/docs/PROBLEMS
@@ -1,16 +1,16 @@
-This file describes various problems that have been encountered in
-compiling, installing and running FreeType 2.  Suggestions for additions or
-other improvements to this file are welcome.
+This  file describes various  problems that  have been  encountered in
+compiling,  installing  and   running  FreeType  2.   Suggestions  for
+additions or other improvements to this file are welcome.
 
----------------------------------------------------------------------------
+----------------------------------------------------------------------
 
 
 Compilation Problems
 ====================
 
 
-* I get an `internal compilation error' (ICE) while compiling FreeType 2.2.0
-  with Intel C++.
+* I get an `internal compilation error' (ICE) while compiling FreeType
+  2.2.1 with Intel C++.
 
 This has been reported for the following compiler version:
 
@@ -33,4 +33,4 @@ A solution to this problem is to apply the following patch.
        ftc_inode_new,
 
 
----------------------------------------------------------------------------
+----------------------------------------------------------------------
diff --git a/docs/VERSION.DLL b/docs/VERSION.DLL
index b880ffc..45108cf 100644
--- a/docs/VERSION.DLL
+++ b/docs/VERSION.DLL
@@ -13,7 +13,7 @@ FreeType on Unix.
 For each new  public release of FreeType 2,  there are generally *three*
 distinct `version' numbers to consider:
 
-  * The official FT2 release number, like 2.0.9, or 2.1.3.
+  * The official FreeType 2 release number, like 2.0.9 or 2.1.3.
 
   * The libtool (and Unix) specific version number, like 9.2.3.  This is
     what `freetype-config --version' returns.
@@ -53,6 +53,7 @@ systems, but not all of them:
 
     release    libtool      so
   -------------------------------
+     2.2.1      9.10.3    6.3.10
      2.2.0      9.9.3     6.3.9
      2.1.10     9.8.3     6.3.8
      2.1.9      9.7.3     6.3.7
@@ -78,8 +79,8 @@ The libtool numbers are a bit inconsistent due to the library's history:
   - 2.0.9  was  a  bug-fix  release  of  the  `stable'  branch,  and  we
     incorrectly increased its libtool number.
 
-  - 2.1.4 is  still in  the `development' branch,  however it  is stable
-    enough to be the basis of an upcoming 2.2.0 release.
+  - 2.1.4 was a development version, however it was stable  enough to be
+    the basis of the 2.2.0 release.
 
 
 3. Autoconf Code Fragment
@@ -111,7 +112,7 @@ other release numbers.
 
 ------------------------------------------------------------------------
 
-Copyright 2002, 2003, 2004, 2005 by
+Copyright 2002, 2003, 2004, 2005, 2006 by
 David Turner, Robert Wilhelm, and Werner Lemberg.
 
 This  file is  part  of the  FreeType  project, and  may  only be  used,
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 2097c58..76aebc4 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -44,7 +44,7 @@
   /*                                                                       */
 #define FREETYPE_MAJOR 2
 #define FREETYPE_MINOR 2
-#define FREETYPE_PATCH 0
+#define FREETYPE_PATCH 1
 
 
 #include <ft2build.h>