File: freetype.patch

package info (click to toggle)
evolution 3.56.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 135,044 kB
  • sloc: ansic: 519,950; javascript: 8,494; xml: 5,207; python: 702; makefile: 563; sh: 294; perl: 169
file content (18 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -upr freetype-2.5.2/src/gzip/ftgzip.c freetype-2.5.2.new/src/gzip/ftgzip.c
--- freetype-2.5.2/src/gzip/ftgzip.c	2013-08-29 15:53:13 +0000
+++ freetype-2.5.2.new/src/gzip/ftgzip.c	2014-01-10 20:14:37 +0000
@@ -45,6 +44,14 @@
 #error "gzip code does not support PIC yet"
 #endif
 
+#ifndef __int64
+# define __int64 long long
+#endif
+typedef long _off_t;
+typedef _off_t	off_t;
+typedef __int64 _off64_t;
+typedef __int64 off64_t;
+
 #ifdef FT_CONFIG_OPTION_SYSTEM_ZLIB
 
 #include <zlib.h>