Репозитории 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.4-alt-versioning.patch
Скачать
Скачать
diff -upk.orig bzip2-1.0.4.orig/Makefile.am bzip2-1.0.4/Makefile.am
--- bzip2-1.0.4.orig/Makefile.am 2005-04-09 22:29:21 +0000
+++ bzip2-1.0.4/Makefile.am 2007-01-10 16:35:20 +0000
@@ -21,7 +21,11 @@ libbz2_la_SOURCES = \
compress.c \
decompress.c \
bzlib.c
-libbz2_la_LDFLAGS = -version-info 1:3:0
+libbz2_la_LDFLAGS = -version-info 1:3:0 -Wl,--version-script=libbz2.map
+libbz2_la_DEPENDENCIES = libbz2.map
+
+libbz2.map: libbz2.map.sh
+ sh $^ >$@
check-local: samples.sh bzip2
./samples.sh
diff -upk.orig bzip2-1.0.4.orig/libbz2.map.sh bzip2-1.0.4/libbz2.map.sh
--- bzip2-1.0.4.orig/libbz2.map.sh 1970-01-01 00:00:00 +0000
+++ bzip2-1.0.4/libbz2.map.sh 2005-04-09 22:29:21 +0000
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cat <<__EOF__
+
+BZLIB_1.0 {
+ global:
+$(sed -ne 's/^BZ_EXTERN .*BZ_API(\([^)]\+\)).*/ \1;/pg' bzlib.h)
+ local:
+ *;
+};
+__EOF__