File: bzip2.diff

package info (click to toggle)
tcltrf 2.1.4-dfsg1-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,052 kB
  • sloc: ansic: 72,769; tcl: 1,343; makefile: 226; sh: 89; exp: 22
file content (23 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Patch allows to link Trf to newer bzip2 library.

--- tcltrf-2.1.4-dfsg.orig/generic/bz2lib.c
+++ tcltrf-2.1.4-dfsg/generic/bz2lib.c
@@ -42,12 +42,12 @@
 #ifdef BZLIB_STATIC_BUILD
 bzFunctions bz = {
   0,
-  bzCompress,
-  bzCompressEnd,
-  bzCompressInit,
-  bzDecompress,
-  bzDecompressEnd,
-  bzDecompressInit,
+  BZ2_bzCompress,
+  BZ2_bzCompressEnd,
+  BZ2_bzCompressInit,
+  BZ2_bzDecompress,
+  BZ2_bzDecompressEnd,
+  BZ2_bzDecompressInit,
 };
 #else
 bzFunctions bz = {0}; /* THREADING: serialize initialization */