Submitted By: Matthew Burgess <matthew@linuxfromscratch.org>
Date: 2004-11-12
Initial Package Version: 1.11.2
Upstream Status: Not submitted
Origin: BLFS Dev Post
Description: Links against system zlib instead of the
internal zlib.
$LastChangedBy: igor $
$Date: 2005-10-28 09:20:09 -0500 (Fri, 28 Oct 2005) $
diff -Naur cvs-1.11.18.orig/src/Makefile.in cvs-1.11.18/src/Makefile.in
old
|
new
|
|
86 | 86 | version.$(OBJEXT) vers_ts.$(OBJEXT) watch.$(OBJEXT) \ |
87 | 87 | wrapper.$(OBJEXT) zlib.$(OBJEXT) |
88 | 88 | cvs_OBJECTS = $(am_cvs_OBJECTS) |
89 | | cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a |
| 89 | cvs_DEPENDENCIES = ../diff/libdiff.a ../lib/libcvs.a |
90 | 90 | binSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
91 | 91 | SCRIPTS = $(bin_SCRIPTS) |
92 | 92 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) |
… |
… |
|
199 | 199 | # some namespace hackery going on that maybe shouldn't be. Long term fix is to |
200 | 200 | # try and remove naming ocnflicts and fix Automake to allow particular includes |
201 | 201 | # to be attached only to particular object files. Short term fix is either or. |
202 | | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff -I$(top_srcdir)/zlib $(includeopt) |
| 202 | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff $(includeopt) |
203 | 203 | bin_SCRIPTS = cvsbug |
204 | 204 | |
205 | 205 | # The cvs executable |
… |
… |
|
278 | 278 | cvs_LDADD = \ |
279 | 279 | ../diff/libdiff.a \ |
280 | 280 | ../lib/libcvs.a \ |
281 | | ../zlib/libz.a |
| 281 | -lz |
282 | 282 | |
283 | 283 | |
284 | 284 | # extra clean targets |
diff -Naur cvs-1.11.18.orig/src/zlib.c cvs-1.11.18/src/zlib.c
old
|
new
|
|
22 | 22 | |
23 | 23 | #if defined (SERVER_SUPPORT) || defined (CLIENT_SUPPORT) |
24 | 24 | |
25 | | #include "zlib.h" |
| 25 | #include <zlib.h> |
26 | 26 | |
27 | 27 | /* OS/2 doesn't have EIO. FIXME: this whole notion of turning |
28 | 28 | a different error into EIO strikes me as pretty dubious. */ |