Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1584062
 поиск   регистрация   авторизация 
 
Группа :: Работа с файлами
Пакет: xdelta1

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

Патч: xdelta-1.1.3-alt-makefile.patch


diff -upk.orig xdelta-1.1.3.orig/Makefile.am xdelta-1.1.3/Makefile.am
--- xdelta-1.1.3.orig/Makefile.am	2001-06-24 07:30:28 +0000
+++ xdelta-1.1.3/Makefile.am	2006-01-14 23:58:23 +0000
@@ -6,10 +6,7 @@ bin_SCRIPTS	= xdelta-config
 
 xdelta_SOURCES  = xdmain.c getopt.c getopt1.c
 
-xdelta_LDADD    = libxdelta.la				\
-		  $(top_srcdir)/libedsio/libedsio.la	\
-		  $(GLIB_LIBS)				\
-		  -lz
+xdelta_LDADD    = libxdelta.la -lz
 
 include_HEADERS = xdelta.h xd_edsio.h
 noinst_HEADERS  = xdeltapriv.h getopt.h
@@ -17,7 +14,7 @@ noinst_HEADERS  = xdeltapriv.h getopt.h
 lib_LTLIBRARIES = libxdelta.la
 
 libxdelta_la_SOURCES = xdelta.c xdapply.c $(SER_SOURCES)
-libxdelta_la_LIBADD  = $(GLIB_LIBS)
+libxdelta_la_LIBADD  = $(top_srcdir)/libedsio/libedsio.la
 
 EXTRA_DIST = xd.ser $(SER_OUT) xdelta.magic xdelta.prj xdelta.m4	\
 	autogen.sh xdelta.dsp xdelta.dsw stamp-ser xdrsync.c
diff -upk.orig xdelta-1.1.3.orig/configure.in xdelta-1.1.3/configure.in
--- xdelta-1.1.3.orig/configure.in	2001-09-24 06:59:17 +0000
+++ xdelta-1.1.3/configure.in	2006-01-15 00:17:34 +0000
@@ -74,11 +74,6 @@ AC_SUBST(top_srcdir_absolute)
 AM_PATH_GLIB(1.2.8,,
   AC_MSG_ERROR(Test for GLIB failed. Download it from ftp://ftp.gtk.org/pub/gtk/v1.2/))
 
-AC_CHECK_LIB(z, gzsetparams,
-  AC_CHECK_HEADER(zlib.h,,
-    AC_MSG_ERROR(ZLIB headers not found)),
-  AC_MSG_ERROR(ZLIB library not found))
-
 AC_OUTPUT(Makefile
 	  doc/Makefile
           test/Makefile
 
design & coding: Vladimir Lettiev aka crux © 2004-2005