Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513062
en ru br
Репозитории ALT
S:2.6.4-alt1
5.1: 2.4.5-alt2
4.1: 2.4.5-alt0.1.M41.1
4.0: 2.4.5-alt0.1.M40.1
3.0: 2.4.1-alt7
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: inn

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0001-Fix-libstorage-linking.patch
Скачать


From: Vladimir V. Kamarzin <vvk@altlinux.org>
Date: Thu, 27 Oct 2011 00:40:11 +0600
Subject: [PATCH] Fix libstorage linking
../libtool --mode=link i586-alt-linux-gcc  -o innfeed article.o buffer.o
config_l.o config_y.o endpoint.o host.o innlistener.o main.o misc.o
tape.o connection.o /usr/src/RPM/BUILD/inn-2.5.2/storage/libstorage.la
/usr/src/RPM/BUILD/inn-2.5.2/history/libinnhist.la
/usr/src/RPM/BUILD/inn-2.5.2/lib/libinn.la -L/usr/lib  -ldb
libtool: link: i586-alt-linux-gcc -o .libs/innfeed article.o buffer.o
config_l.o config_y.o endpoint.o host.o innlistener.o main.o misc.o
tape.o connection.o  -L/usr/lib
/usr/src/RPM/BUILD/inn-2.5.2/history/.libs/libinnhist.so
/usr/src/RPM/BUILD/inn-2.5.2/storage/.libs/libstorage.so
/usr/src/RPM/BUILD/inn-2.5.2/lib/.libs/libinn.so -ldb
/usr/src/RPM/BUILD/inn-2.5.2/storage/.libs/libstorage.so: undefined
reference to `HISlookup'
verify-elf: ERROR: ./usr/lib/libstorage.so.3.0.2: undefined symbol: HISlookup
diff -Nur inn.old/history/Makefile inn/history/Makefile
--- inn.old/history/Makefile	2018-03-18 00:00:00.000000000 +0000
+++ inn/history/Makefile	2018-09-25 20:46:33.000000000 +0000
@@ -51,7 +51,7 @@
 	@exit 1
 
 libinnhist.la: $(OBJECTS) $(LIBSTORAGE) $(LIBINN)
-	$(LIBLD) $(LDFLAGS) -o $@ $(LOBJECTS) \
+	$(LIBLD) $(LDFLAGS) -o $@ $(LOBJECTS) -L../storage/.libs \
 	    $(LIBSTORAGE) $(LIBINN) $(STORAGE_LIBS) $(LIBS) \
 	    -rpath $(PATHLIB) -version-info $(LTVERSION)
 
diff -Nur inn.old/Makefile inn/Makefile
--- inn.old/Makefile	2018-03-18 00:00:00.000000000 +0000
+++ inn/Makefile	2018-09-25 20:46:33.000000000 +0000
@@ -52,11 +52,11 @@
 
 all-include:			; cd include   && $(MAKE) all
 
-all-libraries:	all-lib all-storage all-history all-perl
+all-libraries:	all-lib all-history all-storage all-perl
 
 all-lib:	all-include	; cd lib       && $(MAKE) all
 all-storage:	all-lib		; cd storage   && $(MAKE) library
-all-history:	all-storage	; cd history   && $(MAKE) all
+all-history:			; cd history   && $(MAKE) all
 all-perl:	all-history	; cd perl      && $(MAKE) all
 
 all-programs:	all-innd all-nnrpd all-innfeed all-control all-expire \
diff -Nur inn.old/storage/Makefile inn/storage/Makefile
--- inn.old/storage/Makefile	2018-03-18 00:00:00.000000000 +0000
+++ inn/storage/Makefile	2018-09-25 20:49:32.000000000 +0000
@@ -55,8 +55,9 @@
 	@exit 1
 
 libstorage.la: $(OBJECTS) $(LIBINN)
-	$(LIBLD) $(LDFLAGS) -o $@ $(LOBJECTS) \
-	    $(LIBINN) $(STORAGE_LIBS) $(LIBS) \
+	$(LIBLD) $(LDFLAGS) -o $@ $(LOBJECTS) -L../lib/.libs \
+	    $(LIBINN) $(STORAGE_LIBS) $(LIBS) ../history/his.lo \
+	    ../history/hismethods.lo ../history/hisv6/hisv6.lo \
 	    -rpath $(PATHLIB) -version-info $(LTVERSION)
 
 libstorage.a: $(OBJECTS)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin