Submitted By: Thomas Trepl Date: 2005-02-12 Initial Package Version: 1.11.19 Upstream Status: Not submitted Origin: Based on Matthew Burgess work for version 1.11.2/1.11.18 Description: Links against system zlib instead of the internal zlib --- cvs-1.11.23.old/src/Makefile.in +++ cvs-1.11.23/src/Makefile.in @@ -82,7 +82,7 @@ version.$(OBJEXT) vers_ts.$(OBJEXT) watch.$(OBJEXT) \ wrapper.$(OBJEXT) zlib.$(OBJEXT) cvs_OBJECTS = $(am_cvs_OBJECTS) -cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a +cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a binSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ @@ -206,7 +206,7 @@ # some namespace hackery going on that maybe shouldn't be. Long term fix is to # try and remove naming ocnflicts and fix Automake to allow particular includes # to be attached only to particular object files. Short term fix is either or. -INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff -I$(top_srcdir)/zlib $(includeopt) +INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff $(includeopt) bin_SCRIPTS = cvsbug # The cvs executable @@ -285,7 +285,7 @@ cvs_LDADD = \ ../diff/libdiff.a \ ../lib/libcvs.a \ - ../zlib/libz.a + -lz # extra clean targets --- cvs-1.11.23.old/src/zlib.c +++ cvs-1.11.23/src/zlib.c @@ -22,7 +22,7 @@ #if defined (SERVER_SUPPORT) || defined (CLIENT_SUPPORT) -#include "zlib.h" +#include /* OS/2 doesn't have EIO. FIXME: this whole notion of turning a different error into EIO strikes me as pretty dubious. */