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
|
Patch fixes linking of Trf library at build time. It is taken from
http://sourceforge.net/tracker/index.php?func=detail&aid=680667&group_id=60766&atid=495205
--- tcltrf-2.1.4-dfsg.orig/generic/zlib.c
+++ tcltrf-2.1.4-dfsg/generic/zlib.c
@@ -44,11 +44,11 @@
0,
deflate,
deflateEnd,
- deflateInit_,
+ deflateInit2_,
deflateReset,
inflate,
inflateEnd,
- inflateInit_,
+ inflateInit2_,
inflateReset,
adler32,
crc32,
--- tcltrf-2.1.4-dfsg.orig/trf.m4
+++ tcltrf-2.1.4-dfsg/trf.m4
@@ -155,15 +155,15 @@
AC_ARG_ENABLE(static-zlib,
[ --enable-static-zlib link 'zlib' statically],
- [STATIC_ZLIB=$enableval], [STATIC_ZLIB=no])
+ [ZLIB_STATIC=$enableval], [ZLIB_STATIC=no])
AC_ARG_ENABLE(static-bzlib,
[ --enable-static-bzlib link 'bzlib' statically],
- [STATIC_BZLIB=$enableval], [STATIC_BZLIB=no])
+ [BZLIB_STATIC=$enableval], [BZLIB_STATIC=no])
AC_ARG_ENABLE(static-md5,
[ --enable-static-md5 link 'md5' statically],
- [STATIC_MD5=$enableval], [STATIC_MD5=no])
+ [MD5_STATIC=$enableval], [MD5_STATIC=no])
AC_ARG_ENABLE(trf_debug,
[ --enable-trf-debug enable debugging output],
--- tcltrf-2.1.4-dfsg.orig/configure
+++ tcltrf-2.1.4-dfsg/configure
@@ -13087,25 +13087,25 @@
# Check whether --enable-static-zlib was given.
if test "${enable_static_zlib+set}" = set; then
- enableval=$enable_static_zlib; STATIC_ZLIB=$enableval
+ enableval=$enable_static_zlib; ZLIB_STATIC=$enableval
else
- STATIC_ZLIB=no
+ ZLIB_STATIC=no
fi
# Check whether --enable-static-bzlib was given.
if test "${enable_static_bzlib+set}" = set; then
- enableval=$enable_static_bzlib; STATIC_BZLIB=$enableval
+ enableval=$enable_static_bzlib; BZLIB_STATIC=$enableval
else
- STATIC_BZLIB=no
+ BZLIB_STATIC=no
fi
# Check whether --enable-static-md5 was given.
if test "${enable_static_md5+set}" = set; then
- enableval=$enable_static_md5; STATIC_MD5=$enableval
+ enableval=$enable_static_md5; MD5_STATIC=$enableval
else
- STATIC_MD5=no
+ MD5_STATIC=no
fi
|