Репозитории ALT
S: | 1.0.8-alt2 |
5.1: | 1.0.6-alt1 |
4.1: | 1.0.6-alt0.M40.1 |
4.0: | 1.0.6-alt0.M40.1 |
+updates: | 1.0.5-alt2 |
3.0: | 1.0.3-alt5 |
Группа :: Архивирование/Сжатие
Пакет: bzip2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: bzip2-1.0.6-alt-export.patch
Скачать
Скачать
--- bzip2/Makefile.am
+++ bzip2/Makefile.am
@@ -21,7 +21,8 @@
compress.c \
decompress.c \
bzlib.c
-libbz2_la_LDFLAGS = -version-info 1:6:0
+libbz2_la_LDFLAGS = -version-info 1:6:0 -Wl,--version-script=libbz2.map,libbz2.lds
+libbz2_la_DEPENDENCIES = libbz2.map libbz2.lds
check-local: samples.sh bzip2
./samples.sh
--- bzip2/bzlib_private.h
+++ bzip2/bzlib_private.h
@@ -32,6 +32,7 @@
#include "bzlib.h"
+#pragma GCC visibility push(hidden)
/*-- General stuff. --*/
@@ -492,6 +493,8 @@ BZ2_hbCreateDecodeTables ( Int32*, Int32*, Int32*, UChar*,
Int32, Int32, Int32 );
+#pragma GCC visibility pop
+
#endif
--- /dev/null
+++ bzip2/libbz2.lds
@@ -0,0 +1,24 @@
+"BZ2_bzBuffToBuffCompress@BZLIB_1.0" = BZ2_bzBuffToBuffCompress;
+"BZ2_bzBuffToBuffDecompress@BZLIB_1.0" = BZ2_bzBuffToBuffDecompress;
+"BZ2_bzCompress@BZLIB_1.0" = BZ2_bzCompress;
+"BZ2_bzCompressEnd@BZLIB_1.0" = BZ2_bzCompressEnd;
+"BZ2_bzCompressInit@BZLIB_1.0" = BZ2_bzCompressInit;
+"BZ2_bzDecompress@BZLIB_1.0" = BZ2_bzDecompress;
+"BZ2_bzDecompressEnd@BZLIB_1.0" = BZ2_bzDecompressEnd;
+"BZ2_bzDecompressInit@BZLIB_1.0" = BZ2_bzDecompressInit;
+"BZ2_bzRead@BZLIB_1.0" = BZ2_bzRead;
+"BZ2_bzReadClose@BZLIB_1.0" = BZ2_bzReadClose;
+"BZ2_bzReadGetUnused@BZLIB_1.0" = BZ2_bzReadGetUnused;
+"BZ2_bzReadOpen@BZLIB_1.0" = BZ2_bzReadOpen;
+"BZ2_bzWrite@BZLIB_1.0" = BZ2_bzWrite;
+"BZ2_bzWriteClose64@BZLIB_1.0" = BZ2_bzWriteClose64;
+"BZ2_bzWriteClose@BZLIB_1.0" = BZ2_bzWriteClose;
+"BZ2_bzWriteOpen@BZLIB_1.0" = BZ2_bzWriteOpen;
+"BZ2_bzclose@BZLIB_1.0" = BZ2_bzclose;
+"BZ2_bzdopen@BZLIB_1.0" = BZ2_bzdopen;
+"BZ2_bzerror@BZLIB_1.0" = BZ2_bzerror;
+"BZ2_bzflush@BZLIB_1.0" = BZ2_bzflush;
+"BZ2_bzlibVersion@BZLIB_1.0" = BZ2_bzlibVersion;
+"BZ2_bzopen@BZLIB_1.0" = BZ2_bzopen;
+"BZ2_bzread@BZLIB_1.0" = BZ2_bzread;
+"BZ2_bzwrite@BZLIB_1.0" = BZ2_bzwrite;
--- /dev/null
+++ bzip2/libbz2.map
@@ -0,0 +1,2 @@
+BZLIB_1.0 {
+};